Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: source/data/brkitr/line.txt

Issue 858363003: ICU update to 54.1 - step 5 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: ja exemplar charset fix Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/data/brkitr/cjdict.txt ('k') | source/data/brkitr/word.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2002-2013 International Business Machines Corporation and 1 # Copyright (c) 2002-2013 International Business Machines Corporation and
2 # others. All Rights Reserved. 2 # others. All Rights Reserved.
3 # 3 #
4 # file: line.txt 4 # file: line.txt
5 # 5 #
6 # Line Breaking Rules 6 # Line Breaking Rules
7 # Implement default line breaking as defined by 7 # Implement default line breaking as defined by
8 # Unicode Standard Annex #14 Revision 29 for Unicode 6.2 8 # Unicode Standard Annex #14 Revision 29 for Unicode 6.2
9 # http://www.unicode.org/reports/tr14/ 9 # http://www.unicode.org/reports/tr14/
10 # 10 #
11 # TODO: Rule LB 8 remains as it was in Unicode 5.2 11 # TODO: Rule LB 8 remains as it was in Unicode 5.2
12 # This is only because of a limitation of ICU break engine implementatio n, 12 # This is only because of a limitation of ICU break engine implementatio n,
13 # not because the older behavior is desirable. 13 # not because the older behavior is desirable.
14 14
15 # 15 # CHROME: 1. Use line_ja.txt to apply small kana rules in all locales.
16 # Character Classes defined by TR 14. 16 # 2. Adjust CL, OP, and IS to handle 'comma-variants' consistently.
17 #
18 17
19 !!chain; 18 !!chain;
20 !!LBCMNoChain; 19 !!LBCMNoChain;
21 20
22 21
23 !!lookAheadHardBreak; 22 !!lookAheadHardBreak;
24 # 23 #
25 # !!lookAheadHardBreak Described here because it is (as yet) undocumented el sewhere 24 # !!lookAheadHardBreak Described here because it is (as yet) undocumented el sewhere
26 # and only used for the line break rules. 25 # and only used for the line break rules.
27 # 26 #
(...skipping 22 matching lines...) Expand all
50 # 49 #
51 # !!lookAheadHardBreak forces the run time state machine to 50 # !!lookAheadHardBreak forces the run time state machine to
52 # stop immediately when a look ahead rule ( '/' operator) matches, 51 # stop immediately when a look ahead rule ( '/' operator) matches,
53 # and set the match position to that of the look-ahead operator, 52 # and set the match position to that of the look-ahead operator,
54 # no matter what other rules may be in play at the time. 53 # no matter what other rules may be in play at the time.
55 # 54 #
56 # See rule LB 19 for an example. 55 # See rule LB 19 for an example.
57 # 56 #
58 57
59 $AI = [:LineBreak = Ambiguous:]; 58 $AI = [:LineBreak = Ambiguous:];
60 $AL = [:LineBreak = Alphabetic:]; 59 $AL = [[:LineBreak = Alphabetic:] - [\u23B4\u23B5]];
61 $BA = [:LineBreak = Break_After:]; 60 $BA = [:LineBreak = Break_After:];
62 $BB = [:LineBreak = Break_Before:]; 61 $BB = [:LineBreak = Break_Before:];
63 $BK = [:LineBreak = Mandatory_Break:]; 62 $BK = [:LineBreak = Mandatory_Break:];
64 $B2 = [:LineBreak = Break_Both:]; 63 $B2 = [:LineBreak = Break_Both:];
65 $CB = [:LineBreak = Contingent_Break:]; 64 $CB = [:LineBreak = Contingent_Break:];
66 $CJ = [:LineBreak = Conditional_Japanese_Starter:]; 65 $CJ = [:LineBreak = Conditional_Japanese_Starter:];
67 $CL = [:LineBreak = Close_Punctuation:]; 66 $CL = [[:LineBreak = Close_Punctuation:] [\uFE51\uFE10\u23B5]];
68 $CM = [:LineBreak = Combining_Mark:]; 67 $CM = [:LineBreak = Combining_Mark:];
69 $CP = [:LineBreak = Close_Parenthesis:]; 68 $CP = [:LineBreak = Close_Parenthesis:];
70 $CR = [:LineBreak = Carriage_Return:]; 69 $CR = [:LineBreak = Carriage_Return:];
71 $EX = [:LineBreak = Exclamation:]; 70 $EX = [:LineBreak = Exclamation:];
72 $GL = [:LineBreak = Glue:]; 71 $GL = [:LineBreak = Glue:];
73 $HL = [:LineBreak = Hebrew_Letter:]; 72 $HL = [:LineBreak = Hebrew_Letter:];
74 $HY = [:LineBreak = Hyphen:]; 73 $HY = [:LineBreak = Hyphen:];
75 $H2 = [:LineBreak = H2:]; 74 $H2 = [:LineBreak = H2:];
76 $H3 = [:LineBreak = H3:]; 75 $H3 = [:LineBreak = H3:];
77 $ID = [:LineBreak = Ideographic:]; 76 $ID = [[[:LineBreak = Ideographic:] $CJ] - [\uFE51]];
78 $IN = [:LineBreak = Inseperable:]; 77 $IN = [:LineBreak = Inseperable:];
79 $IS = [:LineBreak = Infix_Numeric:]; 78 $IS = [[:LineBreak = Infix_Numeric:] - [\uFE10]];
80 $JL = [:LineBreak = JL:]; 79 $JL = [:LineBreak = JL:];
81 $JV = [:LineBreak = JV:]; 80 $JV = [:LineBreak = JV:];
82 $JT = [:LineBreak = JT:]; 81 $JT = [:LineBreak = JT:];
83 $LF = [:LineBreak = Line_Feed:]; 82 $LF = [:LineBreak = Line_Feed:];
84 $NL = [:LineBreak = Next_Line:]; 83 $NL = [:LineBreak = Next_Line:];
85 $NS = [[:LineBreak = Nonstarter:] $CJ]; 84 $NS = [:LineBreak = Nonstarter:];
86 $NU = [:LineBreak = Numeric:]; 85 $NU = [:LineBreak = Numeric:];
87 $OP = [:LineBreak = Open_Punctuation:]; 86 $OP = [[:LineBreak = Open_Punctuation:] \u23B4];
88 $PO = [:LineBreak = Postfix_Numeric:]; 87 $PO = [:LineBreak = Postfix_Numeric:];
89 $PR = [:LineBreak = Prefix_Numeric:]; 88 $PR = [:LineBreak = Prefix_Numeric:];
90 $QU = [:LineBreak = Quotation:]; 89 $QU = [:LineBreak = Quotation:];
91 $RI = [:LineBreak = Regional_Indicator:]; 90 $RI = [:LineBreak = Regional_Indicator:];
92 $SA = [:LineBreak = Complex_Context:]; 91 $SA = [:LineBreak = Complex_Context:];
93 $SG = [:LineBreak = Surrogate:]; 92 $SG = [:LineBreak = Surrogate:];
94 $SP = [:LineBreak = Space:]; 93 $SP = [:LineBreak = Space:];
95 $SY = [:LineBreak = Break_Symbols:]; 94 $SY = [:LineBreak = Break_Symbols:];
96 $WJ = [:LineBreak = Word_Joiner:]; 95 $WJ = [:LineBreak = Word_Joiner:];
97 $XX = [:LineBreak = Unknown:]; 96 $XX = [:LineBreak = Unknown:];
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 # of context. 664 # of context.
666 # 665 #
667 # It might be slightly more efficient to have specific rules 666 # It might be slightly more efficient to have specific rules
668 # instead of one generic one, but only if we could 667 # instead of one generic one, but only if we could
669 # turn off rule chaining. We don't want to move more 668 # turn off rule chaining. We don't want to move more
670 # than necessary. 669 # than necessary.
671 # 670 #
672 [$CM $OP $QU $CL $CP $B2 $PR $HY $BA $SP $dictionary]+ [^$CM $OP $QU $CL $CP $B2 $PR $HY $BA $dictionary]; 671 [$CM $OP $QU $CL $CP $B2 $PR $HY $BA $SP $dictionary]+ [^$CM $OP $QU $CL $CP $B2 $PR $HY $BA $dictionary];
673 $dictionary $dictionary; 672 $dictionary $dictionary;
674 673
OLDNEW
« no previous file with comments | « source/data/brkitr/cjdict.txt ('k') | source/data/brkitr/word.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698