Sentence Break Chart

Unicode Version: 5.1.0

Date: 2008-03-21, 01:51:42 GMT

This page illustrates the application of a particular boundary specifications. 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.

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.

OtherCRLFSepSpLowerUpperOLetterNumericATermSTermCloseSContinueFormat_FEExtend_FE
Other×××××××××××××××
CR÷÷×÷÷÷÷÷÷÷÷÷÷÷÷
LF÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷
Sep÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷
Sp×××××××××××××××
Lower×××××××××××××××
Upper×××××××××××××××
OLetter×××××××××××××××
Numeric×××××××××××××××
ATerm÷×××××÷÷×××××××
STerm÷××××÷÷÷÷××××××
Close×××××××××××××××
SContinue×××××××××××××××
Format_FE×××××××××××××××
Extend_FE×××××××××××××××

Rules

The second 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:

  1. The rules are cast into a more form that is more like regular expressions.
  2. The rules "sot ÷", "÷ eot", and "÷ Any" are added mechanically, and have artificial numbers.
  3. The rules are given decimal numbers, so rules such as 11a are given a number using tenths, such as 11.1.
  4. Any 'treat as' or 'ignore' rules are handled as discussed in Unicode Standard Annex #29, and thus reflected in a transformation of the rules usually not visible here. Where it does show up, the variable CM* or FE* [for either Format or Extend] may appear.
  5. Where a rule has multiple parts (lines), each one is numbered using hundredths, such as 21.01) × BA, 21.02) × HY,... In some cases, the numbering and form of a rule is changed due to 'treat as' rules.

For the original rules, see the UAX.

Sample Strings

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, white 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.   t  h  e     r  e  s  p  .     l  e  a  d  e  r  s     a  r  e  
  15.     .    
  16.   e  t  c  .    
  17.   e  t  c  .    
  18.         
  19.     (    "    G    o    .    "    )         (    H    e         d    i    d    .    )      
  20.     (        G    o    ?        )         (    H    e         d    i    d    .    )      
  21.     U    .    S    .    A    ◌̀  .         i    s      
  22.     U    .    S    .    A    ◌̀  ?         H    e      
  23.     U    .    S    .    A    ◌̀  .      
  24.     3    .    4      
  25.     c    .    d      
  26.     e    t    c    .    )             t    h    e      
  27.     e    t    c    .    )             T    h    e      
  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.     t    h    e         r    e    s    p    .         l    e    a    d    e    r    s         a    r    e      
  33.         .          
  34.     e    t    c    .          
  35.     e    t    c    .          
  36.                   

Access to Copyright and terms of use