| 1 | table: | |
| 2 | include hyphenation.dic |
| 3 | # a1b |
| 4 | include tables/latinLetterDef8Dots.uti |
| 5 | hyphen - 36 |
| 6 | always bb 1346 |
| 7 | |
| 8 | # break only between a and b |
| 9 | flags: {testmode: hyphenate} |
| 10 | tests: |
| 11 | - - aaaabbbb |
| 12 | - aaaa-bbbb |
| 13 | - - bbbbaa |
| 14 | - bbbbaa |
| 15 | |
| 16 | # if input is braille, also break between a and x because bb is contracted to x |
| 17 | flags: {testmode: bothDirections} |
| 18 | tests: |
| 19 | - - bb |
| 20 | - x |
| 21 | flags: {testmode: hyphenateBraille} |
| 22 | tests: |
| 23 | - - xaaax |
| 24 | - xaaa-x |
| 25 | |
| 26 | # break compound words after the hyphen character |
| 27 | flags: {testmode: hyphenate} |
| 28 | tests: |
| 29 | - - ab-ccc |
| 30 | - a-b-|ccc |