liblouis-rb 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (517) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +520 -0
  3. data/README.md +100 -0
  4. data/Rakefile +80 -0
  5. data/ext/liblouis/braille_character.c +200 -0
  6. data/ext/liblouis/braille_table.c +198 -0
  7. data/ext/liblouis/braille_text.c +223 -0
  8. data/ext/liblouis/extconf.rb +73 -0
  9. data/ext/liblouis/liblouis.c +168 -0
  10. data/ext/liblouis/liblouis_ext.h +49 -0
  11. data/ext/liblouis/table_source.c +161 -0
  12. data/ext/liblouis/translation.c +443 -0
  13. data/liblouis-rb.gemspec +49 -0
  14. data/spec/liblouis_spec.rb +62 -0
  15. data/test/integration/packaging_test.rb +82 -0
  16. data/test/table_source_cases.rb +9 -0
  17. data/test/test_braille_character.rb +62 -0
  18. data/test/test_braille_table.rb +379 -0
  19. data/test/test_braille_text.rb +30 -0
  20. data/test/test_helper.rb +7 -0
  21. data/test/translation_cases.rb +33 -0
  22. data/vendor/liblouis/COPYING +674 -0
  23. data/vendor/liblouis/COPYING.LESSER +502 -0
  24. data/vendor/liblouis/configure.ac +290 -0
  25. data/vendor/liblouis/liblouis/commonTranslationFunctions.c +95 -0
  26. data/vendor/liblouis/liblouis/compileTranslationTable.c +5515 -0
  27. data/vendor/liblouis/liblouis/internal.h +781 -0
  28. data/vendor/liblouis/liblouis/liblouis.h.in +514 -0
  29. data/vendor/liblouis/liblouis/logging.c +233 -0
  30. data/vendor/liblouis/liblouis/lou_backTranslateString.c +1855 -0
  31. data/vendor/liblouis/liblouis/lou_translateString.c +4177 -0
  32. data/vendor/liblouis/liblouis/maketable.c +463 -0
  33. data/vendor/liblouis/liblouis/metadata.c +1258 -0
  34. data/vendor/liblouis/liblouis/pattern.c +1632 -0
  35. data/vendor/liblouis/liblouis/utils.c +448 -0
  36. data/vendor/liblouis/tables/Es-Es-G0.utb +248 -0
  37. data/vendor/liblouis/tables/IPA-unicode-range.uti +200 -0
  38. data/vendor/liblouis/tables/IPA.utb +164 -0
  39. data/vendor/liblouis/tables/Lv-Lv-g1.utb +509 -0
  40. data/vendor/liblouis/tables/Makefile.am +503 -0
  41. data/vendor/liblouis/tables/Pl-Pl-g1.utb +312 -0
  42. data/vendor/liblouis/tables/README +6 -0
  43. data/vendor/liblouis/tables/afr-za-g1.ctb +63 -0
  44. data/vendor/liblouis/tables/afr-za-g2.ctb +1050 -0
  45. data/vendor/liblouis/tables/akk-borger.utb +997 -0
  46. data/vendor/liblouis/tables/akk.utb +1002 -0
  47. data/vendor/liblouis/tables/ancient-languages-borger.utb +114 -0
  48. data/vendor/liblouis/tables/ancient-languages-us.utb +114 -0
  49. data/vendor/liblouis/tables/ar-ar-comp8.utb +293 -0
  50. data/vendor/liblouis/tables/ar-ar-g1-core.uti +291 -0
  51. data/vendor/liblouis/tables/ar-ar-g1.utb +26 -0
  52. data/vendor/liblouis/tables/ar-ar-g2.ctb +447 -0
  53. data/vendor/liblouis/tables/ar-ar-math.uti +501 -0
  54. data/vendor/liblouis/tables/ar.tbl +17 -0
  55. data/vendor/liblouis/tables/as-in-g1.utb +27 -0
  56. data/vendor/liblouis/tables/as.tbl +18 -0
  57. data/vendor/liblouis/tables/aw-in-g1.utb +27 -0
  58. data/vendor/liblouis/tables/awa.tbl +18 -0
  59. data/vendor/liblouis/tables/ba.utb +64 -0
  60. data/vendor/liblouis/tables/be-in-g1.utb +27 -0
  61. data/vendor/liblouis/tables/bel-comp.utb +42 -0
  62. data/vendor/liblouis/tables/bel-detailed.utb +32 -0
  63. data/vendor/liblouis/tables/bel.utb +61 -0
  64. data/vendor/liblouis/tables/bengali.cti +238 -0
  65. data/vendor/liblouis/tables/bg.ctb +215 -0
  66. data/vendor/liblouis/tables/bg.dis +84 -0
  67. data/vendor/liblouis/tables/bg.tbl +21 -0
  68. data/vendor/liblouis/tables/bg.utb +454 -0
  69. data/vendor/liblouis/tables/bh.ctb +24 -0
  70. data/vendor/liblouis/tables/bh.tbl +17 -0
  71. data/vendor/liblouis/tables/bn.tbl +18 -0
  72. data/vendor/liblouis/tables/bo.ctb +184 -0
  73. data/vendor/liblouis/tables/bo.tbl +21 -0
  74. data/vendor/liblouis/tables/boxes.ctb +162 -0
  75. data/vendor/liblouis/tables/br-in-g1.utb +27 -0
  76. data/vendor/liblouis/tables/bra.tbl +18 -0
  77. data/vendor/liblouis/tables/braille-patterns.cti +287 -0
  78. data/vendor/liblouis/tables/ca-chardefs.cti +225 -0
  79. data/vendor/liblouis/tables/ca-g1.ctb +46 -0
  80. data/vendor/liblouis/tables/ca.tbl +18 -0
  81. data/vendor/liblouis/tables/chr-us-g1.ctb +180 -0
  82. data/vendor/liblouis/tables/ckb-chardefs.cti +219 -0
  83. data/vendor/liblouis/tables/ckb-g1.ctb +31 -0
  84. data/vendor/liblouis/tables/ckb-translation.cti +131 -0
  85. data/vendor/liblouis/tables/ckb.tbl +18 -0
  86. data/vendor/liblouis/tables/compress.cti +44 -0
  87. data/vendor/liblouis/tables/controlchars.cti +27 -0
  88. data/vendor/liblouis/tables/cop-eg-comp8.utb +255 -0
  89. data/vendor/liblouis/tables/cop.utb +231 -0
  90. data/vendor/liblouis/tables/corrections.cti +47 -0
  91. data/vendor/liblouis/tables/countries.cti +263 -0
  92. data/vendor/liblouis/tables/critical-apparatus.uti +54 -0
  93. data/vendor/liblouis/tables/cs-chardefs.cti +385 -0
  94. data/vendor/liblouis/tables/cs-comp8.utb +405 -0
  95. data/vendor/liblouis/tables/cs-g1.ctb +37 -0
  96. data/vendor/liblouis/tables/cs-translation.cti +63 -0
  97. data/vendor/liblouis/tables/cs.tbl +20 -0
  98. data/vendor/liblouis/tables/cuneiform-transliterated-compact.utb +432 -0
  99. data/vendor/liblouis/tables/cuneiform-transliterated.utb +160 -0
  100. data/vendor/liblouis/tables/cy-cy-g1.utb +487 -0
  101. data/vendor/liblouis/tables/cy-cy-g2.ctb +199 -0
  102. data/vendor/liblouis/tables/cy.tbl +19 -0
  103. data/vendor/liblouis/tables/da-dk-6miscChars.cti +385 -0
  104. data/vendor/liblouis/tables/da-dk-6miscChars_1993.cti +412 -0
  105. data/vendor/liblouis/tables/da-dk-8miscChars.cti +90 -0
  106. data/vendor/liblouis/tables/da-dk-8miscChars_1993.cti +102 -0
  107. data/vendor/liblouis/tables/da-dk-g08.ctb +290 -0
  108. data/vendor/liblouis/tables/da-dk-g08_1993.ctb +331 -0
  109. data/vendor/liblouis/tables/da-dk-g16-lit_1993.ctb +294 -0
  110. data/vendor/liblouis/tables/da-dk-g16.ctb +289 -0
  111. data/vendor/liblouis/tables/da-dk-g16_1993.ctb +305 -0
  112. data/vendor/liblouis/tables/da-dk-g18.ctb +545 -0
  113. data/vendor/liblouis/tables/da-dk-g18_1993.ctb +563 -0
  114. data/vendor/liblouis/tables/da-dk-g2.dic +7439 -0
  115. data/vendor/liblouis/tables/da-dk-g26-lit_1993.ctb +898 -0
  116. data/vendor/liblouis/tables/da-dk-g26.ctb +1345 -0
  117. data/vendor/liblouis/tables/da-dk-g26_1993.ctb +1127 -0
  118. data/vendor/liblouis/tables/da-dk-g26l-lit_1993.ctb +588 -0
  119. data/vendor/liblouis/tables/da-dk-g26l_1993.ctb +604 -0
  120. data/vendor/liblouis/tables/da-dk-g28.ctb +2426 -0
  121. data/vendor/liblouis/tables/da-dk-g28_1993.ctb +2063 -0
  122. data/vendor/liblouis/tables/da-dk-g28l_1993.ctb +1594 -0
  123. data/vendor/liblouis/tables/da-dk-octobraille.dis +316 -0
  124. data/vendor/liblouis/tables/da-dk-octobraille_1993.dis +313 -0
  125. data/vendor/liblouis/tables/de-accents-detailed.cti +214 -0
  126. data/vendor/liblouis/tables/de-accents.cti +214 -0
  127. data/vendor/liblouis/tables/de-chardefs6.cti +289 -0
  128. data/vendor/liblouis/tables/de-chardefs8.cti +278 -0
  129. data/vendor/liblouis/tables/de-chess.ctb +37 -0
  130. data/vendor/liblouis/tables/de-comp6.utb +226 -0
  131. data/vendor/liblouis/tables/de-de-comp8.ctb +492 -0
  132. data/vendor/liblouis/tables/de-de.dis +331 -0
  133. data/vendor/liblouis/tables/de-eurobrl6.dis +101 -0
  134. data/vendor/liblouis/tables/de-eurobrl6u.dis +96 -0
  135. data/vendor/liblouis/tables/de-g0-core.uti +732 -0
  136. data/vendor/liblouis/tables/de-g0-detailed.utb +84 -0
  137. data/vendor/liblouis/tables/de-g0.utb +57 -0
  138. data/vendor/liblouis/tables/de-g1-core-patterns.dic +4863 -0
  139. data/vendor/liblouis/tables/de-g1-core.cti +67 -0
  140. data/vendor/liblouis/tables/de-g1-detailed.ctb +79 -0
  141. data/vendor/liblouis/tables/de-g1.ctb +54 -0
  142. data/vendor/liblouis/tables/de-g2-core-patterns.dic +26711 -0
  143. data/vendor/liblouis/tables/de-g2-core.cti +607 -0
  144. data/vendor/liblouis/tables/de-g2-detailed.ctb +60 -0
  145. data/vendor/liblouis/tables/de-g2.ctb +57 -0
  146. data/vendor/liblouis/tables/devanagari.cti +325 -0
  147. data/vendor/liblouis/tables/digits6Dots.uti +30 -0
  148. data/vendor/liblouis/tables/digits6DotsPlusDot6.uti +30 -0
  149. data/vendor/liblouis/tables/digits8Dots.uti +30 -0
  150. data/vendor/liblouis/tables/dra.ctb +23 -0
  151. data/vendor/liblouis/tables/dra.tbl +21 -0
  152. data/vendor/liblouis/tables/el.ctb +775 -0
  153. data/vendor/liblouis/tables/en-GB-g2.ctb +829 -0
  154. data/vendor/liblouis/tables/en-chardefs.cti +193 -0
  155. data/vendor/liblouis/tables/en-chess.ctb +37 -0
  156. data/vendor/liblouis/tables/en-g3-patterns.dic +11194 -0
  157. data/vendor/liblouis/tables/en-g3.ctb +2261 -0
  158. data/vendor/liblouis/tables/en-gb-comp8.ctb +282 -0
  159. data/vendor/liblouis/tables/en-gb-g1.utb +527 -0
  160. data/vendor/liblouis/tables/en-in-g1.ctb +162 -0
  161. data/vendor/liblouis/tables/en-nabcc.utb +166 -0
  162. data/vendor/liblouis/tables/en-nz-g1.utb +65 -0
  163. data/vendor/liblouis/tables/en-nz-g2.ctb +46 -0
  164. data/vendor/liblouis/tables/en-ueb-chardefs.uti +938 -0
  165. data/vendor/liblouis/tables/en-ueb-g1.ctb +167 -0
  166. data/vendor/liblouis/tables/en-ueb-g2.ctb +3925 -0
  167. data/vendor/liblouis/tables/en-ueb-math.ctb +71 -0
  168. data/vendor/liblouis/tables/en-us-brf.dis +102 -0
  169. data/vendor/liblouis/tables/en-us-comp6.ctb +149 -0
  170. data/vendor/liblouis/tables/en-us-comp8-ext.utb +626 -0
  171. data/vendor/liblouis/tables/en-us-comp8.ctb +62 -0
  172. data/vendor/liblouis/tables/en-us-compbrl.uti +69 -0
  173. data/vendor/liblouis/tables/en-us-emphasis.uti +45 -0
  174. data/vendor/liblouis/tables/en-us-g1.ctb +199 -0
  175. data/vendor/liblouis/tables/en-us-g2.ctb +1081 -0
  176. data/vendor/liblouis/tables/en-us-interline.ctb +1126 -0
  177. data/vendor/liblouis/tables/en-us-mathtext.ctb +880 -0
  178. data/vendor/liblouis/tables/en_CA.ctb +195 -0
  179. data/vendor/liblouis/tables/en_CA.tbl +21 -0
  180. data/vendor/liblouis/tables/en_GB.tbl +26 -0
  181. data/vendor/liblouis/tables/en_US-comp8-ext.tbl +15 -0
  182. data/vendor/liblouis/tables/en_US.tbl +26 -0
  183. data/vendor/liblouis/tables/eo-g1-x-system.ctb +85 -0
  184. data/vendor/liblouis/tables/eo-g1.ctb +165 -0
  185. data/vendor/liblouis/tables/eo.tbl +14 -0
  186. data/vendor/liblouis/tables/es-chardefs.cti +206 -0
  187. data/vendor/liblouis/tables/es-g1.ctb +36 -0
  188. data/vendor/liblouis/tables/es-g2.ctb +955 -0
  189. data/vendor/liblouis/tables/es-new.dis +284 -0
  190. data/vendor/liblouis/tables/es-no.utb +79 -0
  191. data/vendor/liblouis/tables/es-old.dis +284 -0
  192. data/vendor/liblouis/tables/es.tbl +19 -0
  193. data/vendor/liblouis/tables/et-6dot.utb +269 -0
  194. data/vendor/liblouis/tables/et-g0.utb +139 -0
  195. data/vendor/liblouis/tables/ethio-g1.ctb +335 -0
  196. data/vendor/liblouis/tables/eurodefs.cti +107 -0
  197. data/vendor/liblouis/tables/fa-ir-comp8.ctb +250 -0
  198. data/vendor/liblouis/tables/fa-ir-g1.utb +311 -0
  199. data/vendor/liblouis/tables/fi-fi-8dot.ctb +278 -0
  200. data/vendor/liblouis/tables/fi.utb +354 -0
  201. data/vendor/liblouis/tables/fil-g2.ctb +491 -0
  202. data/vendor/liblouis/tables/fr-bfu-comp6-puncs-math.uti +351 -0
  203. data/vendor/liblouis/tables/fr-bfu-comp6.utb +238 -0
  204. data/vendor/liblouis/tables/fr-bfu-comp68.cti +251 -0
  205. data/vendor/liblouis/tables/fr-bfu-comp8.utb +323 -0
  206. data/vendor/liblouis/tables/fr-bfu-g2.ctb +4644 -0
  207. data/vendor/liblouis/tables/ga-g1.utb +95 -0
  208. data/vendor/liblouis/tables/ga-g2.ctb +231 -0
  209. data/vendor/liblouis/tables/gd.ctb +123 -0
  210. data/vendor/liblouis/tables/gd.tbl +21 -0
  211. data/vendor/liblouis/tables/gez.tbl +21 -0
  212. data/vendor/liblouis/tables/gon.ctb +25 -0
  213. data/vendor/liblouis/tables/gon.tbl +17 -0
  214. data/vendor/liblouis/tables/gr-pl-comp8.uti +256 -0
  215. data/vendor/liblouis/tables/grc-international-common.uti +104 -0
  216. data/vendor/liblouis/tables/grc-international-composed.uti +268 -0
  217. data/vendor/liblouis/tables/grc-international-decomposed.uti +268 -0
  218. data/vendor/liblouis/tables/grc-international-en-composed.utb +54 -0
  219. data/vendor/liblouis/tables/grc-international-en.utb +206 -0
  220. data/vendor/liblouis/tables/grc-international-es.utb +228 -0
  221. data/vendor/liblouis/tables/gu-in-g1.utb +27 -0
  222. data/vendor/liblouis/tables/gu.tbl +18 -0
  223. data/vendor/liblouis/tables/gujarati.cti +221 -0
  224. data/vendor/liblouis/tables/gurumuki.cti +393 -0
  225. data/vendor/liblouis/tables/haw-us-g1.ctb +54 -0
  226. data/vendor/liblouis/tables/hbo-cantillated-rules.uti +71 -0
  227. data/vendor/liblouis/tables/hbo-cantillated.utb +109 -0
  228. data/vendor/liblouis/tables/hbo-common-rules.uti +152 -0
  229. data/vendor/liblouis/tables/hbo-ihbc-rules.uti +58 -0
  230. data/vendor/liblouis/tables/hbo-slim-rules.uti +68 -0
  231. data/vendor/liblouis/tables/hbo-slim.utb +100 -0
  232. data/vendor/liblouis/tables/hbo.utb +107 -0
  233. data/vendor/liblouis/tables/he-IL-comp8.utb +464 -0
  234. data/vendor/liblouis/tables/he-IL.utb +406 -0
  235. data/vendor/liblouis/tables/he-common-consonants.uti +102 -0
  236. data/vendor/liblouis/tables/he-common-vowels-ihbc.uti +161 -0
  237. data/vendor/liblouis/tables/hi-in-g1.utb +27 -0
  238. data/vendor/liblouis/tables/hi.tbl +18 -0
  239. data/vendor/liblouis/tables/hr-chardefs.cti +278 -0
  240. data/vendor/liblouis/tables/hr-comp8.tbl +21 -0
  241. data/vendor/liblouis/tables/hr-comp8.utb +239 -0
  242. data/vendor/liblouis/tables/hr-digits.uti +40 -0
  243. data/vendor/liblouis/tables/hr-g1.ctb +36 -0
  244. data/vendor/liblouis/tables/hr-g1.tbl +9 -0
  245. data/vendor/liblouis/tables/hr-translation.cti +364 -0
  246. data/vendor/liblouis/tables/ht-frenchcompatibility.uti +61 -0
  247. data/vendor/liblouis/tables/ht-g1.utb +114 -0
  248. data/vendor/liblouis/tables/hu-backtranslate-correction.dis +38 -0
  249. data/vendor/liblouis/tables/hu-backtranslate-word-corrections.cti +4293 -0
  250. data/vendor/liblouis/tables/hu-chardefs.cti +298 -0
  251. data/vendor/liblouis/tables/hu-exceptionwords.cti +3204 -0
  252. data/vendor/liblouis/tables/hu-hu-comp8.ctb +183 -0
  253. data/vendor/liblouis/tables/hu-hu-g1.ctb +129 -0
  254. data/vendor/liblouis/tables/hu-hu-g1_braille_input.cti +486 -0
  255. data/vendor/liblouis/tables/hu-hu-g2.ctb +270 -0
  256. data/vendor/liblouis/tables/hu-hu-g2_exceptions.cti +1164 -0
  257. data/vendor/liblouis/tables/hy.ctb +121 -0
  258. data/vendor/liblouis/tables/hy.tbl +21 -0
  259. data/vendor/liblouis/tables/hyph_cs_CZ.dic +3637 -0
  260. data/vendor/liblouis/tables/hyph_da_DK.dic +8896 -0
  261. data/vendor/liblouis/tables/hyph_de_DE.dic +5799 -0
  262. data/vendor/liblouis/tables/hyph_en_US.dic +5537 -0
  263. data/vendor/liblouis/tables/hyph_eo.dic +1024 -0
  264. data/vendor/liblouis/tables/hyph_es_ES.dic +877 -0
  265. data/vendor/liblouis/tables/hyph_fr_FR.dic +1067 -0
  266. data/vendor/liblouis/tables/hyph_hu_HU.dic +98519 -0
  267. data/vendor/liblouis/tables/hyph_it_IT.dic +410 -0
  268. data/vendor/liblouis/tables/hyph_nb_NO.dic +27142 -0
  269. data/vendor/liblouis/tables/hyph_nl_NL.dic +12725 -0
  270. data/vendor/liblouis/tables/hyph_nn_NO.dic +27142 -0
  271. data/vendor/liblouis/tables/hyph_pl_PL.dic +4074 -0
  272. data/vendor/liblouis/tables/hyph_pt_PT.dic +308 -0
  273. data/vendor/liblouis/tables/hyph_ru.dic +6480 -0
  274. data/vendor/liblouis/tables/hyph_sv_SE.dic +4697 -0
  275. data/vendor/liblouis/tables/is-chardefs6.cti +170 -0
  276. data/vendor/liblouis/tables/is-chardefs8.cti +293 -0
  277. data/vendor/liblouis/tables/is.ctb +157 -0
  278. data/vendor/liblouis/tables/is.tbl +18 -0
  279. data/vendor/liblouis/tables/it-it-comp6.utb +404 -0
  280. data/vendor/liblouis/tables/it-it-comp8.utb +663 -0
  281. data/vendor/liblouis/tables/iu-ca-g1.ctb +236 -0
  282. data/vendor/liblouis/tables/ja-kantenji-ucs2.utb +11448 -0
  283. data/vendor/liblouis/tables/ja-kantenji.utb +53 -0
  284. data/vendor/liblouis/tables/ja-rokutenkanji.utb +8710 -0
  285. data/vendor/liblouis/tables/ka-in-g1.utb +27 -0
  286. data/vendor/liblouis/tables/ka.utb +128 -0
  287. data/vendor/liblouis/tables/kannada.cti +282 -0
  288. data/vendor/liblouis/tables/kh-in-g1.utb +26 -0
  289. data/vendor/liblouis/tables/kha.tbl +18 -0
  290. data/vendor/liblouis/tables/kk.utb +77 -0
  291. data/vendor/liblouis/tables/km-g1.utb +412 -0
  292. data/vendor/liblouis/tables/kmr.tbl +108 -0
  293. data/vendor/liblouis/tables/kn.tbl +18 -0
  294. data/vendor/liblouis/tables/ko-2006-g1.ctb +49 -0
  295. data/vendor/liblouis/tables/ko-2006-g2.ctb +53 -0
  296. data/vendor/liblouis/tables/ko-2006.cti +190 -0
  297. data/vendor/liblouis/tables/ko-chars.cti +15140 -0
  298. data/vendor/liblouis/tables/ko-g1-rules.cti +634 -0
  299. data/vendor/liblouis/tables/ko-g1.ctb +48 -0
  300. data/vendor/liblouis/tables/ko-g2-rules.cti +9263 -0
  301. data/vendor/liblouis/tables/ko-g2.ctb +52 -0
  302. data/vendor/liblouis/tables/ko.cti +223 -0
  303. data/vendor/liblouis/tables/kok.ctb +24 -0
  304. data/vendor/liblouis/tables/kok.tbl +17 -0
  305. data/vendor/liblouis/tables/kru.ctb +24 -0
  306. data/vendor/liblouis/tables/kru.tbl +17 -0
  307. data/vendor/liblouis/tables/ks-in-g1.utb +27 -0
  308. data/vendor/liblouis/tables/latinLetterDef6Dots.uti +78 -0
  309. data/vendor/liblouis/tables/latinLetterDef8Dots.uti +75 -0
  310. data/vendor/liblouis/tables/latinLowercase.uti +389 -0
  311. data/vendor/liblouis/tables/latinUppercaseComp6.uti +78 -0
  312. data/vendor/liblouis/tables/lg-ug-g1.utb +60 -0
  313. data/vendor/liblouis/tables/litdigits6Dots.uti +30 -0
  314. data/vendor/liblouis/tables/litdigits6DotsPlusDot6.uti +30 -0
  315. data/vendor/liblouis/tables/lo-g1.utb +3127 -0
  316. data/vendor/liblouis/tables/loweredDigits6Dots.uti +30 -0
  317. data/vendor/liblouis/tables/loweredDigits8Dots.uti +30 -0
  318. data/vendor/liblouis/tables/lt-6dot.utb +308 -0
  319. data/vendor/liblouis/tables/lt-8dot.utb +281 -0
  320. data/vendor/liblouis/tables/lt.ctb +313 -0
  321. data/vendor/liblouis/tables/lv.tbl +22 -0
  322. data/vendor/liblouis/tables/maketablelist.sh +52 -0
  323. data/vendor/liblouis/tables/malayalam.cti +674 -0
  324. data/vendor/liblouis/tables/mao-nz-g1.ctb +65 -0
  325. data/vendor/liblouis/tables/marburg_single_cell_defs.cti +66 -0
  326. data/vendor/liblouis/tables/marburg_unicode_defs.cti +297 -0
  327. data/vendor/liblouis/tables/mk-g1.utb +240 -0
  328. data/vendor/liblouis/tables/ml-in-g1.utb +27 -0
  329. data/vendor/liblouis/tables/ml.tbl +21 -0
  330. data/vendor/liblouis/tables/mn-MN-common.cti +110 -0
  331. data/vendor/liblouis/tables/mn-MN-g1.utb +52 -0
  332. data/vendor/liblouis/tables/mn-MN-g2.ctb +50 -0
  333. data/vendor/liblouis/tables/mn-in-g1.utb +27 -0
  334. data/vendor/liblouis/tables/mni.tbl +18 -0
  335. data/vendor/liblouis/tables/mr-in-g1.utb +27 -0
  336. data/vendor/liblouis/tables/mr.tbl +18 -0
  337. data/vendor/liblouis/tables/ms-my-g2.ctb +4897 -0
  338. data/vendor/liblouis/tables/mt.ctb +114 -0
  339. data/vendor/liblouis/tables/mt.tbl +21 -0
  340. data/vendor/liblouis/tables/mun.ctb +24 -0
  341. data/vendor/liblouis/tables/mun.tbl +17 -0
  342. data/vendor/liblouis/tables/mwr.ctb +24 -0
  343. data/vendor/liblouis/tables/mwr.tbl +17 -0
  344. data/vendor/liblouis/tables/my-g1.utb +771 -0
  345. data/vendor/liblouis/tables/my-g2.ctb +3805 -0
  346. data/vendor/liblouis/tables/ne.ctb +22 -0
  347. data/vendor/liblouis/tables/ne.tbl +18 -0
  348. data/vendor/liblouis/tables/nemethdefs.cti +382 -0
  349. data/vendor/liblouis/tables/nl-BE.dis +532 -0
  350. data/vendor/liblouis/tables/nl-NL-g0.utb.in +646 -0
  351. data/vendor/liblouis/tables/nl-chardefs.uti.in +455 -0
  352. data/vendor/liblouis/tables/nl-comp8.utb +411 -0
  353. data/vendor/liblouis/tables/nl-print.dis +551 -0
  354. data/vendor/liblouis/tables/nl-unicode.dis +540 -0
  355. data/vendor/liblouis/tables/no-no-8dot-fallback-6dot-g0.utb +59 -0
  356. data/vendor/liblouis/tables/no-no-8dot.utb +629 -0
  357. data/vendor/liblouis/tables/no-no-braillo-047-01.dis +247 -0
  358. data/vendor/liblouis/tables/no-no-chardefs6.uti +305 -0
  359. data/vendor/liblouis/tables/no-no-comp8.ctb +323 -0
  360. data/vendor/liblouis/tables/no-no-cyrillic6dot.uti +95 -0
  361. data/vendor/liblouis/tables/no-no-g0.utb +320 -0
  362. data/vendor/liblouis/tables/no-no-g1.ctb +272 -0
  363. data/vendor/liblouis/tables/no-no-g2.ctb +737 -0
  364. data/vendor/liblouis/tables/no-no-g3.ctb +3597 -0
  365. data/vendor/liblouis/tables/no-no-generic.ctb +295 -0
  366. data/vendor/liblouis/tables/no-no-generic.dis +295 -0
  367. data/vendor/liblouis/tables/no-no-latinLetterDef6Dots_diacritics.uti +852 -0
  368. data/vendor/liblouis/tables/no-no.dis +291 -0
  369. data/vendor/liblouis/tables/np-in-g1.utb +27 -0
  370. data/vendor/liblouis/tables/nso-za-g1.utb +38 -0
  371. data/vendor/liblouis/tables/nso-za-g2.ctb +38 -0
  372. data/vendor/liblouis/tables/ny-mw.utb +70 -0
  373. data/vendor/liblouis/tables/or-in-g1.utb +27 -0
  374. data/vendor/liblouis/tables/or.tbl +18 -0
  375. data/vendor/liblouis/tables/oriya.cti +238 -0
  376. data/vendor/liblouis/tables/ovd-6g0.utb +64 -0
  377. data/vendor/liblouis/tables/ovd-8g0.utb +81 -0
  378. data/vendor/liblouis/tables/pa.tbl +18 -0
  379. data/vendor/liblouis/tables/pi.ctb +24 -0
  380. data/vendor/liblouis/tables/pi.tbl +17 -0
  381. data/vendor/liblouis/tables/pl-pl-comp8.ctb +658 -0
  382. data/vendor/liblouis/tables/pl.tbl +12 -0
  383. data/vendor/liblouis/tables/printables.cti +70 -0
  384. data/vendor/liblouis/tables/pt-comp6.utb +299 -0
  385. data/vendor/liblouis/tables/pt-pt-comp8.ctb +395 -0
  386. data/vendor/liblouis/tables/pt-pt-g1.utb +1312 -0
  387. data/vendor/liblouis/tables/pt-pt-g2.ctb +874 -0
  388. data/vendor/liblouis/tables/pt.tbl +20 -0
  389. data/vendor/liblouis/tables/pu-in-g1.utb +42 -0
  390. data/vendor/liblouis/tables/quotation-marks.uti +30 -0
  391. data/vendor/liblouis/tables/ro-g0.utb +85 -0
  392. data/vendor/liblouis/tables/ro.ctb +126 -0
  393. data/vendor/liblouis/tables/ro.tbl +21 -0
  394. data/vendor/liblouis/tables/ru-brf.dis +116 -0
  395. data/vendor/liblouis/tables/ru-comp6.utb +258 -0
  396. data/vendor/liblouis/tables/ru-comp8.utb +740 -0
  397. data/vendor/liblouis/tables/ru-letters.dis +145 -0
  398. data/vendor/liblouis/tables/ru-litbrl-detailed.utb +77 -0
  399. data/vendor/liblouis/tables/ru-litbrl.ctb +857 -0
  400. data/vendor/liblouis/tables/ru-math.uti +395 -0
  401. data/vendor/liblouis/tables/ru-ru-g1.ctb +804 -0
  402. data/vendor/liblouis/tables/ru-unicode.dis +121 -0
  403. data/vendor/liblouis/tables/rw-rw-g1.utb +133 -0
  404. data/vendor/liblouis/tables/sa-in-g1.utb +27 -0
  405. data/vendor/liblouis/tables/sa.tbl +18 -0
  406. data/vendor/liblouis/tables/sah.utb +72 -0
  407. data/vendor/liblouis/tables/sd.tbl +18 -0
  408. data/vendor/liblouis/tables/se-se.ctb +246 -0
  409. data/vendor/liblouis/tables/se-se.dis +334 -0
  410. data/vendor/liblouis/tables/si-in-g1.utb +27 -0
  411. data/vendor/liblouis/tables/sin.cti +213 -0
  412. data/vendor/liblouis/tables/sin.utb +35 -0
  413. data/vendor/liblouis/tables/sk-g1.ctb +1019 -0
  414. data/vendor/liblouis/tables/sk-sk-g1.utb +206 -0
  415. data/vendor/liblouis/tables/sk-sk.utb +112 -0
  416. data/vendor/liblouis/tables/sl-si-comp8.ctb +204 -0
  417. data/vendor/liblouis/tables/sl-si-g1.utb +471 -0
  418. data/vendor/liblouis/tables/sl.tbl +20 -0
  419. data/vendor/liblouis/tables/smi-6g0.utb +64 -0
  420. data/vendor/liblouis/tables/smi-8g0.utb +61 -0
  421. data/vendor/liblouis/tables/sot-za-g1.ctb +72 -0
  422. data/vendor/liblouis/tables/sot-za-g2.ctb +244 -0
  423. data/vendor/liblouis/tables/spaces.uti +62 -0
  424. data/vendor/liblouis/tables/sr-Cyrl.ctb +59 -0
  425. data/vendor/liblouis/tables/sr-common.cti +161 -0
  426. data/vendor/liblouis/tables/sr-cyrletters.cti +92 -0
  427. data/vendor/liblouis/tables/sr-g1.ctb +57 -0
  428. data/vendor/liblouis/tables/sr-latletters.cti +45 -0
  429. data/vendor/liblouis/tables/sv-1989.ctb +241 -0
  430. data/vendor/liblouis/tables/sv-1996.ctb +180 -0
  431. data/vendor/liblouis/tables/sv-6common.uti +1199 -0
  432. data/vendor/liblouis/tables/sv-6g0d.utb +508 -0
  433. data/vendor/liblouis/tables/sv-6g0p.utb +61 -0
  434. data/vendor/liblouis/tables/sv-6g1.uti +106 -0
  435. data/vendor/liblouis/tables/sv-6g1d.ctb +57 -0
  436. data/vendor/liblouis/tables/sv-6g2.uti +254 -0
  437. data/vendor/liblouis/tables/sv-6g2d.ctb +57 -0
  438. data/vendor/liblouis/tables/sv-8g0d.utb +495 -0
  439. data/vendor/liblouis/tables/sv-8g0n.utb +1236 -0
  440. data/vendor/liblouis/tables/sv-8g1.uti +199 -0
  441. data/vendor/liblouis/tables/sv-8g1d.ctb +73 -0
  442. data/vendor/liblouis/tables/sv-8g1n.ctb +73 -0
  443. data/vendor/liblouis/tables/sv-8g2.uti +486 -0
  444. data/vendor/liblouis/tables/sv-8g2d.ctb +73 -0
  445. data/vendor/liblouis/tables/sv-8g2n.ctb +73 -0
  446. data/vendor/liblouis/tables/sv-g0.utb +65 -0
  447. data/vendor/liblouis/tables/sv-g1.ctb +57 -0
  448. data/vendor/liblouis/tables/sv-g2.ctb +57 -0
  449. data/vendor/liblouis/tables/sv-phon.uti +241 -0
  450. data/vendor/liblouis/tables/sw-ke-g1-2.ctb +90 -0
  451. data/vendor/liblouis/tables/sw-ke-g1-3.ctb +109 -0
  452. data/vendor/liblouis/tables/sw-ke-g1-4.ctb +107 -0
  453. data/vendor/liblouis/tables/sw-ke-g1-5.ctb +73 -0
  454. data/vendor/liblouis/tables/sw-ke-g1.utb +278 -0
  455. data/vendor/liblouis/tables/sw-ke-g2.ctb +276 -0
  456. data/vendor/liblouis/tables/syc.utb +195 -0
  457. data/vendor/liblouis/tables/ta-ta-g1.ctb +167 -0
  458. data/vendor/liblouis/tables/ta.ctb +24 -0
  459. data/vendor/liblouis/tables/ta.tbl +21 -0
  460. data/vendor/liblouis/tables/tamil.cti +86 -0
  461. data/vendor/liblouis/tables/te-in-g1.utb +27 -0
  462. data/vendor/liblouis/tables/te.tbl +18 -0
  463. data/vendor/liblouis/tables/telugu.cti +239 -0
  464. data/vendor/liblouis/tables/text_nabcc.dis +426 -0
  465. data/vendor/liblouis/tables/th-comp8-backward.utb +226 -0
  466. data/vendor/liblouis/tables/th-g0.utb +177 -0
  467. data/vendor/liblouis/tables/th-g1.utb +89 -0
  468. data/vendor/liblouis/tables/th-g1.uti +315 -0
  469. data/vendor/liblouis/tables/th-g2.ctb +616 -0
  470. data/vendor/liblouis/tables/tr-g1.ctb +254 -0
  471. data/vendor/liblouis/tables/tr-g2.ctb +863 -0
  472. data/vendor/liblouis/tables/tr-g2.tbl +20 -0
  473. data/vendor/liblouis/tables/tr.ctb +324 -0
  474. data/vendor/liblouis/tables/tr.tbl +21 -0
  475. data/vendor/liblouis/tables/tsn-za-g1.ctb +33 -0
  476. data/vendor/liblouis/tables/tsn-za-g2.ctb +33 -0
  477. data/vendor/liblouis/tables/tt.utb +74 -0
  478. data/vendor/liblouis/tables/uga.utb +86 -0
  479. data/vendor/liblouis/tables/uk-comp.utb +53 -0
  480. data/vendor/liblouis/tables/uk-detailed.utb +32 -0
  481. data/vendor/liblouis/tables/uk.utb +101 -0
  482. data/vendor/liblouis/tables/ukchardefs.cti +106 -0
  483. data/vendor/liblouis/tables/ukmaths_single_cell_defs.cti +65 -0
  484. data/vendor/liblouis/tables/ukmaths_unicode_defs.cti +298 -0
  485. data/vendor/liblouis/tables/uni-text.dis +330 -0
  486. data/vendor/liblouis/tables/unicode-braille.utb +291 -0
  487. data/vendor/liblouis/tables/unicode-without-blank.dis +24 -0
  488. data/vendor/liblouis/tables/unicode.dis +278 -0
  489. data/vendor/liblouis/tables/ur-pk-g1.utb +248 -0
  490. data/vendor/liblouis/tables/ur-pk-g2.ctb +641 -0
  491. data/vendor/liblouis/tables/us-table.dis +67 -0
  492. data/vendor/liblouis/tables/uz-g1.utb +117 -0
  493. data/vendor/liblouis/tables/ve-za-g1.utb +69 -0
  494. data/vendor/liblouis/tables/ve-za-g2.ctb +208 -0
  495. data/vendor/liblouis/tables/vi-cb8.utb +49 -0
  496. data/vendor/liblouis/tables/vi-charsdef.uti +36 -0
  497. data/vendor/liblouis/tables/vi-lettersdef.uti +401 -0
  498. data/vendor/liblouis/tables/vi-puncsdef.uti +446 -0
  499. data/vendor/liblouis/tables/vi-saigon-g1.ctb +530 -0
  500. data/vendor/liblouis/tables/vi-vn-g0.utb +135 -0
  501. data/vendor/liblouis/tables/vi-vn-g1.ctb +574 -0
  502. data/vendor/liblouis/tables/vi-vn-g2.ctb +743 -0
  503. data/vendor/liblouis/tables/wiskunde-chardefs.cti +261 -0
  504. data/vendor/liblouis/tables/wordcx.dis +91 -0
  505. data/vendor/liblouis/tables/xh-za-g1.utb +61 -0
  506. data/vendor/liblouis/tables/xh-za-g2.ctb +386 -0
  507. data/vendor/liblouis/tables/yi.utb +236 -0
  508. data/vendor/liblouis/tables/zh-chn.ctb +45011 -0
  509. data/vendor/liblouis/tables/zh-hk.ctb +10461 -0
  510. data/vendor/liblouis/tables/zh-tw.ctb +53810 -0
  511. data/vendor/liblouis/tables/zh_CHN.tbl +23 -0
  512. data/vendor/liblouis/tables/zhcn-cbs.ctb +31523 -0
  513. data/vendor/liblouis/tables/zhcn-g1.ctb +26523 -0
  514. data/vendor/liblouis/tables/zhcn-g2.ctb +26519 -0
  515. data/vendor/liblouis/tables/zu-za-g1.utb +33 -0
  516. data/vendor/liblouis/tables/zu-za-g2.ctb +33 -0
  517. metadata +558 -0
