Unicode Version: 7.0.0
Date: 2013-11-27, 09:54:53 GMT
This page illustrates the application of the boundary specification for Sentences. The material here is informative, not normative.
The first chart shows where breaks would appear between different sample characters or strings. The sample characters are chosen mechanically to represent the different properties used by the specification.
Each cell shows the break-status for the position between the character(s) in its row header and the character(s) in its column header. The × symbol indicates no break, while the ÷ symbol indicated a break. The cells with × are also shaded to make it easier to scan the table. For example, in the cell at the intersection of the row headed by 'CR' and the column headed by 'LF', there is a × symbol, indicating that there is no break between CR and LF.
After the heavy blue line in the table are additional rows, either with different sample characters or for sequences, such as "ALetter MidLetter" in WordBreak. Some column headers may be composed, reflecting 'treat as' or 'ignore' rules.
If your browser handles titles (tool tips), then hovering the mouse over the row header will show a sample character of that type. Hovering over a column header will show the sample character, plus its abbreviated general category and script. Hovering over the intersected cells shows the rule number that produces the break-status. For example, in GraphemeBreakTest, hovering over the cell at the intersection of LVT and T shows ×, with the rule 8.0. Checking below, the rule 8.0 is '( LVT | T) × T', which is the one that applies to that case. Note that a rule is invoked only when no lower-numbered rules have applied.
Other | CR | LF | Sep | Sp | Lower | Upper | OLetter | Numeric | ATerm | STerm | Close | SContinue | Format_FE | Extend_FE | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Other | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
CR | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ |
LF | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ |
Sep | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ |
Sp | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
Lower | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
Upper | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
OLetter | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
Numeric | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
ATerm | ÷ | × | × | × | × | × | ÷ | ÷ | × | × | × | × | × | × | × |
STerm | ÷ | × | × | × | × | ÷ | ÷ | ÷ | ÷ | × | × | × | × | × | × |
Close | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
SContinue | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
Format_FE | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
Extend_FE | × | × | × | × | × | × | × | × | × | × | × | × | × | × | × |
This section shows the rules. They are mechanically modified for programmatic generation of the tables and test code, and thus do not match the UAX rules precisely. In particular:
For the original rules, see the UAX.
0.2 | sot | ÷ | |
---|---|---|---|
0.3 | ÷ | eot | |
3.0 | CR | × | LF |
4.0 | (Sep | CR | LF) | ÷ | |
5.0 | × | [Format Extend] | |
6.0 | ATerm | × | Numeric |
7.0 | Upper ATerm | × | Upper |
8.0 | ATerm Close* Sp* | × | [^ OLetter Upper Lower Sep CR LF STerm ATerm]* Lower |
8.1 | (STerm | ATerm) Close* Sp* | × | (SContinue | STerm | ATerm) |
9.0 | ( STerm | ATerm ) Close* | × | ( Close | Sp | Sep | CR | LF ) |
10.0 | ( STerm | ATerm ) Close* Sp* | × | ( Sp | Sep | CR | LF ) |
11.0 | ( STerm | ATerm ) Close* Sp* (Sep | CR | LF)? | ÷ | |
12.0 | × | Any | |
999.0 | ÷ | Any |
The following samples illustrate the application of the rules. The blue lines indicate possible break points. If your browser supports titles (tool-tips), then positioning the mouse over each character will show its name, while positioning between characters shows the rule number of the rule responsible for the break-status.
1 | ( " G o . " ) ( H e d i d . ) |
---|---|
2 | ( “ G o ? ” ) ( H e d i d . ) |
3 | U . S . A ◌̀ . i s |
4 | U . S . A ◌̀ ? H e |
5 | U . S . A ◌̀ . |
6 | 3 . 4 |
7 | c . d |
8 | e t c . ) ’ t h e |
9 | e t c . ) ’ T h e |
10 | e t c . ) ’ ‘ ( t h e |
11 | e t c . ) ’ ‘ ( T h e |
12 | e t c . ) ’ ◌̈ t h e |
13 | e t c . ) ’ ◌̈ T h e |
14 | e t c . ) ’ ◌̈ T h e |
15 | e t c . ) □ ◌̈ T h e |
16 | t h e r e s p . l e a d e r s a r e |
17 | 字 . 字 |
18 | e t c . 它 |
19 | e t c . 。 |
20 | 字 。 它 |
21 | □ ( □ " □ G □ o □ . □ " □ ) □ □ ( □ H □ e □ □ d □ i □ d □ . □ ) □ □ |
22 | □ ( □ “ □ G □ o □ ? □ ” □ ) □ □ ( □ H □ e □ □ d □ i □ d □ . □ ) □ □ |
23 | □ U □ . □ S □ . □ A □ ◌̀ . □ □ i □ s □ □ |
24 | □ U □ . □ S □ . □ A □ ◌̀ ? □ □ H □ e □ □ |
25 | □ U □ . □ S □ . □ A □ ◌̀ . □ □ |
26 | □ 3 □ . □ 4 □ □ |
27 | □ c □ . □ d □ □ |
28 | □ e □ t □ c □ . □ ) □ ’ □ □ t □ h □ e □ □ |
29 | □ e □ t □ c □ . □ ) □ ’ □ □ T □ h □ e □ □ |
30 | □ e □ t □ c □ . □ ) □ ’ □ □ ‘ □ ( □ t □ h □ e □ □ |
31 | □ e □ t □ c □ . □ ) □ ’ □ □ ‘ □ ( □ T □ h □ e □ □ |
32 | □ e □ t □ c □ . □ ) □ ’ □ □ ◌̈ t □ h □ e □ □ |
33 | □ e □ t □ c □ . □ ) □ ’ □ □ ◌̈ T □ h □ e □ □ |
34 | □ e □ t □ c □ . □ ) □ ’ □ ◌̈ T □ h □ e □ □ |
35 | □ e □ t □ c □ . □ ) □ □ □ ◌̈ □ T □ h □ e □ □ |
36 | □ t □ h □ e □ □ r □ e □ s □ p □ . □ □ l □ e □ a □ d □ e □ r □ s □ □ a □ r □ e □ □ |
37 | □ 字 □ . □ 字 □ □ |
38 | □ e □ t □ c □ . □ 它 □ □ |
39 | □ e □ t □ c □ . □ 。 □ □ |
40 | □ 字 □ 。 □ 它 □ □ |
41 | 🇦 🇧 🇨 |
42 | 🇦 □ 🇧 🇨 |
43 | 🇦 🇧 □ 🇨 |
44 | □ ن |
45 | ن □ |