From 4da98b648497af30de0fcf1a16e649ce18b0564f Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 8 Mar 2004 16:17:05 +0000 Subject: INTEGRATION: CWS i18n09 (1.2.2); FILE MERGED 2003/12/04 23:45:37 khong 1.2.2.3: #i22602# make dot stick on beginning of a word when doing line break 2003/12/04 23:12:37 khong 1.2.2.2: #i21392# change line break rule to match with MS office 2003/12/03 19:32:02 khong 1.2.2.1: #i19716# fix wrong line break on bracket characters --- i18npool/source/breakiterator/data/line.txt | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'i18npool') diff --git a/i18npool/source/breakiterator/data/line.txt b/i18npool/source/breakiterator/data/line.txt index fc8a38567faa..28c4389bb818 100644 --- a/i18npool/source/breakiterator/data/line.txt +++ b/i18npool/source/breakiterator/data/line.txt @@ -94,7 +94,7 @@ $Openings = (($QUcm $SP*)? $OPcm $SP*)*; # # Closings Seqences that follow words, and that should not be separated from them, # Rule LB 8, 11, 15 -$Closings = ($SP*( ($CL ($SP* $NScm)? | $EX | $IS ) $Extend*) | $BAcm | $HYcm | $NScm)*; +$Closings = ($SP*( ($CL ($SP* $NScm)? | $EX ) $Extend*) | $HYcm | $NScm)*; # # Words. Includes mixed Alpha-numerics. @@ -102,15 +102,9 @@ $Closings = ($SP*( ($CL ($SP* $NScm)? | $EX | $IS ) $Extend*) | $BAcm | $HYc # $NumberInterior = $IDcm | ($NUcm | $ALcm | $IS $NUcm)+; $Number = $PR? ($OPcm | $HYcm)? $NumberInterior $CL? $POcm?; # Fancy Number 18 -$Word = (($IDcm | ($ALcm | $NUcm | $EX | $HY | $IS | $SY | $PR)+) ($POcm? | $INcm?)) ; # Alpha-numeric. 16, 17 +$Word = (($IDcm | ($ALcm | $NUcm | $EX | $IS | $OP | $PO | $CL | $SY | $PR)+) $INcm?) ; # Alpha-numeric. 16, 17 $Dashes = (($B2cm $SP*)*); # Dashes 11a - - - - - - $Word15 = ($BBcm* ($Word | $Number | $Dashes)? ($BAcm | $HYcm | $NScm)*) | # Rule 15. Stuff sticks around words. [^[:Cc:] $BK $CR $LF $ZW $SP $GL] $Extend* | # Allow characters that don't meet the [^$BK $CR $LF $ZW $SP $GL ]; # more elaborate definitions for WORD @@ -125,10 +119,6 @@ $GluedWord = ($GLcm | $QUcm)? $Word15 (($GLcm | $QUcm) $Word15)*; # "Glue" wil $Openings $GluedWord $Closings $Endings; # $GluedWord; - - - - # # Reverse Rules. # -- cgit