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,955 @@
1
+ # liblouis: Spanish, Grade 2 table
2
+ #
3
+ # -----------
4
+ #-index-name: Spanish, contracted
5
+ #-display-name: Spanish contracted braille
6
+ #
7
+ #+language:es
8
+ #+type:literary
9
+ #+contraction:full
10
+ #+grade:2
11
+ # Marked as "direction:forward" by Bue Vester-Andersen
12
+ # as tests only run forward.
13
+ #+direction:forward
14
+ # -----------
15
+ #
16
+ # Based on the Linux screenreader BRLTTY, copyright (C) 1999-2006 by
17
+ # The BRLTTY Team
18
+ #
19
+ # Copyright (C) 2018 Juan Pablo Bello
20
+ #
21
+ # Other contributors: Carlos Monge (providing sources), Bert Frees (aid in table development)
22
+ #
23
+ # This file is part of liblouis.
24
+ #
25
+ # liblouis is free software: you can redistribute it and/or modify it
26
+ # under the terms of the GNU Lesser General Public License as
27
+ # published by the Free Software Foundation, either version 2.1 of the
28
+ # License, or (at your option) any later version.
29
+ #
30
+ # liblouis is distributed in the hope that it will be useful, but
31
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
32
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
33
+ # Lesser General Public License for more details.
34
+ #
35
+ # You should have received a copy of the GNU Lesser General Public
36
+ # License along with liblouis. If not, see
37
+ # <http://www.gnu.org/licenses/>.
38
+ #
39
+ # Remarks: this table is largely based following the conventions as set in the ONCE
40
+ # international manual for contracted (abbreviated) Spanish grade 2 stenography manual
41
+ # published in 1998, by Mª del Carmen Galíndez González, available at
42
+ # https://www.foal.es/es/biblioteca/curso-de-estenograf%C3%AD. The official Spanish
43
+ # dictionary (RAE 23rd edition, 2017 update) was used for the check up of several things,
44
+ # including contraction combinations, to check whether words existed in the language and
45
+ # so on. Found at http://dle.rae.es/. Revised accentuation rules are also in effect,
46
+ # especially those that deal with pronouns. This is important to mention as it is likely
47
+ # to confuse many people due to the recent revision and many still have misconceptions
48
+ # about pronouns. In a nutshell the accent for all demonstrative pronouns is now obsolete
49
+ # in the Spanish language, see:
50
+ # http://www.rae.es/consultas/el-adverbio-solo-y-los-pronombres-demostrativos-sin-tilde. A
51
+ # few other secondary sources as well as answers to numerous questions to skilled braille
52
+ # readers in different blindness braille Spanish social media groups have also been used
53
+ # for completeness. The listed reference is the latest dated one which had no conflicts
54
+ # or inconsistencies that could be found. For example, another unpublished online
55
+ # reference dated 2006 did exist in Colombia, however the entire text was already in
56
+ # grade 2 form, rendering it rather useless. It's important to note that this table is
57
+ # provided as a convenience only since there are currently (present year 2018) no
58
+ # official editorials or organizations which offer Spanish grade 2 texts or
59
+ # books. However, the original creator feels that abreviated forms of reading and writing
60
+ # are a key asset in any language, if not at least for personal use. Due that there are
61
+ # some officially published sources in Spanish grade 2 it would be a shame to let all of
62
+ # those world concerted efforts disappear and never make its way into modern times or
63
+ # technology. Even though commercially renowned packages like Duxbury do support
64
+ # abbreviated Spanish, various tests and readers have found it outdated and not always
65
+ # corrrectly implemented even as of version 12.3 in present year 2018. Open sourcing the
66
+ # grade 2 code will hopefully prevent this from happening and will keep braille moving
67
+ # forward. Usual disclaimer: of course, everyone who rigorously tested the table and
68
+ # improved its opcodes, etc. has done their best so that rules and signs are represented
69
+ # clearly and accurately, but cannot accept any responsibility for any errors or problems
70
+ # the user may encounter in applying it to his or her work. So reporting of any of those
71
+ # is always encouraged.
72
+ #
73
+ # ----------------------------------------------------------------------
74
+
75
+ # Add virtual dot to k, w and x (see below). This overwrites the definitions from
76
+ # es-g1.ctb. For the table to work these rules need to be defined before AND after the
77
+ # include.
78
+ lowercase k 13b
79
+ lowercase w 2456b
80
+ lowercase x 1346b
81
+
82
+ include es-g1.ctb
83
+
84
+ # braille indicators specific to Spanish Grade 2
85
+
86
+ # grade 2 interruptor and also accentuation indicator
87
+
88
+ multind 56 letsign capsletter
89
+
90
+ # emphasis start and end
91
+
92
+ emphclass italic
93
+ emphclass underline
94
+ emphclass bold
95
+
96
+ begemph bold 5-35
97
+ endemph bold 5-35
98
+ begemph italic 5-35
99
+ endemph italic 5-35
100
+
101
+ # Spanish grade 2 situations solved with the use of multi-pass implementations
102
+
103
+ # If a word happens to be made up of only lowered signs, then first contraction is not
104
+ # contracted to avoid confussion with punctuation. A multi-pass implementation is in order
105
+ # here. In a first pass all the contractions are made, but with a temporary virtual dot;
106
+ # then in a second pass some contractions are cancelled, and for the other contractions the
107
+ # virtual dot is removed.
108
+
109
+ # Adding the virtual dot to lowered cell contractions.
110
+
111
+ sign \xe001 2a
112
+ sign \xe002 23a
113
+ sign \xe003 25a
114
+ sign \xe004 256a
115
+ sign \xe005 26a
116
+ sign \xe009 35a
117
+ sign \xe008 236a
118
+ sign \xe007 2356a
119
+ sign \xe006 235a
120
+ sign \xe000 356a
121
+
122
+ # Forcing the contractions to have the virtual dot.
123
+
124
+ begmidword ab 2a
125
+ always br 23a
126
+ always cr 25a
127
+ always dr 256a
128
+ always en 26a
129
+ always in 35a
130
+ always er 236a
131
+ always gr 2356a
132
+ always pr 235a
133
+ always tr 356a
134
+
135
+ # Grouping all of these into a class.
136
+
137
+ attribute contraction \xe000\xe001\xe002\xe003\xe004\xe005\xe006\xe007\xe008\xe009
138
+ swapdd cancelcontraction 2a,23a,25a,256a,26a,35a,236a,2356a,235a,356a 1-12,12-1235,14-1235,145-1235,15-1345,24-1345,15-1235,1245-1235,1234-1235,2345-1235
139
+ swapdd finalizecontraction 2a,23a,25a,256a,26a,35a,236a,2356a,235a,356a 2,23,25,256,26,35,236,2356,235,356
140
+
141
+ # contraction cancellations using variables
142
+
143
+ noback pass2 $s[%contraction]$s %cancelcontraction
144
+ noback pass2 $s[%contraction]%contraction.$s %cancelcontraction
145
+ noback pass2 $s[%contraction]~ %cancelcontraction
146
+ noback pass2 $s[%contraction]%contraction.~ %cancelcontraction
147
+ noback pass2 `[%contraction]$s %cancelcontraction
148
+ noback pass2 `[%contraction]%contraction.$s %cancelcontraction
149
+ noback pass2 `[%contraction]~ %cancelcontraction
150
+ noback pass2 `[%contraction]%contraction.~ %cancelcontraction
151
+ # same with leading capsign
152
+ noback pass2 $s@46[%contraction]$s %cancelcontraction
153
+ noback pass2 $s@46[%contraction]$wx.$s %cancelcontraction
154
+ noback pass2 $s@46[%contraction]~ %cancelcontraction
155
+ noback pass2 $s@46[%contraction]$wx.~ %cancelcontraction
156
+ noback pass2 `@46[%contraction]$s %cancelcontraction
157
+ noback pass2 `@46[%contraction]$wx.$s %cancelcontraction
158
+ noback pass2 `@46[%contraction]~ %cancelcontraction
159
+ noback pass2 `@46[%contraction]$wx.~ %cancelcontraction
160
+
161
+ noback pass2 %contraction %finalizecontraction
162
+
163
+ # Whenever x, w or k is anywhere in a word the entire word is uncontracted and dot 5 prefixes the word.
164
+
165
+ # Translate words containing k, w or x according to character definitions.
166
+
167
+ nocont K
168
+ nocont W
169
+ nocont X
170
+ nocont k
171
+ nocont w
172
+ nocont x
173
+
174
+ # To prefix the words with dot 5 we use a multi-pass implementation. First we add a virtual
175
+ # dot to k, w and x so that they can be distinguished in pass2.
176
+ lowercase k 13b
177
+ lowercase w 2456b
178
+ lowercase x 1346b
179
+
180
+ # Then we define a class and a swap set. The class is needed to make the negations work.
181
+ # (does not work with only the swapdd rule: is this a bug?)
182
+ attribute kwx kwx # this is the 2nd class defined in this table, so we can also use $x instead of %kwx
183
+ # The swap set is needed for the rule that removes the virtual dots.
184
+ swapdd kwx 13b,2456b,1346b 13,2456,1346
185
+ # We are using the same name for both because we can.
186
+
187
+ # In a first pass we add the dot 5.
188
+ noback pass2 _$s[%kwx] @5*
189
+ noback pass2 _$s[!$xs.%kwx] @5* # !$xs means "anything but a K, W, X or SPACE"
190
+ noback pass2 `[%kwx] @5*
191
+ noback pass2 `[!$xs.%kwx] @5*
192
+
193
+ # In a second pass we remove the virtual dots.
194
+ noback pass3 %kwx %kwx
195
+
196
+ # Special omnipresent mandatory rules for dot 5 to avoid punctuation ending
197
+ # ambiguity. Closing quotation, question marks, or both.
198
+
199
+ endword ?" 5-26-236
200
+ endword " 5-236
201
+ endword ? 5-26
202
+
203
+ # single cell word contractions, single letters
204
+
205
+ word bien 12
206
+ word con 14
207
+ word de 145
208
+ word el 15
209
+ word fue 124
210
+ word gran 1245
211
+ word haber 125
212
+ word si 24
213
+ word jamás 245
214
+ word al 13
215
+ word le 123
216
+ word me 134
217
+ word no 1345
218
+ word año 12456
219
+ word por 1234
220
+ word que 12345
221
+ word ser 1235
222
+ word se 234
223
+ word te 2345
224
+ word un 136
225
+ word vez 1236
226
+ word como 2456
227
+ word son 1346
228
+ word este 1356
229
+
230
+ # single cell contractions based on signs and accented letters
231
+
232
+ word las 12346
233
+ word ella 123456
234
+ word mas 134-12346
235
+ word él 2346
236
+ word según 23456
237
+ word para 16
238
+ word siempre 126
239
+ word ante 146
240
+ word cada 1456
241
+ word muy 156
242
+ word es 1246
243
+ word pues 1256
244
+ word los 246
245
+ word sobre 23
246
+ word del 256
247
+ word en 26
248
+ word pero 235
249
+ word grado 2356
250
+ word hace 236
251
+ word sin 35
252
+ word entre 356
253
+ word la 3
254
+ word lo 36
255
+ word número 3456
256
+ word sí 34
257
+ word aquel 346
258
+ word su 345
259
+
260
+ # common derivative plurals and endings based on these contractions
261
+
262
+ # pronouns first
263
+
264
+ word estos 1356-246
265
+ word estas 1356-12346
266
+ word eso 1246-135
267
+ word esa 1246-1
268
+ word esos 1246-246
269
+ word ésas 1246-12346
270
+ word aquello 346-135
271
+ word aquella 346-1
272
+ word aquellas 346-12346
273
+ word aquellos 346-246
274
+
275
+ # two sign words
276
+
277
+ word bienes 12-1246
278
+ word ello 123456-135
279
+ word ellas 123456-12346
280
+ word ellos 123456-246
281
+ word una 136-1
282
+ word uno 136-135
283
+ word unos 136-246
284
+ word unas 136-12346
285
+ word ese 1246-15
286
+ word años 12456-246
287
+ word grados 2356-246
288
+ word números 3456-246
289
+ word seres 234-1246
290
+ word sones 1346-1246
291
+ word hacer 236-1235
292
+ word hacen 236-1345
293
+ word hacemos 236-134-246
294
+
295
+ # dot 5 as stenographic accentuator for a few of those words
296
+
297
+ word qué 5-12345
298
+ word sé 5-234
299
+ word cómo 5-2456
300
+ word más 12356
301
+ word e 5-15
302
+ word u 5-136
303
+
304
+ # abbreviations consisting of two or more signs
305
+
306
+ # letter a
307
+ word absoluto 1-12
308
+ word acaso 1-14
309
+ word acerca 1-14-14
310
+ word apenas 1-1234
311
+ word aunque 1-136
312
+ word atrás 1-356
313
+ # acción is added at the word endings
314
+
315
+ # letter b
316
+
317
+ word buena 12-1
318
+ word bajo 12-245
319
+ word buenamente 12-134
320
+ word buen 12-1345
321
+ word bueno 12-135
322
+ word bastante 12-2345
323
+ sufword bondad 12-1456
324
+
325
+ # letter c
326
+
327
+ contraction cc
328
+
329
+ # this specific word has potential back translation problems
330
+ sufword cerca 14-14
331
+ contraction cd
332
+ word cuando 14-145
333
+ word ciego 14-1245
334
+ word cual 14-123
335
+ word cualquier 14-12345
336
+ word cualquiera 14-12345-1
337
+ word casi 14-234
338
+ word cierto 14-2345
339
+ word cuanto 14-136
340
+ word cuyo 14-13456
341
+
342
+ # letter d
343
+
344
+ word debajo 145-12-245
345
+ contraction dc
346
+ sufword decía 145-14
347
+ prfword decían 145-14-1345
348
+ word donde 145-145
349
+ word dondequiera 145-145-12345
350
+ contraction df
351
+ sufword difícil 145-124
352
+ prfword diferencia 145-124-14
353
+ prfword diferente 145-124-2345
354
+ prfword dijo 145-245
355
+ word delante 145-123
356
+ prfword demás 145-134
357
+ word demasiado 145-134-145
358
+ word después 145-1234
359
+ word desde 145-234
360
+ word durante 145-136
361
+ word detrás 145-356
362
+
363
+ # letter e
364
+
365
+ word efecto 15-124
366
+ word efectivo 15-124-1236
367
+ sufword efectividad 15-124-1236-1456
368
+ word ejemplo 15-245
369
+ sufword ejemplar 15-245-1235
370
+
371
+ # letter f
372
+
373
+ sufword favor 124-1236
374
+ sufword fácil 124-12356
375
+ sufword facilidad 124-1456
376
+
377
+ # letter g
378
+
379
+ # this specific word conflicts with back translation but many words in the language can contract it
380
+ noback always grande 1245-145
381
+ sufword general 1245-1345
382
+ sufword generalidad 1245-1345-1456
383
+
384
+ # letter h
385
+
386
+ word había 125-12
387
+ contraction hbd
388
+ word habido 125-12-145
389
+ word habían 125-12-1345
390
+ word hacia 125-14
391
+ word hijo 125-245
392
+ contraction hm
393
+ word hermano 125-134
394
+ word hasta 125-234
395
+ contraction ht
396
+ word historia 125-2345
397
+ word haya 125-13456
398
+ word hayan 125-13456-1345
399
+ word hombre 125-2456
400
+
401
+ # letter i
402
+
403
+ sufword igual 24-1245
404
+ sufword igualdad 24-1245-1456
405
+
406
+ # leter j
407
+
408
+ word junto 245-2345
409
+ word joven 245-1236
410
+ sufword juventud 245-1236-2345
411
+
412
+ # letter k
413
+
414
+ contraction kg
415
+ word algo 13-1245
416
+ word alguien 13-1245-1345
417
+ word algún 13-1345
418
+ word alguna 13-1345-1
419
+ word alguno 13-1345-135
420
+ sufword alrededor 13-1235
421
+
422
+ # letter l
423
+
424
+ contraction lg
425
+ word largo 123-1245
426
+ word lejos 123-245
427
+ contraction lu
428
+ sufword lugar 123-136
429
+ word luego 123-1256
430
+ word luegos 123-1256-234
431
+
432
+ # letter m
433
+
434
+ contraction ma
435
+ prfword madre 134-1
436
+ prfword medio 134-145
437
+ always mediante 134-145-2345
438
+ sufword mejor 134-245
439
+ contraction mm
440
+ word mismo 134-134
441
+ word manera 134-1345
442
+ word menos 134-234
443
+ sufword mujer 134-136
444
+ sufword mayor 134-13456
445
+ word mayoría 134-13456-1235
446
+ word mientras 134-356
447
+
448
+ # letter n
449
+
450
+ word nunca 1345-14
451
+ word necesario 1345-14-1235
452
+ sufword necesidad 1345-14-1456
453
+ word nadie 1345-145
454
+ word ningún 1345-1245
455
+ word ninguna 1345-1245-1
456
+ word ninguno 1345-1245-135
457
+ sufword natural 1345-2345
458
+ word naturaleza 1345-2345-1356
459
+ word naturalidad 1345-2345-1456
460
+ word nuevo 1345-1236
461
+ sufword novedad 1345-1236-1456
462
+ prfword nada 1345-1456
463
+ word niño 1345-12456
464
+ word nuestro 1345-1256
465
+
466
+ # letter o
467
+
468
+ sufword oficio 135-124
469
+ sufword oficial 135-124-123
470
+ word oportuno 135-1234
471
+ sufword oportunidad 135-1234-1456
472
+ word otro 135-356
473
+ word ocasión 135-3456
474
+
475
+ # letter p
476
+
477
+ word padre 1234-1
478
+ contraction pc
479
+ word poco 1234-14
480
+ word podía 1234-145
481
+ word podían 1234-145-1345
482
+ sufword persona 1234-1345
483
+ word personalidad 1234-1345-1456
484
+ word porque 1234-12345
485
+ word poder 1234-1235
486
+ word pequeño 1234-12456
487
+ word puede 1234-1256
488
+
489
+ # letter q
490
+
491
+ word quien 12345-1345
492
+
493
+ # letter r
494
+
495
+ word relación 1235-123
496
+ word relativo 1235-123-1236
497
+ word relatividad 1235-123-1236-1456
498
+ word relatividades 1235-123-1236-1456-1246
499
+ word razón 1235-1356
500
+
501
+ # letter s
502
+
503
+ word sido 234-145
504
+ prfword siguiente 234-1245
505
+ word solo 234-123
506
+ word sino 234-1345
507
+ word superior 234-1234
508
+ word superioridad 234-1234-1456
509
+ word siquiera 234-12345
510
+ word sitio 234-2345
511
+ word situación 234-2345-3456
512
+ word suyo 234-13456
513
+
514
+ # letter t
515
+
516
+ word también 2345-12
517
+ word todo 2345-145
518
+ word tenía 2345-1345
519
+ word tenido 2345-1345-145
520
+ word tenían 2345-1345-1345
521
+ word tiempo 2345-1234
522
+ word tampoco 2345-1234-14
523
+ sufword temporal 2345-1234-123
524
+ word tener 2345-1235
525
+ word tanto 2345-2345
526
+ contraction tv
527
+ word todavía 2345-1236
528
+ word tuyo 2345-13456
529
+
530
+ # letter v
531
+
532
+ word veces 1236-14
533
+ word vida 1236-145
534
+ prfword verdad 1236-1456
535
+ word vuestro 1236-1256
536
+
537
+ # letter x
538
+
539
+ sufword exterior 1346-1235
540
+
541
+ # u acute
542
+
543
+ word único 23456-14
544
+ word último 23456-123
545
+
546
+ # misc symbols
547
+
548
+ word arriba 16-1235
549
+ sufword anterior 146-1235
550
+ sufword anterioridad 146-1235-1456
551
+ word antes 146-234
552
+ word adelante 1456-123
553
+ word además 1456-134
554
+ word estaba 1246-12
555
+ word estaban 1246-12-1345
556
+ word estado 1246-145
557
+ word están 1246-1345
558
+ word estando 1246-1345-145
559
+ word estar 1246-1235
560
+ word está 1246-2345
561
+ word estuvo 1246-1236
562
+ sufword abajo 2-345
563
+ word breve 23-1236
564
+ word brevedad 23-1236-1456
565
+ word condición 25-145-3456
566
+ word conmigo 25-134
567
+ word consigo 25-234
568
+ word consecuencia 25-234-14
569
+ prfword consecuente 25-324-2345
570
+ word contigo 25-2345
571
+ prfword contra 25-356
572
+ word contrario 25-356-1235
573
+ word contrariedad 25-356-1235-1456
574
+ word encima 26-14
575
+ word entonces 26-2345
576
+ word principio 235-14
577
+ word principal 235-14-123
578
+ word propio 235-1234
579
+ sufword propiedad 235-1234-1456
580
+ word pronto 235-2345
581
+ sufword hacía 236-14
582
+ word hacían 236-14-1345
583
+ sufword hacer 236-1235
584
+ sufword inferior 35-124
585
+ sufword inferioridad 35-124-1456
586
+ word inmediato 35-134
587
+ sufword interior 35-1235
588
+ sufword interioridad 35-1235-1456
589
+ word interés 35-2345
590
+ word interesante 35-2345-2345
591
+ word trabajo 356-12
592
+ word trabajar 356-12-1235
593
+ word trabajador 356-12-156
594
+ word entretanto 356-2345
595
+ word numeroso 3456-234
596
+ word ahora 4-125
597
+ word mucho 4-134
598
+ word nosotros 45-1345
599
+ word vosotros 45-1236
600
+ word importancia 345-1234-14
601
+ word importante 345-1234-2345
602
+ word sus 345-234
603
+
604
+ # plurals, common derivatives and accentuations for every one of these words when needed
605
+
606
+ word absolutos 1-12-246
607
+ word absolutas 1-12-246
608
+ word absolutamente 1-12-134
609
+ word acciones 1-3456-1246
610
+ word accionando 1-3456-146-145
611
+ word bajos 12-245-246
612
+ word bajas 12-245-12346
613
+ word bajes 12-245-1246
614
+ word buenos 12-1345-246
615
+ word buenas 12-1345-12346
616
+ word buenamente 12-1345-134
617
+ word bastantes 12-2345-1246
618
+ word bondades 12-1456-1246
619
+ word cercas 14-14-12346
620
+ word ciegas 14-1245-12346
621
+ word ciegos 14-1245-246
622
+ word ciegamente 14-1245-134
623
+ word cierta 14-2345-1
624
+ word ciertas 14-2345-12346
625
+ prfword ciertos 14-2345-246
626
+ word ciertamente 14-2345-134
627
+ word concierto 25-14-2345
628
+ word cuales 14-123-1246
629
+ word cuál 5-14-123
630
+ word cuáles 5-14-123-1246
631
+ word cuánto 5-14-136
632
+ word cuántos 5-14-136-246
633
+ word cuántas 5-14-136-12346
634
+ word cuantas 14-136-12346
635
+ word cuantos 14-136-246
636
+ word cuya 14-13456-1
637
+ word cuyas 14-13456-12346
638
+ word cuyos 14-13456-246
639
+ word dónde 5-145-145
640
+ prfword diferencias 145-124-14-12346
641
+ prfword diferentes 145-124-2345-1246
642
+ word demasiados 145-134-145-246
643
+ word demasiadas 145-134-145-12346
644
+ word efectos 15-124-246
645
+ word efectivos 15-124-1236-246
646
+ word efectivas 15-124-1236-12346
647
+ word efectiva 15-124-1236-a
648
+ word efectivamente 15-124-1236-134
649
+ word ejemplos 15-245-246
650
+ word favores 124-1236-1246
651
+ word grandes 1245-145-1246
652
+ word hijos 125-245-246
653
+ word hijas 125-245-12346
654
+ word hermanos 125-134-246
655
+ word hermanas 125-134-12346
656
+ word hermana 125-134-1
657
+ word hermanastra 125-134-1-234-356-1
658
+ word hermanastro 125-134-1-234-356-135
659
+ word hermanastras 125-134-1-234-356-12346
660
+ word hermanastros 125-134-1-234-356-246
661
+ word historias 125-2345-12346
662
+ word prehistoria 235-125-2345
663
+ word prehistorias 235-125-2345-12346
664
+ word hombres 125-2456-1246
665
+ word juntos 245-2345-246
666
+ word juntas 245-2345-12346
667
+ word junta 245-2345-1
668
+ word conjunto 25-245-2345
669
+ word conjuntos 25-245-2345-246
670
+ word conjuntas 25-245-2345-12346
671
+ word conjunta 25-245-2345-1
672
+ word disjuntos 256-245-2345-246
673
+ word disjuntas 256-245-2345-12346
674
+ word algunas 13-1345-12346
675
+ word algunos 13-1345-246
676
+ word largos 123-1245-246
677
+ word largas 123-1245-12346
678
+ word madres 134-1-1246
679
+ prfword medias 134-145-12346
680
+ prfword medios 134-145-246
681
+ word misma 134-134-1
682
+ word mismas 134-134-12346
683
+ word mismos 134-134-246
684
+ word maneras 134-1345-12346
685
+ word sobremanera 23-134-1345
686
+ word necesarias 1345-14-1235-12346
687
+ word necesarios 1345-14-1235-246
688
+ word necesariamente 1345-14-1235-134
689
+ word naturalezas 1345-2345-1356-12346
690
+ word nuevas 1345-1236-12346
691
+ word nuevos 1345-1236-246
692
+ word nuevamente 1345-1236-134
693
+ word niña 1345-12456-1
694
+ word niñas 1345-12456-12346
695
+ word niños 1345-12456-246
696
+ word nuestras 1345-136-12346
697
+ word nuestros 1345-136-246
698
+ sufword oficios 135-124-246
699
+ sufword extraoficial 1346-2345-1235-1-135-124-123
700
+ word oportunas 135-1234-12346
701
+ word oportunos 135-1234-246
702
+ word inoportuno 35-135-1234
703
+ word inoportunos 35-135-1234-246
704
+ sufword inoportuna 35-135-1234-1
705
+ word inoportunas 35-135-1234-12346
706
+ sufword inoportunidad 35-135-1234-1456
707
+ word jóvenes 245-1236-1246
708
+ word otras 135-356-12346
709
+ word otros 135-356-246
710
+ word ocasiones 135-3456-1246
711
+ word ocasionalmente 135-3456-13-134
712
+ word padres 1234-1-1246
713
+ word compadre 36-1234-1-1246
714
+ word compadres 36-1234-1-1246
715
+ word poca 1234-14-1
716
+ word pocas 1234-14-12346
717
+ word pocos 1234-14-246
718
+ word personas 1234-1345-12346
719
+ word pequeña 1234-12456-1
720
+ word pequeñas 1234-12456-12346
721
+ word pequeños 1234-12456-246
722
+ word pequeñez 1234-12456-15-1356
723
+ word pequeñeces 1234-12456-15-14-1246
724
+ word pueden 1234-1256-1345
725
+ word puedes 1234-1256-234
726
+ prfword quién 5-12345-1345
727
+ word relaciones 1235-123-1246
728
+ word relacionando 1235-123-146-145
729
+ word relativa 1235-123-1236-1
730
+ word relativas 1235-123-1236-12346
731
+ word relativos 1235-123-1236-246
732
+ word relativamente 1235-123-1236-1-134
733
+ word razones 1235-1356-1246
734
+ prfword razon 1235-1356
735
+ prfword siguientes 234-1245-1246
736
+ word solos 234-123-246
737
+ word solas 234-123-12346
738
+ word sólamente 234-123-1-134
739
+ word sola 234-123-1
740
+ word sitios 234-2345-246
741
+ word situaciones 234-2345-3456-1246
742
+ word suyas 234-13456-12346
743
+ word suyos 234-13456-246
744
+ word todas 2345-145-12346
745
+ word todos 2345-145-246
746
+ word sobretodo 23-2345-145
747
+ word contenía 25-2345-1345
748
+ word contenían 25-2345-1345-1345
749
+ word entretenía 356-2345-1345
750
+ word entretenían 356-2345-1345-1345
751
+ word retenía 1235-2345-1345
752
+ word retenían 1235-2345-1345-1345
753
+ word entretiempo 356-2345-1234
754
+ word tiempos 2345-1234-246
755
+ word entretiempos 356-2345-1234-246
756
+ word sobretiempo 23-2345-1234
757
+ word contener 25-2345-1235
758
+ word entretener 356-2345-1235
759
+ word tuyas 2345-13456-12346
760
+ word tuyos 2345-13456-246
761
+ word convida 25-1236-145
762
+ word convidas 25-1236-145-12346
763
+ word vidas 1236-145-12346
764
+ word vuestras 1236-1256-12346
765
+ word vuestros 1236-1256-246
766
+ word única 23456-14-1
767
+ word únicamente 23456-14-1-134
768
+ word únicas 23456-14-12346
769
+ word únicos 23456-14-246
770
+ word última 23456-123-1
771
+ word últimamente 23456-123-1-134
772
+ word últimas 23456-123-12346
773
+ word últimos 23456-123-246
774
+ word brevemente 23-1236-134
775
+ word breves 23-1236-1246
776
+ word brevedades 23-1236-1456-1246
777
+ word condiciones 25-145-3456-1246
778
+ word condicionalmente 25-145-3456-13-134
779
+ word incondicionalmente 35-25-145-3456-13-134
780
+ word consecuencias 25-234-14-12346
781
+ word principios 235-14-246
782
+ word propia 235-1234-1
783
+ word propiamente 235-1234-1-134
784
+ word propias 235-1234-12346
785
+ word propios 235-1234-246
786
+ word inmediatamente 35-134-1-134
787
+ word inmediatas 35-134-12346
788
+ word inmediata 35-134-1
789
+ word inmediatos 35-134-246
790
+ word inmediatez 35-134-15-1356
791
+ word intereses 35-2345-1246
792
+ word interesantemente 35-2345-2345-134
793
+ word interesantes 35-2345-2345-1246
794
+ word trabajas 356-12-12346
795
+ word trabajos 356-12-246
796
+ word numerosos 3456-246-246
797
+ word numerosas 3456-246-12346
798
+ word muchas 4-134-12346
799
+ word muchos 4-134-246
800
+ word nosotras 45-1345-12346
801
+ word vosotras 45-1236-12346
802
+ word importancias 345-1234-14-12346
803
+ word importantes 345-1234-2345-1246
804
+ word quienes 12345-1345-1246
805
+ word quiénes 5-12345-1345-1246
806
+ word quién 5-12345-1345
807
+
808
+ # general syllabic contractions
809
+
810
+ # Some rules to some contractions, starting with the x (contraction for on) should always
811
+ # go after consonants, not vowels. For this a class definition is used to group all
812
+ # consonants. Potential back translation issue here.
813
+
814
+ attribute consonants BbCcDdFfGgHhJjKkLlMmNnPpQqRrSsTtVvWwXxYyZzÑñ
815
+ after consonants always on 1346
816
+ # same applies to ion
817
+ after consonants always ion 3456
818
+ # The u e contraction may never be used after the letter g, avoids confussion with u
819
+ # diaeresis which is part of many words. More classes.
820
+ attribute euvowels Gg
821
+ after euvowels always eu 15-136
822
+ after euvowels always EU 15-136
823
+
824
+ # only exception to this contraction, avoids confussion with the Spanish comma at end of words
825
+
826
+ partword ad 1456
827
+ partword al 13
828
+ partword an 146
829
+ partword ar 16
830
+ partword as 12346
831
+ partword em 126
832
+ partword es 1246
833
+ partword im 345
834
+ partword ion 3456
835
+ partword om 2456
836
+ partword or 156
837
+ partword os 246
838
+ partword qu 12345
839
+ partword ue 1256
840
+
841
+ # word endings, including plurals. Some are formed using ES, others just the letter S.
842
+
843
+ prfword acción 1-3456
844
+ endword acciónes 1-3456-1246
845
+ endword ando 146-145
846
+ endword andos 146-145-234
847
+ endword ección 15-3456
848
+ endword ecciones 15-3456-1246
849
+ endword endo 26-145
850
+ endword endos 26-145-234
851
+ endword icción 24-3456
852
+ endword icciones 24-3456-1246
853
+ endword iendo 256-145
854
+ endword ión 3456
855
+ endword iones 3456-1246
856
+ endword mente 134
857
+ endword mentes 134-234
858
+ endword que 12345
859
+ endword ques 12345-234
860
+ endword ucción 136-3456
861
+ endword ucciones 136-3456-1246
862
+
863
+ # Word beginnings may not be followed by vowels (to avoid confussion with punctuation
864
+ # signs), including accented ones. More classes follow.
865
+ attribute vowels AaEeIiOoUuÁáÉéÍíÓóÚúÜü
866
+
867
+ # Setting the exceptions, though note that this will not work when back translating but it
868
+ # willb e needed in a few cases.
869
+ before vowels begword com 14-2456
870
+ before vowels begword con 14-1346
871
+ before vowels begword dis 145-24-234
872
+ before vowels begword entre 35-356-15
873
+ before vowels begword ex 15-1346
874
+ before vowels begword inter 35-2345-236
875
+ before vowels begword pre 1234-1235-15
876
+ before vowels begword re 1235-15
877
+ before vowels begword sobre 234-135-23-15
878
+
879
+ # word beginnings
880
+
881
+ begword com 36
882
+ begword con 25
883
+ begword dis 256
884
+ begword entre 356
885
+ begword ex 1346
886
+ begword inter 13456
887
+ begword pre 235
888
+ begword re 1235
889
+ begword sobre 23
890
+
891
+ # The consonant which follows a word beginning may not be contracted. Not many exceptions so setting them one by one.
892
+
893
+ begword compr 36-1234-1235
894
+ begword contr 25-2345-1235
895
+ begword consu 25-234-136
896
+ begword congr 25-1245-1235
897
+ begword concr 25-14-1235
898
+ begword condr 25-145-1235
899
+ begword disgr 245-1245-1235
900
+ begword distr 256-2345-1235
901
+ begword entrecr 356-14-1235
902
+ begword extr 1346-3245-1235
903
+ begword expr 1346-1234-1235
904
+ begword interpr 13456-1234-1235
905
+ begword intergr 13456-1245-1235
906
+ begword pregr 235-1245-1235
907
+ begword prepr 235-1234-1235
908
+ begword retr 1235-2345-1235
909
+ begword repr 1235-1234-1235
910
+ begword regr 1235-1245-1235
911
+ begword recr 1235-14-1235
912
+ begword rebr 1235-12-1235
913
+ begword redr 1235-145-1235
914
+ begword sobrepr 23-1234-1235
915
+
916
+ # A word beginning should be followed by at least a consonant and a vowel or a consonant
917
+ # and a stenographic contraction. Some words are thus entirely uncontracted. Again, very
918
+ # few ones in the language.
919
+
920
+ word red 1235-15-145
921
+ word rey 1235-15-13456
922
+ word res 1235-15-234
923
+ word sobren 234-135-23-25
924
+ word extra 1346-2345-1235-1
925
+ word sobres 234-135-23-1246
926
+
927
+ # exceptions to the entire table, words which may never be contracted or brailled
928
+ # differently to avoid confussion with other contracted words
929
+ word vodca 1236-135-14-145-1
930
+ word entrenen 15-1345-356-26-26
931
+ word as 1-234
932
+ word os 135-234
933
+ word ion 24-135-1345
934
+
935
+ # Whenever some partword contractions overlap, such as ad and dr, in a single word
936
+ # (ladrillo) the dr contraction is preferred. Setting the only six cases where this can
937
+ # occur.
938
+
939
+ always adr 1-256
940
+ always uen 136-26
941
+ always quem 12345-126
942
+ always uem 136-126
943
+ always uer 136-236
944
+ always ues 136-1246
945
+
946
+ # some cases for word endings (prioritization)
947
+
948
+ endword emando 126-146-145
949
+ endword emandos 126-146-145-234
950
+ endword imando 345-146-145
951
+ endword imandos 345-146-145-234
952
+ endword emente 15-134
953
+ endword ementes 15-134-234
954
+ endword imente 24-134
955
+ endword imentes 24-134-234