@@ -0,0 +1,1127 @@
1
+ # Liblouis: Danish table for 6 dots grade 2 forward and backward translation 1993
2
+ #
3
+ # Copyright (C) 2014, 2016-2021, 2023, Bue Vester-Andersen <bue@vester-andersen.dk>
4
+ #
5
+ # This file is part of liblouis.
6
+ #
7
+ # liblouis is free software: you can redistribute it and/or modify it
8
+ # under the terms of the GNU Lesser General Public License as
9
+ # published by the Free Software Foundation, either version 2.1 of the
10
+ # License, or (at your option) any later version.
11
+ #
12
+ # liblouis is distributed in the hope that it will be useful, but
13
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ # Lesser General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Lesser General Public
18
+ # License along with liblouis. If not, see
19
+ # <http://www.gnu.org/licenses/>.
20
+ #
21
+ # Version: Bue Vester-Andersen, December 2022
22
+
23
+ ### Table Metadata
24
+
25
+ #-name: Dansk forkortet 6-punkt 1993
26
+ #-index-name: Danish, contracted, 6-dot, 1993
27
+ #-display-name: Danish 6-dot contracted braille (1993 standard)
28
+
29
+ #+language: da
30
+ #+type: literary
31
+ #+contraction: full
32
+ #+grade: 2
33
+ #+dots: 6
34
+ #+direction: both
35
+ #+system: ddp
36
+ #+version: 1993
37
+
38
+ #-has-nocross: yes
39
+
40
+ # Display opcodes
41
+ include da-dk-octobraille_1993.dis
42
+
43
+ ### Spaces
44
+
45
+ # These ctrl-chars have to have a representation, so that they can be properly converted back and forth.
46
+ space \t 2478 CHARACTER TABULATION
47
+ space \n 678 LINE FEED (LF)
48
+ space \v 1368 LINE TABULATION
49
+ space \f 12378 FORM FEED (FF)
50
+ space \r 257 CARRIAGE RETURN (CR)
51
+ space \x00a0 a
52
+
53
+ include spaces.uti
54
+
55
+ ### Character definitions
56
+
57
+ # Definition of dot cells
58
+ punctuation ! 235 EXCLAMATION MARK
59
+ punctuation " 2356 QUOTATION MARK
60
+ punctuation ' 4 APOSTROPHE
61
+ punctuation ( 236 LEFT PARENTHESIS
62
+ punctuation ) 356 RIGHT PARENTHESIS
63
+ punctuation , 2 COMMA
64
+ punctuation - 36 HYPHEN-MINUS
65
+ punctuation . 3 FULL STOP
66
+ punctuation / 34 SLASH
67
+ punctuation : 25 COLON
68
+ punctuation ; 23 SEMICOLON
69
+ punctuation ? 26 QUESTION MARK
70
+ lowercase a 1
71
+ lowercase b 12
72
+ lowercase c 14
73
+ lowercase d 145
74
+ lowercase e 15
75
+ lowercase f 124
76
+ lowercase g 1245
77
+ lowercase h 125
78
+ lowercase i 24
79
+ lowercase j 245
80
+ lowercase k 13
81
+ lowercase l 123
82
+ lowercase m 134
83
+ lowercase n 1345
84
+ lowercase o 135
85
+ lowercase p 1234
86
+ lowercase r 1235
87
+ lowercase s 234
88
+ lowercase t 2345
89
+ lowercase u 136
90
+ lowercase v 1236
91
+ lowercase y 13456
92
+
93
+ #use 8 dots for the following chars to avoid conflict with indicators
94
+ lowercase q 123457
95
+ lowercase w 24567
96
+ lowercase x 13467
97
+ lowercase z 13567
98
+ punctuation | 4568 VERTICAL LINE
99
+ punctuation ~ 467 TILDE (changed by pass 2 to not conflict with indicators
100
+ lowercase \x00fc 12567
101
+
102
+ include digits6Dots.uti
103
+
104
+ punctuation \x00a7 346 SECTION SIGN (0xa7)
105
+
106
+ lowercase \x00e5 16 LATIN LETTER A WITH RING ABOVE
107
+ lowercase \x00e6 345 LATIN LETTER AE
108
+ lowercase \x00f8 246 LATIN LETTER O WITH STROKE
109
+
110
+ # Uppercase letters
111
+ base uppercase A a
112
+ base uppercase B b
113
+ base uppercase C c
114
+ base uppercase D d
115
+ base uppercase E e
116
+ base uppercase F f
117
+ base uppercase G g
118
+ base uppercase H h
119
+ base uppercase I i
120
+ base uppercase J j
121
+ base uppercase K k
122
+ base uppercase L l
123
+ base uppercase M m
124
+ base uppercase N n
125
+ base uppercase O o
126
+ base uppercase P p
127
+ base uppercase R r
128
+ base uppercase S s
129
+ base uppercase T t
130
+ base uppercase U u
131
+ base uppercase V v
132
+ base uppercase Y y
133
+ base uppercase Q q
134
+ base uppercase W w
135
+ base uppercase X x
136
+ base uppercase Z z
137
+ base uppercase \x00dc \x00fc
138
+ base uppercase \x00c5 \x00e5 LATIN LETTER A WITH RING ABOVE
139
+ base uppercase \x00c6 \x00e6 LATIN LETTER AE
140
+ base uppercase \x00d8 \x00f8 LATIN LETTER O WITH STROKE
141
+
142
+ # cover all other Braille patterns
143
+ include braille-patterns.cti
144
+
145
+ # Characters with two or more cells
146
+
147
+ punctuation # 45-3456 NUMBER SIGN
148
+ sign $ 45-256 DOLLAR SIGN
149
+ math % 245-356 PERCENT SIGN
150
+ sign & 6-12346 AMPERSAND
151
+ punctuation * 6-35 ASTERISK
152
+ math + 45-235 PLUS SIGN
153
+ math < 45-134 LESS-THAN SIGN
154
+ math = 45-2356 EQUALS SIGN
155
+ math > 45-234 GREATER-THAN SIGN
156
+ sign @ 45-1 COMMERCIAL AT
157
+ punctuation [ 5-236 LEFT SQUARE BRACKET
158
+ punctuation \\ 45-16 REVERSE SLASH
159
+ punctuation ] 5-356 RIGHT SQUARE BRACKET
160
+ punctuation ^ 45-346 CIRCUMFLEX ACCENT
161
+ punctuation _ 45-36 LOW LINE
162
+ punctuation ` 4 GRAVE ACCENT
163
+ punctuation { 45-246 LEFT CURLY BRACKET
164
+ punctuation } 45-135 RIGHT CURLY BRACKET
165
+ math \x00f7 45-256 DIVISION SIGN
166
+
167
+ # Misc unicode characters
168
+ include da-dk-6miscChars_1993.cti
169
+
170
+ # Extra chars for private use:
171
+ space \xf800 234f # Used to force a hidden word boundary
172
+ letter \xf801 123f # Used to prevent word contractions in certain cases
173
+
174
+ # Litdigits
175
+ include litdigits6Dots.uti
176
+ midendnumericmodechars /,.:^
177
+
178
+ undefined 26
179
+
180
+ ### Braille indicators and special characters
181
+
182
+ #hyphen - 36
183
+
184
+ letsign 6
185
+
186
+ noletsign Ii\x00df\x0149\x0152\x0153
187
+
188
+ # Emphasis opcodes
189
+ emphclass italic
190
+ emphclass underline
191
+ emphclass bold
192
+
193
+ begemphphrase italic 56
194
+ endemphphrase italic after 56
195
+
196
+ begemphphrase bold 56
197
+ endemphphrase bold after 56
198
+
199
+ begemphphrase underline 56
200
+ endemphphrase underline after 56
201
+
202
+ capsletter 46
203
+ begcapsword 456
204
+ endcapsword 6
205
+ multind 6-46 letsign capsletter
206
+ multind 46-6 capsletter letsign
207
+ multind 6-456 letsign begcapsword
208
+
209
+ numsign 3456
210
+ multind 6-3456 letsign numsign
211
+
212
+ #class of none-space characters that demand double dashes
213
+ # Used in context lines later.
214
+ #must be the first class defined.
215
+ attribute charsWDoubleDash .,?!/:"'() # class w
216
+
217
+ ### Correct - forward translation
218
+
219
+ # Chars that don't require a space before percent and permille:
220
+ attribute charsBeforePercent "(\x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb #class x
221
+ noback correct `["%"] *
222
+ noback correct !$sx["%"] "\s%"
223
+ noback correct `["\x2030"] *
224
+ noback correct !$sx["\x2030"] "\s\x2030"
225
+ noback correct `["\x0089"] *
226
+ noback correct !$sx["\x0089"] "\s\x2030"
227
+
228
+ # Chars to be treated like digits when switching back to letter mode
229
+ attribute extraDigits \x00bc\x00bd\x00be
230
+
231
+ #Use the "correct" opcode to convert chars that can't be back-translated
232
+ # and make the table more simple.
233
+
234
+ # Dashes
235
+ attribute dashes \x2013\x2014\x0096\x0097\x00ad
236
+ noback correct %dashes "-"
237
+
238
+ attribute quotes \x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb
239
+ noback correct %quotes "\""
240
+
241
+ attribute apostrophes `\x201a\x0082\x2039\x008b\x2018\x0091\x2019\x0092\x203a\x009b\x00b4
242
+ noback correct %apostrophes "'"
243
+
244
+ ### Correct - backward translation
245
+
246
+ # characters that may get mangled by the insertion of extra letsigns
247
+ nofor correct "\x2818" "~"
248
+ #nofor correct "\x282f" "&"
249
+ #nofor correct "\x2814" "*"
250
+
251
+ # Try to distinguish between times (\x00d7) and bullit (\x2022),
252
+ # which share the same Braille representation.
253
+ nofor correct `["\x00d7"] "\x2022"
254
+ # nofor correct $d["\s\x00d7\s"]$d * #apparently doesn't work now
255
+ nofor correct ["\x00d7"]!$d "\x2022"
256
+ nofor correct !$d["\x00d7"] "\x2022"
257
+
258
+ nofor correct "\x28a0" ? # Extraneous endcaps signs
259
+ #nofor correct "\x2820" ?
260
+ nofor correct "~\\456/" "|"
261
+
262
+ #ensure \xf800\xf801 between a digit and a letter
263
+ noback correct $dy[]$l "\xf800\xf801"
264
+ noback correct $dy$Spm.[]$l "\xf800\xf801"
265
+ ### Pass 1 - Forward and backward
266
+
267
+ # Remove space between § and numbers.
268
+ noback begnum § 346
269
+ begnum §\s 346
270
+ begnum §§\s 346-346
271
+ always §§ 346-346
272
+
273
+ # Punctuations, math and numbers
274
+ #midnum , 2
275
+ #midnum . 3
276
+ # the following rule is doubtful, but probably does not apply.
277
+ #midnum - 36
278
+ endnum - 36
279
+ #midnum / 34
280
+ #midnum : 25
281
+ nofor midnum ^ 346
282
+ nofor midnum ^ 45-346
283
+
284
+ midnum ^ 45-346
285
+ midnum \x00d7 45-3
286
+
287
+ # various back rules for math signs etc.
288
+ nofor midnum % 0-245-356-0-3456
289
+ nofor endnum % 0-245-356
290
+ nofor endnum \x2030 0-245-356-356
291
+ nofor midnum \x00d7 45-3
292
+ #nofor midnum \x00d7 3
293
+
294
+ # Punctuation
295
+ postpunc ! 235
296
+ prepunc " 2356
297
+ postpunc " 2356
298
+ always /\s 6-34-0
299
+ always \s/ 0-6-34
300
+ nofor always / 6-34
301
+ prepunc - 36
302
+ postpunc - 36
303
+ nofor always \s-\s 0-36-36-0
304
+ always :- 25-36
305
+ always ;- 23-36
306
+ always --- 36-36-36
307
+ always ---- 36-36-36-36
308
+ always ----- 36-36-36-36-36
309
+ # Star enclosed by parentheses
310
+ always (*) 236-35-356
311
+
312
+ before punctuation before sign always ( 6-236
313
+
314
+ # these characters must be separated from ")" by a letsign.
315
+ attribute SepToRightpar Jj%'\x2030\x0089\x201a\x0082\x2039\x009b\x2018\x0091\x2019\x0092\x203a\x009b
316
+ after SepToRightpar always ) 6-356
317
+ after punctuation after sign always ) 6-356
318
+
319
+ prepunc ( 236
320
+ postpunc ) 356
321
+ always .) 3-356
322
+ always ( 6-236
323
+ always ) 6-356
324
+
325
+ # extra back rules for ")"
326
+ nofor after punctuation always ) 356
327
+ nofor always \x00b0 4-356
328
+ nofor always ') 4-6-356
329
+ nofor always ") 2356-356
330
+ nofor endword j) 245-356
331
+ nofor always ) 6-356
332
+
333
+ always ... 3-3-3
334
+
335
+ # Exclamation and "fra"
336
+ always fra! 124-1235-1-235
337
+ always !fra 235-124-1235-1
338
+ always ?! 26-6-235
339
+ always )! 356-6-235
340
+ always (!) 236-6-235-356
341
+ always "fra" 2356-124-1235-1-2356
342
+ always "!" 2356-6-235-2356
343
+ always !! 235-235
344
+ always !!! 235-235-235
345
+ always !!!! 235-235-235-235
346
+ always !!!!! 235-235-235-235-235
347
+ always '! 4-6-235
348
+ always \s! 0-6-235
349
+ prepunc ! 6-235
350
+ always \x00a1 6-256
351
+
352
+ ### Contractions ###
353
+
354
+ #Special sequences, urls emails and file names.
355
+
356
+ nocont $
357
+ nocont \x005c
358
+ nocont @
359
+ nocont ://
360
+ nocont www
361
+
362
+ # Ensure no contractions in English ordinal numbers
363
+ endnum nd 6-1345-145
364
+ endnum st 6-234-2345
365
+ endnum ve 6-1236-15
366
+
367
+ #Words
368
+ word af 356
369
+ always 'af 4-1-124
370
+ word aldrig 1-35
371
+ word aig =
372
+ word alle 1-15
373
+ begnum ae 6-1-15
374
+ contraction ae
375
+ word allerede 1-123-1235
376
+ begnum alr 6-1-123-1235
377
+ contraction alr
378
+ word alligevel 1-123-1236
379
+ begnum alv 6-1-123-1236
380
+ contraction alv
381
+ word altid 1-2345-145
382
+ begnum atd 6-1-2345-145
383
+ contraction atd
384
+ word altså 1-16
385
+ begnum aå 6-1-16
386
+ contraction aå
387
+ word at 1
388
+
389
+ word blevet 12-2345
390
+ begnum bt 6-12-2345
391
+ contraction bt
392
+ word blev 12-1236
393
+ begnum bv 6-12-1236
394
+ contraction bv
395
+ word blive 12-3456
396
+ word bve 12-1236-15
397
+ word bliver 12
398
+
399
+ word derefter 23456-1356
400
+ word derst =
401
+ word deres 256
402
+ word derfor 23456-124
403
+ word derf =
404
+ word derigennem 23456-24-12456
405
+ word derige 1456-1235-24-12456
406
+ word dermed 23456-134
407
+ word derm =
408
+ word derned 23456-1246
409
+ word derne =
410
+ word derop 23456-135
411
+ word dero =
412
+ word derover 23456-1346
413
+ word deror =
414
+ word derpå 23456-1234
415
+ word derp =
416
+ word dersom 23456-234
417
+ word ders =
418
+ word dertil 23456-2345
419
+ word dert =
420
+ word derunder 23456-12345
421
+ word derved 23456-1236
422
+ word din 145-1345
423
+ begnum dn 6-145-1345
424
+ contraction dn
425
+ word disse 145-234
426
+ begnum ds 6-145-234
427
+ contraction ds
428
+ word dit 145-2345
429
+ begnum dt 6-145-2345
430
+ contraction dt
431
+ word du 145
432
+
433
+ word efter 1356
434
+ word eller 15
435
+ word endnu 15-136
436
+ begnum eu 6-15-136
437
+ contraction eu
438
+
439
+ word fik 124-13
440
+ begnum fk 6-124-13
441
+ contraction fk
442
+ word fordi 124-145
443
+ begnum fd 6-124-145
444
+ contraction fd
445
+ word forskellige 124-123456-15
446
+ word fske =
447
+ word forskelligt 124-123456-2345
448
+ word fskt =
449
+ word forskellig 124-123456
450
+ word fsk =
451
+ word for 124
452
+ word fra 235
453
+ word første 124-1356-15
454
+ word først 124-1356
455
+ word før 246
456
+
457
+ word ganske 1245-123456
458
+ word gennem 12456
459
+ word ge =
460
+ word gik 1245-13
461
+ begnum gk 6-1245-13
462
+ contraction gk
463
+ word gør 1245
464
+
465
+ word ham 236
466
+ word hans 13456-234
467
+ begnum ys 6-13456-234
468
+ contraction ys
469
+ word han 13456
470
+ word har 125
471
+ word havde 125-1456
472
+ word hde =
473
+ word have 125-3456
474
+ word hve =
475
+ word helt 125-2345
476
+ begnum ht 6-125-2345
477
+ contraction ht
478
+ word hendes 125-234
479
+ begnum hs 6-125-234
480
+ contraction hs
481
+ word hende 125-145
482
+ begnum hd 6-125-145
483
+ contraction hd
484
+ word hun 136
485
+ word hvad 2456
486
+ word hv =
487
+ word hvis 2456-234
488
+ word hvs =
489
+ word hvordan 34-1
490
+ word hvora 34-6-1
491
+ word hvorefter 34-1356
492
+ word hvorst 34-234-2345
493
+ word hvorfor 34-124
494
+ word hvorf 34-6-124
495
+ word hvorigennem 34-24-12456
496
+ word hvorledes 34-15
497
+ word hvore 34-6-15
498
+ word hvormed 34-134
499
+ word hvorm 34-6-134
500
+ word hvornår 34-1345
501
+ word hvorn 34-6-1345
502
+ word hvorover 34-1346
503
+ word hvoror 34-135-1235
504
+ word hvorpå 34-1234
505
+ word hvorp 34-6-1234
506
+ word hvortil 34-2345
507
+ word hvort 34-6-2345
508
+ word hvorunder 34-12345
509
+ word hvornd 34-1345-145
510
+ word hvorved 34-1236
511
+ word hvorv 34-6-1236
512
+ word hvor 34
513
+
514
+ word igennem 24-12456
515
+ word ige =
516
+ word igen 35
517
+ word (igen) 236-24-1245-126-356
518
+ word ig =
519
+ word ikke 24-13
520
+ begnum ik 6-24-13
521
+ contraction ik
522
+ word imidlertid 24-24
523
+ begnum ii 6-24-24
524
+ contraction ii
525
+
526
+ word jeg 245
527
+ word jeg) 245-6-356
528
+
529
+ word kan 13
530
+ word kommer 13-156
531
+ word ker =
532
+ word kommet 13-346
533
+ word ket =
534
+ word komme 13-146
535
+ word kme =
536
+ word kom 13-134
537
+ begnum km 6-13-134
538
+ contraction km
539
+ word kunne 13-1246
540
+ word kne =
541
+
542
+ word ligesom 123-234
543
+ begnum ls 6-123-234
544
+ contraction ls
545
+ word lige 123
546
+ word lille 123-123
547
+ begnum ll 6-123-123
548
+ contraction ll
549
+
550
+ word mange 134-12456
551
+ word mge =
552
+ word med 134
553
+ word megen 146-126
554
+ word meen =
555
+ word meget 146-346
556
+ word meet =
557
+ word mellem 146-134
558
+ word mem =
559
+ word men 146
560
+ word me =
561
+ word min 134-1345
562
+ begnum mn 6-134-1345
563
+ contraction mn
564
+ word mit 134-2345
565
+ begnum mt 6-134-2345
566
+ contraction mt
567
+ word måske 134-123456
568
+ word msk =
569
+ word måtte 134-1256
570
+ word mte =
571
+
572
+ word naturligvis 1345-2345-1236
573
+ begnum ntv 6-1345-2345-1236
574
+ contraction ntv
575
+ word nd =
576
+ word ned 1246
577
+ word ne =
578
+ word nogen 1345-1345
579
+ begnum nn 6-1345-1345
580
+ contraction nn
581
+ word noget 1345-2345
582
+ begnum nt 6-1345-2345
583
+ contraction nt
584
+ word nogle 1345-123-15
585
+ begnum nle 6-1345-123-15
586
+ contraction nle
587
+ word når 1345
588
+
589
+ word også 14-16
590
+ begnum cå 6-14-16
591
+ contraction cå
592
+ word og 14
593
+ word omkring 135-134-13
594
+ begnum omk 6-135-134-13
595
+ contraction omk
596
+ word op 135
597
+ word or =
598
+ word over 1346
599
+
600
+ word på 1234
601
+
602
+ word ret 12356
603
+ word re 1235-15
604
+ word rigtige 1235-12456
605
+ word rge =
606
+ word rigtigt 1235-2345
607
+ begnum rt 6-1235-2345
608
+ contraction rt
609
+ word rigtig 1235
610
+
611
+ word sagde 234-1456
612
+ word sammen 234-134
613
+ begnum sm 6-234-134
614
+ contraction sm
615
+ word samme 234-146
616
+ word sme =
617
+ word selvfølgelig 234-1236-124
618
+ begnum svf 6-234-1236-124
619
+ contraction svf
620
+ word selv 234-1236
621
+ begnum sv 6-234-1236
622
+ contraction sv
623
+ word sidste 234-1356-15
624
+ word sste =
625
+ word sidst 234-1356
626
+ word sst =
627
+ word sin 234-1345
628
+ begnum sn 6-234-1345
629
+ contraction sn
630
+ word sit 234-2345
631
+ begnum st 6-234-2345
632
+ contraction st
633
+ word skal 123456
634
+ word sk =
635
+ word skulle 123456-123-15
636
+ word skle =
637
+ word snart 234-1235
638
+ begnum sr 6-234-1235
639
+ contraction sr
640
+ word som 234
641
+ word sådan 16-1
642
+ begnum åa 6-16-1
643
+ contraction åa
644
+ word således 16-15
645
+ begnum åe 6-16-15
646
+ contraction åe
647
+ word så 16
648
+
649
+ word tid 2345-145
650
+ begnum td 6-2345-145
651
+ contraction td
652
+ word tilbage 2345-12
653
+ begnum tb 6-2345-12
654
+ contraction tb
655
+ word til 2345
656
+
657
+ word under 12345
658
+
659
+ sufword var- =
660
+ sufword var. =
661
+ word var 36
662
+ word ve 3456
663
+ word ved 1236
664
+ word ville 1236-123-15
665
+ begnum vle 6-1236-123-15
666
+ contraction vle
667
+ word vil 1236-123
668
+ begnum vl 6-1236-123
669
+ contraction vl
670
+ word været 1236-2345
671
+ begnum vt 6-1236-2345
672
+ contraction vt
673
+ word være 345
674
+
675
+ #Part words
676
+ nocross always den 12346
677
+ nocross always der 23456
678
+ nocross always det 2346
679
+ nocross always de 1456
680
+ nocross always en 126
681
+ nocross always er 156
682
+ nocross always et 346
683
+ nocross always ge 12456
684
+ #nocross always hvor 34
685
+ nocross always hv 2456
686
+ nocross always ig 35
687
+ nocross always me 146
688
+ nocross always nd 12345
689
+ nocross always ne 1246
690
+ nocross always or 1346
691
+ nocross always re 12356
692
+ nocross always sk 123456
693
+ nocross always st 1356
694
+ nocross always te 1256
695
+
696
+ # Numsign/"ve", special case when back-translating
697
+ noback nocross always ve 3456
698
+
699
+ # Additional words containing "hvor"
700
+ # these are made explicit in 6-dots to handle / better
701
+
702
+ word hvoraf 34-1-124
703
+ word hvorfra 34-124-1235-1
704
+ word hvorhen 34-125-126
705
+ word hvorhenne 34-125-126-1246
706
+ word hvori 34-24
707
+ word hvoriblandt 34-24-12-123-1-12345-2345
708
+ word hvorimellem 34-24-146-123-123-15-134
709
+ word hvorimod 34-24-134-135-145
710
+ word hvorlænge 34-123-345-1345-12456
711
+ word hvormange 34-134-1-1345-12456
712
+ word hvorom 34-135-134
713
+ word hvormeget 34-146-1245-346
714
+ word hvorudfra 34-136-145-124-1235-1
715
+ word hvorvidt 34-1236-24-145-2345
716
+ word ihvorvel 24-34-3456-123
717
+
718
+ # Rules and corrections for back-translation
719
+
720
+ #ve special case
721
+ nofor midendword ve 3456
722
+
723
+ # nondigletters covers small letters from k + various part word contractions with dots 5 or 6. Necesary to ensure correct back-translation.
724
+ attribute nondigletter klmnopqrstuvwxyzæøå\x017e\x00e0\x00e7\x00e8\x00e9\x00ea\x00eb\x00ee\x00ef\x00f4\x00f9\x00fb\x00fc\x283f\x2829\x282b\x2837
725
+ nofor before nondigletter begword ve 3456
726
+ nofor before nondigletter begword vea 3456-1
727
+ nofor sufword veade 3456-1-1456
728
+ nofor sufword veader 3456-1-23456
729
+ nofor sufword veage 3456-1-12456
730
+ nofor before nondigletter begword veag 3456-1-1245
731
+
732
+ # veb
733
+ nofor before nondigletter begword veb 3456-12
734
+ nofor before nondigletter begword veba 3456-12-1
735
+ nofor before nondigletter begword vebb 3456-12-12
736
+ nofor sufword vebbest 3456-12-12-15-1356
737
+ nofor before nondigletter begword vebe 3456-12-15
738
+ nofor before nondigletter begword vebi 3456-12-24
739
+
740
+ # vec
741
+ nofor before nondigletter begword vec 3456-14
742
+ nofor before nondigletter begword vecchi 3456-14-14-125-24
743
+
744
+ # ved
745
+ nofor before nondigletter begword ved 3456-145
746
+ nofor before nondigletter begword veda 3456-145-1
747
+ nofor sufword vedaer 3456-145-1-156
748
+ nofor before nondigletter begword vedb 3456-145-12
749
+ nofor sufword vedben 3456-145-12-126
750
+ nofor sufword vedbend 3456-145-12-15-12345
751
+ nofor sufword vedbenden 3456-145-12-126-12346
752
+ nofor before nondigletter begword vedc 3456-145-14
753
+ nofor before nondigletter begword vedd 3456-145-145
754
+ nofor before nondigletter begword vedda 3456-145-145-1
755
+ nofor sufword vedde 3456-145-1456
756
+ nofor sufword veddet 3456-145-2346
757
+ nofor sufword vede 3456-1456
758
+ nofor sufword veden 3456-12346
759
+ nofor sufword veder 3456-23456
760
+ nofor sufword vedet 3456-2346
761
+ nofor before nondigletter begword vedf 3456-145-124
762
+ nofor before nondigletter begword vedfa 3456-145-124-1
763
+ nofor before nondigletter begword vedfe 3456-145-124-15
764
+ nofor before nondigletter begword vedfi 3456-145-124-24
765
+ nofor before nondigletter begword vedg 3456-145-1245
766
+ nofor before nondigletter begword vedga 3456-145-1245-1
767
+ nofor sufword vedge 3456-145-12456
768
+ nofor before nondigletter begword vedgi 3456-145-1245-24
769
+ nofor before nondigletter begword vedh 3456-145-125
770
+ nofor before nondigletter begword vedha 3456-145-125-1
771
+ nofor before nondigletter begword vedhe 3456-145-125-15
772
+ nofor before nondigletter begword vedhef 3456-145-125-15-124
773
+ nofor sufword vedhefte 3456-145-125-15-124-1256
774
+ nofor before nondigletter begword vedhi 3456-145-125-24
775
+ nofor before nondigletter begword vedi 3456-145-24
776
+ nofor before nondigletter begword vedj 3456-145-245
777
+ nofor sufword vedst 3456-145-1356
778
+ nofor sufword vedte 3456-145-1256
779
+
780
+ # vee
781
+ nofor before nondigletter begword vee 3456-15
782
+ nofor before nondigletter begword veeb 3456-15-12
783
+ nofor sufword veen 3456-126
784
+ nofor sufword veer 3456-156
785
+ nofor sufword veet 3456-346
786
+
787
+ # vef
788
+ nofor before nondigletter begword vef 3456-124
789
+ nofor before nondigletter begword vefa 3456-124-1
790
+ nofor before nondigletter begword vefe 3456-124-15
791
+ nofor before nondigletter begword vefi 3456-124-24
792
+
793
+ # veg
794
+ nofor before nondigletter begword veg 3456-1245
795
+ nofor before nondigletter begword vega 3456-1245-1
796
+ nofor sufword vege 3456-12456
797
+ nofor sufword vegen 3456-1245-126
798
+ nofor word veget 3456-1245-346
799
+ nofor sufword vegger 3456-1245-1245-156
800
+ nofor before nondigletter begword vegi 3456-1245-24
801
+ nofor sufword vegst 3456-1245-1356
802
+
803
+ # veh
804
+ nofor before nondigletter begword veh 3456-125
805
+ nofor before nondigletter begword veha 3456-125-1
806
+ nofor sufword vehand 3456-125-1-12345
807
+ nofor sufword vehage 3456-125-1-23456
808
+ nofor before nondigletter begword vehe 3456-125-15
809
+ nofor before nondigletter begword vehi 3456-125-24
810
+
811
+ # vei
812
+ nofor before nondigletter begword vei 3456-24
813
+ nofor before nondigletter begword veibe 3456-24-12-15
814
+ nofor sufword veide 3456-24-1456
815
+ nofor sufword veien 3456-24-126
816
+ nofor sufword veige 3456-24-12456
817
+ nofor before nondigletter begword veij 3456-24-245
818
+ nofor sufword veind 3456-24-12345
819
+
820
+ # vej
821
+ nofor before nondigletter begword vej 3456-245
822
+ nofor before nondigletter begword veja 3456-245-1
823
+ nofor before nondigletter begword vejadga 3456-245-1-145-1245-1
824
+ nofor before nondigletter begword vejaf 3456-245-1-124
825
+ nofor sufword vejafde 3456-245-1-124-1456
826
+ nofor before nondigletter begword vejafgif 3456-245-1-124-1245-24-124
827
+ nofor before nondigletter begword vejb 3456-245-12
828
+ nofor before nondigletter begword vejba 3456-245-12-1
829
+ nofor before nondigletter begword vejbe 3456-245-12-15
830
+ nofor before nondigletter begword vejbi 3456-245-12-24
831
+ nofor before nondigletter begword vejbid 3456-245-12-24-145
832
+ nofor before nondigletter begword vejc 3456-245-14
833
+ nofor before nondigletter begword vejd 3456-245-145
834
+ nofor before nondigletter begword vejda 3456-245-145-1
835
+ nofor sufword vejde 3456-245-1456
836
+ nofor before nondigletter begword vejdi 3456-245-145-24
837
+ nofor before nondigletter begword veje 3456-245-15
838
+ nofor before nondigletter begword vejea 3456-245-15-1
839
+ nofor before nondigletter begword vejeb 3456-245-15-12
840
+ nofor before nondigletter begword vejed 3456-245-15-145
841
+ nofor before nondigletter begword vejeda 3456-245-15-145-1
842
+ nofor sufword vejede 3456-245-15-1456
843
+ nofor before nondigletter begword vejef 3456-245-15-124
844
+ nofor before nondigletter begword vejeg 3456-245-15-1245
845
+ nofor sufword vejege 3456-245-15-12456
846
+ nofor sufword vejen 3456-245-126
847
+ nofor sufword vejene 3456-245-15-1246
848
+ nofor sufword vejer 3456-245-156
849
+ nofor word vejet 3456-245-346
850
+ nofor before nondigletter begword vejf 3456-245-124
851
+ nofor before nondigletter begword vejfa 3456-245-124-1
852
+ nofor before nondigletter begword vejfe 3456-245-124-15
853
+ nofor sufword vejfest 3456-245-124-15-1356
854
+ nofor before nondigletter begword vejfi 3456-245-124-24
855
+ nofor begword vejfor 3456-245-124-1346
856
+ nofor before nondigletter begword vejg 3456-245-1245
857
+ nofor before nondigletter begword vejga 3456-245-1245-1
858
+ nofor before nondigletter begword vejgaa 3456-245-1245-1-1
859
+ nofor sufword vejge 3456-245-12456
860
+ nofor before nondigletter begword vejgi 3456-245-1245-24
861
+ nofor before nondigletter begword vejh 3456-245-125
862
+ nofor before nondigletter begword vejha 3456-245-125-1
863
+ nofor before nondigletter begword vejhe 3456-245-125-15
864
+ nofor before nondigletter begword vejhi 3456-245-125-24
865
+ nofor sufword vejhist 3456-245-125-24-1356
866
+ nofor before nondigletter begword vejhj 3456-245-125-245
867
+ nofor before nondigletter begword veji 3456-245-24
868
+ nofor before nondigletter begword vejid 3456-245-24-145
869
+ nofor before nondigletter begword vejj 3456-245-245
870
+ nofor before nondigletter begword vejja 3456-245-245-1
871
+ nofor before nondigletter begword vejje 3456-245-245-15
872
+ nofor before nondigletter begword vejji 3456-245-245-24
873
+ nofor sufword vejor 3456-245-1346
874
+ nofor begword vejst 3456-245-1356
875
+
876
+ nofor always vend 3456-12345
877
+ nofor always veor 3456-1346
878
+ nofor always vest 3456-1356
879
+ nofor always vete 3456-1256
880
+
881
+ # Corrections of letters with accents
882
+ nofor sufword aïda 1-5-24-145-1
883
+ nofor sufword anaïs 1-1345-1-5-24-234
884
+ nofor sufword barsebäck 12-1-1235-234-15-12-345-14-13
885
+ nofor sufword bohè 12-135-125-5-15
886
+ nofor sufword château 14-125-5-1-1256-1-136
887
+ nofor sufword citroën 14-24-2345-1235-135-5-15-1345
888
+ nofor sufword däniken 145-345-1345-24-13-126
889
+ nofor word fór 124-5-135-1235
890
+ nofor sufword göran 1245-246-1235-1-1345
891
+ nofor sufword göring 1245-246-1235-24-1345-1245
892
+ nofor word händel 125-345-1345-1456-123
893
+ nofor word händels 125-345-1345-1456-123-234
894
+ nofor sufword lagerlöf 123-1-1245-156-123-246-124
895
+ nofor sufword márquez 134-5-1-1235-6-12345-136-15-6-1356
896
+ nofor sufword miró 134-24-1235-5-135
897
+ nofor sufword moliè 134-135-123-24-5-15
898
+ nofor sufword norröna 1345-1346-1235-246-1345-1
899
+ nofor sufword tannhäus 2345-1-1345-1345-125-345-136-234
900
+ nofor sufword tórshavn 2345-5-135-1235-234-125-1-1236-1345
901
+ nofor sufword václav 1236-5-1-14-123-1-1236
902
+ nofor sufword verän 1236-156-345-1345
903
+ nofor sufword weizsäck 6-2456-15-24-6-1356-234-345-14-13
904
+
905
+ # Common combinations of one word contractions with slash
906
+ word af/på 356-34-1234
907
+ word du/i 145-34-24
908
+ word eller/og 15-34-14
909
+ word fra/til 235-34-2345
910
+ word han/hun 13456-34-136
911
+ word hun/han 136-34-13456
912
+ word i/du 24-34-145
913
+ word og/eller 14-34-15
914
+ word over/under 1346-34-12345
915
+ word på/af 1234-34-356
916
+ word til/fra 2345-34-235
917
+ word under/over 12345-34-1346
918
+
919
+ # no backtrans of ^1 and `2. use contractions
920
+ nofor always eta 346-1
921
+ nofor always etb 346-12
922
+ always etc 346-14
923
+
924
+ # Ensure no one-letter word contraction before or after a dash
925
+
926
+ endword -af 36-1-124
927
+ begword af- 1-124-36
928
+ endword -altid 36-1-2345-145
929
+ begword altid- 1-2345-145-36
930
+ endword -at 36-1-2345
931
+ endword -a 36-6-1
932
+ begword at- 1-2345-36
933
+ endword -og 36-135-1245
934
+ endword -c 36-6-14
935
+ begword og- 135-1245-36
936
+ endword -du 36-145-136
937
+ endword -d 36-6-145
938
+ begword du- 145-136-36
939
+ endword -efter 36-15-124-2345-156
940
+ endword -z 36-6-1356
941
+ begword efter- 15-124-2345-156-36
942
+ midword -efter- 36-1356-36
943
+ endword -e 36-6-15
944
+ endword -for 36-124-1346
945
+ endword -f 36-6-124
946
+ begword for- 124-1346-36
947
+ endword -fra 36-124-1235-1
948
+ begword fra- 124-1235-1-36
949
+ endword -g 36-6-1245
950
+ endword -gennem 36-1245-126-1246-134
951
+ begword gennem- 1245-126-1246-134-36
952
+ endword -ham 36-125-1-134
953
+ begword ham- 125-1-134-36
954
+ endword -han 36-125-1-1345
955
+ endword -y 36-6-13456
956
+ begword han- 125-1-1345-36
957
+ endword -har 36-125-1-1235
958
+ endword -h 36-6-125
959
+ begword har- 125-1-1235-36
960
+ endword -hun 36-125-136-1345
961
+ endword -u 36-6-136
962
+ begword hun- 125-136-1345-36
963
+ endword -j 36-6-245
964
+ endword -kan 36-13-1-1345
965
+ endword -k 36-6-13
966
+ begword kan- 13-1-1345-36
967
+ endword -lige 36-123-24-12456
968
+ endword -l 36-6-123
969
+ begword lige- 123-24-12456-36
970
+ endword -med 36-146-145
971
+ endword -m 36-6-134
972
+ begword med- 146-145-36
973
+ endword -men 36-134-126
974
+ begword men- 134-126-36
975
+ endword -ned 36-1246-145
976
+ begword ned- 1246-145-36
977
+ endword -når 36-1345-16-1235
978
+ endword -n 36-6-1345
979
+ begword når- 1345-16-1235-36
980
+ endword -op 36-135-1234
981
+ endword -o 36-6-135
982
+ begword op- 135-1234-36
983
+ endword -over 36-135-1236-156
984
+ endword -x 36-6-1346
985
+ begword over- 135-1236-156-36
986
+ endword -på 36-1234-16
987
+ endword -p 36-6-1234
988
+ begword på- 1234-16-36
989
+ midword -på- 36-1234-36
990
+ endword -ret 36-1235-346
991
+ begword ret- 1235-346-36
992
+ midword -ret- 36-12356-36
993
+ endword -rigtig 36-1235-35-2345-35
994
+ endword -r 36-6-1235
995
+ begword rigtig- 1235-35-2345-35-36
996
+ midword -rigtig- 36-1235-36
997
+ endword -skal 36-123456-1-123
998
+ begword skal- 123456-1-123-36
999
+ midword -skal- 36-123456-36
1000
+ endword -som 36-234-135-134
1001
+ endword -s 36-6-234
1002
+ begword som- 234-135-134-36
1003
+ midword -som- 36-234-36
1004
+ endword -så 36-234-16
1005
+ endword -å 36-6-16
1006
+ begword så- 234-16-36
1007
+ endword -til 36-2345-24-123
1008
+ endword -t 36-6-2345
1009
+ begword til- 2345-24-123-36
1010
+ midword -til- 36-2345-36
1011
+ endword -under 36-136-1345-23456
1012
+ begword under- 136-1345-23456-36
1013
+ midword -under- 36-12345-36
1014
+ endword -ved 36-1236-15-145
1015
+ endword -v 36-6-1236
1016
+ begword ved- 1236-15-145-36
1017
+ midword -ved- 36-1236-36
1018
+
1019
+
1020
+ ### Context rules - forward translation
1021
+
1022
+ # Exclamation at beginning of string
1023
+ noback context `["!"] @6-235
1024
+
1025
+ # Ensure two dashes where appropriate.
1026
+ noback context $w["-"]$w @36
1027
+ noback context $sw["-"]"\xf800\xf801" @36
1028
+ noback context $sw["-"]$sw @36-36
1029
+ noback context `["-"]$sw @36-36
1030
+ noback context $sw["-"]~ @36-36
1031
+ noback context !$sw["-"]~ @36
1032
+ noback context `["-"]~ @36-36
1033
+
1034
+ # Ensure letsign between letter and numsign
1035
+ noback context $l[]$D @6
1036
+
1037
+
1038
+ ### context - backward translation
1039
+
1040
+ # Ensure the correct number of dashes
1041
+ nofor context @36[@36-36] "--"
1042
+ nofor context [@36-36]@36 "--"
1043
+ nofor context $w[@36-36]$w "--"
1044
+ nofor context $sw[@36-36]$sw "-"
1045
+ nofor context `[@36-36]$sw "-"
1046
+ nofor context $sw[@36-36]~ "-"
1047
+ nofor context `@36-36~ "-"
1048
+
1049
+
1050
+ ### Pass 2 - forward translation
1051
+
1052
+ # No "nd", "hv", "or", or "st" after a digit and a letsign
1053
+ noback pass2 @234f-123f-2456 @6-125-1236
1054
+ noback pass2 @234f-123f-12345 @6-1345-145
1055
+ noback pass2 @234f-123f-1346 @6-135-1235
1056
+ noback pass2 @234f-123f-1356 @6-234-2345
1057
+ noback pass2 @234f-123f-1256 @6-2345-15
1058
+ # extra lines to correct hyphenation errors caused by \xf801
1059
+ noback pass2 @234f-123f-135-3456-1235 @6-135-1236-156
1060
+ noback pass2 @234f-123f-3456 @6-1236-15
1061
+
1062
+ noback pass2 @234f-123f @6
1063
+
1064
+ # Correct chars defined as 8 dots because they include letsign
1065
+ noback pass2 @467 @45-6
1066
+ noback pass2 @4568 @45-456
1067
+ noback pass2 @123457 @6-12345
1068
+ noback pass2 @24567 @6-2456
1069
+ noback pass2 @13467 @6-1346
1070
+ noback pass2 @13567 @6-1356
1071
+ noback pass2 @12567 @6-1256
1072
+
1073
+ noback pass2 @6-5 @5 # no letsign before letters with accent
1074
+ noback pass2 @6-46-5 @46-5 # no letsign before cap letters with accent
1075
+ noback pass2 @234f-123f-46-5 @46-5 # no letsign before cap letters with accent
1076
+ noback pass2 _$D[@6-46-6] *
1077
+ noback pass2 _$D[@6-46] *
1078
+ noback pass2 @6-46-6 @46-6 # Ensure correct order and no double letsign
1079
+ noback pass2 @6-46 @46-6 # Ensure correct order
1080
+
1081
+ ### Pass 2 - backward
1082
+
1083
+ # Insert letsign between number (with extra punctuation) and capsletter sign
1084
+ #nofor pass2 @3456$l.$Spm$l.@3$l.@3[]@46 @6
1085
+ #nofor pass2 @3456$l.$Spm$l.@3[]@46 @6
1086
+ #nofor pass2 @3456$l.$Spm$Spm[]@46 @6
1087
+ #nofor pass2 @3456$l.$Spm[]@46 @6
1088
+
1089
+ # Insert letsign between number (with extra punctuation) and capsword sign
1090
+ #nofor pass2 @3456$l.$Spm$l.@3$l.@3[]@456 @6
1091
+ #nofor pass2 @3456$l.$Spm$l.@34$l.@34[]@456 @6
1092
+ #nofor pass2 @3456$l.$Spm$l.@36$l.@36[]@456 @6
1093
+ #nofor pass2 @3456$l.$Spm$l.@3[]@456 @6
1094
+ #nofor pass2 @3456$l.$Spm$l.@34[]@456 @6
1095
+ #nofor pass2 @3456$l.$Spm$l.@36[]@456 @6
1096
+ #nofor pass2 @3456$l.$Spm$Spm[]@456 @6
1097
+ #nofor pass2 @3456$l.$Spm[]@456 @6
1098
+ #nofor pass2 @3456$l.[]@456 @6
1099
+
1100
+ #nofor pass2 $l[]@46 @6
1101
+ #nofor pass2 $a[]@456 @6
1102
+
1103
+ ### Pass 3 - forward translation
1104
+
1105
+ # Ensure there is only one letsign
1106
+ noback pass3 @6-6 @6
1107
+
1108
+ # Ensure there is only one emphasis sign
1109
+ noback pass3 @56-56 @56
1110
+ noback pass3 @56-56-56 @56
1111
+
1112
+
1113
+ ### Pass 3 - backward translation
1114
+
1115
+ # Save letters that have been defined with letsign as part of their definitions
1116
+ nofor pass3 @6-12345 @123457
1117
+ nofor pass3 @6-2456 @24567
1118
+ nofor pass3 @6-1346 @13467
1119
+ nofor pass3 @6-1356 @13567
1120
+ nofor pass3 @6-1256 @6-12567
1121
+
1122
+ # save ~ and | before inserting extra letsigns and endcapsword in pass 2.
1123
+ nofor pass3 @45-6 @467 # Create alternative representation of "~"
1124
+ nofor pass3 @45-456 @4568
1125
+
1126
+ # Include hyphenation file as the last thing
1127
+ include da-dk-g2.dic