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,20 @@
1
+ #-index-name: Portuguese, contracted
2
+ #-display-name: Portuguese contracted braille
3
+
4
+ #+language:pt
5
+ #+type:literary
6
+ #+contraction:full
7
+ #+grade:2
8
+ #+version: 2002
9
+
10
+ # TODO: Please correct the metadata above. It is not meant to be
11
+ # accurate nor complete. It hasn't been verified by the table
12
+ # author yet. It is merely an attempt by the liblouis maintainers
13
+ # to get some sensible initial values in place.
14
+
15
+ # TODO: Please add a reference to official documentation about
16
+ # the implemented braille code. Preferably submit the documents
17
+ # to https://github.com/liblouis/braille-specs.
18
+
19
+ include pt-pt-g2.ctb
20
+ include braille-patterns.cti
@@ -0,0 +1,42 @@
1
+ # This table contains braille codes and rules for Punjabi Grade 1 and includes English grade 1
2
+ #
3
+ # Copyright (C) 2014,2022 National Institute for Visually Handicapped, 116, Rajpur Road, Dehradun, Uttrakhand, India
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
+ # This table is built and maintained under an activity of Braille Council of India
22
+ # Contributors: Dipendra Manocha, Sreeja, Dinesh Kaushal, Mesar Hameed, Jake Kyle (Compass Braille, UK)
23
+ # Last updated on May 23, 2022
24
+ # To report any bugs or any suggestion, please write to dmanocha@daisy.org and sreeja.param@gmail.com
25
+
26
+ include gurumuki.cti
27
+
28
+ # Following needed to override rules in en-in-g1.ctb table
29
+
30
+ word “ 236
31
+ word ? 236
32
+ always , 2
33
+
34
+ always \x0A2D\x0A30 45-1235 # BHA + RA - needed to override ® in en-in-g1.ctb table
35
+ always \x0A16 46 # KHA - needed to override . (period) in en-in-g1.ctb table
36
+ always \x0A1D 356 # JHA - needed to override " (close quotes) in en-in-g1.ctb table
37
+ always \x0A16\x002C 46-2 # needed to override > (less-than sign) in en-in-g1.ctb table
38
+ always \x0A16\x0A2E 46-134 # needed to override µ (micro sign) in en-in-g1.ctb table
39
+ always \x0A2B 235 # needed to override ! in en-in-g1.ctb table
40
+
41
+
42
+ include en-in-g1.ctb
@@ -0,0 +1,30 @@
1
+ # Copyright (C) 2025 by Bert Frees
2
+ #
3
+ # This file is part of liblouis.
4
+ #
5
+ # liblouis is free software: you can redistribute it and/or modify it
6
+ # under the terms of the GNU Lesser General Public License as
7
+ # published by the Free Software Foundation, either version 2.1 of the
8
+ # License, or (at your option) any later version.
9
+ #
10
+ # liblouis is distributed in the hope that it will be useful, but
11
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with liblouis. If not, see
17
+ # <http://www.gnu.org/licenses/>.
18
+ #
19
+ # Include this table to detect pairs of quotation marks and replace
20
+ # them with opening and closing variants in the `correct' phase.
21
+
22
+ # replace APOSTROPHE with RIGHT SINGLE QUOTATION MARK when it marks the end of a quotation
23
+
24
+ noback correct "‘" *#1=2
25
+ noback correct "’" *#1=0
26
+ noback correct #1=0`["'"]!$sp "'"#1=1
27
+ noback correct #1=0_$sp["'"]!$sp "'"#1=1
28
+ noback correct #1=1_!$sp["'"]$sp "’"#1=0
29
+ noback correct #1=1_!$sp["'"]~ "’"#1=0
30
+
@@ -0,0 +1,85 @@
1
+ #
2
+ # liblouis: Uncontracted braille table for Romanian.
3
+ #
4
+ # Copyright (C) 2023 by BAUM Engineering <liblouis@baum.ro>
5
+ #
6
+ # This file is part of liblouis.
7
+ #
8
+ # liblouis is free software: you can redistribute it and/or modify it
9
+ # under the terms of the GNU Lesser General Public License as
10
+ # published by the Free Software Foundation, either version 2.1 of the
11
+ # License, or (at your option) any later version.
12
+ #
13
+ # liblouis is distributed in the hope that it will be useful, but
14
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ # Lesser General Public License for more details.
17
+ #
18
+ # You should have received a copy of the GNU Lesser General Public
19
+ # License along with liblouis. If not, see
20
+ # <http://www.gnu.org/licenses/>.
21
+
22
+ #-index-name: Romanian, uncontracted
23
+ #-display-name: Romanian braille
24
+
25
+ #+language: ro
26
+ #+type: literary
27
+ #+dots: 6
28
+ #+contraction: no
29
+ #+grade: 0
30
+ #+direction:both
31
+
32
+ #-license: LGPLv2.1
33
+ #-author: BAUM Engineering <liblouis@baum.ro>
34
+ #-maintainer: BAUM Engineering <liblouis@baum.ro>
35
+
36
+ # This table is based on the French uncontracted braille table and was
37
+ # created with the help of Gosa Tudor, Papp Levente, Trutiu Florin and
38
+ # Patru Aurel from BAUM Engineering Romania. It has been tested and
39
+ # used in multiple schools and associations.
40
+
41
+ # Unfortunately there is no official documentation for Romanian braille as there
42
+ # are no universal rules that apply. There are different rules based on
43
+ # different regions or schools.
44
+
45
+ # This table was made by us in collaboration with a local blind teacher and we
46
+ # also distributed it for the last 2 years.
47
+
48
+ # Romanian characters
49
+ lowercase \x00e2 126 LATIN LETTER A WITH CIRCUMFLEX
50
+ lowercase \x00ee 146 LATIN LETTER I WITH CIRCUMFLEX
51
+ lowercase \x0103 16 LATIN LETTER A WITH BREVE
52
+ lowercase \x0219 156 LATIN LETTER S WITH COMMA BELOW
53
+ lowercase \x021b 246 LATIN LETTER T WITH COMMA BELOW
54
+ lowercase \x015f 156 LATIN LETTER S WITH CEDILLA
55
+ lowercase \x0163 246 LATIN LETTER T WITH CEDILLA
56
+
57
+ base uppercase \x00c2 \x00e2 LATIN LETTER A WITH CIRCUMFLEX
58
+ base uppercase \x00ce \x00ee LATIN LETTER I WITH CIRCUMFLEX
59
+ base uppercase \x0102 \x0103 LATIN LETTER A WITH BREVE
60
+ base uppercase \x0218 \x0219 LATIN LETTER S WITH COMMA BELOW
61
+ base uppercase \x021a \x021b LATIN LETTER T WITH COMMA BELOW
62
+ base uppercase \x015e \x015f LATIN LETTER S WITH CEDILLA
63
+ base uppercase \x0162 \x0163 LATIN LETTER T WITH CEDILLA
64
+
65
+ # Differences with French
66
+ punctuation " 236
67
+ punctuation # 3456
68
+ punctuation ( 126
69
+ punctuation ) 345
70
+ punctuation « 236
71
+ punctuation » 236
72
+ punctuation [ 45-2356
73
+ comp6 [ 45-2356
74
+ punctuation ] 2356-12
75
+ comp6 ] 2356-12
76
+ punctuation { 6-2356
77
+ punctuation } 2356-3
78
+
79
+ include latinLetterDef6Dots.uti
80
+ include digits6Dots.uti
81
+ include litdigits6Dots.uti
82
+
83
+ include fr-bfu-comp6.utb
84
+
85
+ numsign 3456
@@ -0,0 +1,126 @@
1
+ #
2
+ # Copyright (C) 1995-2008 by The BRLTTY Developers.
3
+ #
4
+ # This file is part of liblouis.
5
+ #
6
+ # liblouis is free software: you can redistribute it and/or modify it
7
+ # under the terms of the GNU Lesser General Public License as
8
+ # published by the Free Software Foundation, either version 2.1 of the
9
+ # License, or (at your option) any later version.
10
+ #
11
+ # liblouis is distributed in the hope that it will be useful, but
12
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ # Lesser General Public License for more details.
15
+ #
16
+ # You should have received a copy of the GNU Lesser General Public
17
+ # License along with liblouis. If not, see
18
+ # <http://www.gnu.org/licenses/>.
19
+
20
+ # BRLTTY Text Table - Romanian
21
+ #
22
+ # Samuel Thibault <samuel.thibault@ens-lyon.org>
23
+ #
24
+ # Updated by Stefan Moisei <vortex37 {at} gmail {dot} com>
25
+ #
26
+ # This table is based on the Unesco report on the progress of unification of
27
+ # braille writing « L'ÉCRITURE BRAILLE DANS LE MONDE », by Sir Clutha
28
+ # MACKENZIE: http://unesdoc.unesco.org/images/0013/001352/135251fo.pdf
29
+ # The document is dated 1954, so this table may be quite outdated.
30
+
31
+ # generated by ttbtest
32
+ space \s 0 SPACE
33
+ punctuation ~ 45 TILDE
34
+ punctuation | 4568 VERTICAL LINE
35
+ punctuation _ 456 LOW LINE
36
+ punctuation [ 12356 LEFT SQUARE BRACKET
37
+ punctuation \\ 176 REVERSE SOLIDUS
38
+ punctuation ] 23456 RIGHT SQUARE BRAKET
39
+ punctuation @ 47 COMMERCIAL AT
40
+ punctuation = 2356 EQUALS SIGN
41
+ punctuation # 3456 NUMBER SIGN
42
+ punctuation / 34 SOLIDUS
43
+ punctuation * 26 ASTERISK
44
+ punctuation + 235 PLUS SIGN
45
+ punctuation % 356 PERCENT SIGN
46
+ punctuation ! 235 EXCLAMATION MARK
47
+ punctuation " 2356 QUOTATION MARK
48
+ punctuation \x201e 236 LEFT QUOTE
49
+ punctuation \x201d 356 RIGHT QUOTE
50
+ punctuation ' 3 APOSTROPHE
51
+ punctuation ( 126 LEFT PARENTHESIS
52
+ punctuation ) 345 RIGHT PARENTHESIS
53
+ punctuation , 2 COMMA
54
+ punctuation - 36 HYPHEN-MINUS
55
+ punctuation . 256 FULL STOP
56
+ include digits8Dots.uti
57
+ punctuation : 25 COLON
58
+ punctuation ; 23 SEMICOLON
59
+ punctuation ? 26 QUESTION MARK
60
+ uppercase A 17 LATIN CAPITAL LETTER A
61
+ uppercase B 127 LATIN CAPITAL LETTER B
62
+ uppercase C 147 LATIN CAPITAL LETTER C
63
+ uppercase D 1457 LATIN CAPITAL LETTER D
64
+ uppercase E 157 LATIN CAPITAL LETTER E
65
+ uppercase F 1247 LATIN CAPITAL LETTER F
66
+ uppercase G 12457 LATIN CAPITAL LETTER G
67
+ uppercase H 1257 LATIN CAPITAL LETTER H
68
+ uppercase I 247 LATIN CAPITAL LETTER I
69
+ uppercase J 2457 LATIN CAPITAL LETTER J
70
+ uppercase K 137 LATIN CAPITAL LETTER K
71
+ uppercase L 1237 LATIN CAPITAL LETTER L
72
+ uppercase M 1347 LATIN CAPITAL LETTER M
73
+ uppercase N 13457 LATIN CAPITAL LETTER N
74
+ uppercase O 1357 LATIN CAPITAL LETTER O
75
+ uppercase P 12347 LATIN CAPITAL LETTER P
76
+ uppercase Q 123457 LATIN CAPITAL LETTER Q
77
+ uppercase R 12357 LATIN CAPITAL LETTER R
78
+ uppercase S 2347 LATIN CAPITAL LETTER S
79
+ uppercase T 23457 LATIN CAPITAL LETTER T
80
+ uppercase U 1367 LATIN CAPITAL LETTER U
81
+ uppercase V 12367 LATIN CAPITAL LETTER V
82
+ uppercase W 24567 LATIN CAPITAL LETTER W
83
+ uppercase X 13467 LATIN CAPITAL LETTER X
84
+ uppercase Y 134567 LATIN CAPITAL LETTER Y
85
+ uppercase Z 13567 LATIN CAPITAL LETTER Z
86
+ lowercase a 1 LATIN SMALL LETTER A
87
+ lowercase b 12 LATIN SMALL LETTER B
88
+ lowercase c 14 LATIN SMALL LETTER C
89
+ lowercase d 145 LATIN SMALL LETTER D
90
+ lowercase e 15 LATIN SMALL LETTER E
91
+ lowercase f 124 LATIN SMALL LETTER F
92
+ lowercase g 1245 LATIN SMALL LETTER G
93
+ lowercase h 125 LATIN SMALL LETTER H
94
+ lowercase i 24 LATIN SMALL LETTER I
95
+ lowercase j 245 LATIN SMALL LETTER J
96
+ lowercase k 13 LATIN SMALL LETTER K
97
+ lowercase l 123 LATIN SMALL LETTER L
98
+ lowercase m 134 LATIN SMALL LETTER M
99
+ lowercase n 1345 LATIN SMALL LETTER N
100
+ lowercase o 135 LATIN SMALL LETTER O
101
+ lowercase p 1234 LATIN SMALL LETTER P
102
+ lowercase q 12345 LATIN SMALL LETTER Q
103
+ lowercase r 1235 LATIN SMALL LETTER R
104
+ lowercase s 234 LATIN SMALL LETTER S
105
+ lowercase t 2345 LATIN SMALL LETTER T
106
+ lowercase u 136 LATIN SMALL LETTER U
107
+ lowercase v 1236 LATIN SMALL LETTER V
108
+ lowercase w 2456 LATIN SMALL LETTER W
109
+ lowercase x 1346 LATIN SMALL LETTER X
110
+ lowercase y 13456 LATIN SMALL LETTER Y
111
+ lowercase z 1356 LATIN SMALL LETTER Z
112
+ punctuation \x00a0 0 NO-BREAK SPACE
113
+ uppercase \x00c2 1267 LATIN CAPITAL LETTER A WITH CIRCUMFLEX
114
+ uppercase \x00ce 1467 LATIN CAPITAL LETTER I WITH CIRCUMFLEX
115
+ lowercase \x00e2 126 LATIN SMALL LETTER A WITH CIRCUMFLEX
116
+ lowercase \x00ee 146 LATIN SMALL LETTER I WITH CIRCUMFLEX
117
+ uppercase \x0102 167 LATIN CAPITAL LETTER A WITH BREVE
118
+ lowercase \x0103 16 LATIN SMALL LETTER A WITH BREVE
119
+ uppercase \x015e 1567 LATIN CAPITAL LETTER S WITH CEDILLA
120
+ lowercase \x015f 156 LATIN SMALL LETTER S WITH CEDILLA
121
+ uppercase \x0162 2467 LATIN CAPITAL LETTER T WITH CEDILLA
122
+ lowercase \x0163 246 LATIN SMALL LETTER T WITH CEDILLA
123
+ uppercase \x0218 1567 LATIN CAPITAL LETTER S WITH COMMA BELOW
124
+ lowercase \x0219 156 LATIN CAPITAL LETTER S WITH COMMA BELOW
125
+ uppercase \x021a 2467 LATIN CAPITAL LETTER T WITH COMMA BELOW
126
+ lowercase \x021b 246 LATIN SMALL LETTER T WITH COMMA BELLOW
@@ -0,0 +1,21 @@
1
+ #-index-name: Romanian, computer
2
+ #-display-name: Romanian computer braille
3
+
4
+ #+language:ro
5
+ #+type:computer
6
+ #+dots:8
7
+ # Marked as "direction:both" by Bue Vester-Andersen
8
+ # as it is a computer Braille table.
9
+ #+direction:both
10
+
11
+ # TODO: Please correct the metadata above. It is not meant to be
12
+ # accurate nor complete. It hasn't been verified by the table
13
+ # author yet. It is merely an attempt by the liblouis maintainers
14
+ # to get some sensible initial values in place.
15
+
16
+ # TODO: Please add a reference to official documentation about
17
+ # the implemented braille code. Preferably submit the documents
18
+ # to https://github.com/liblouis/braille-specs.
19
+
20
+ include ro.ctb
21
+ include braille-patterns.cti
@@ -0,0 +1,116 @@
1
+ # Copyright (C) 2021 Andrey Yakuboy <braille@yakuboy.ru>
2
+ #
3
+ # This file is part of liblouis.
4
+ #
5
+ # liblouis is free software: you can redistribute it and/or modify it
6
+ # under the terms of the GNU Lesser General Public License as
7
+ # published by the Free Software Foundation, either version 2.1 of the
8
+ # License, or (at your option) any later version.
9
+ #
10
+ # liblouis is distributed in the hope that it will be useful, but
11
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with liblouis. If not, see
17
+ # <http://www.gnu.org/licenses/>.
18
+
19
+ # This table maps the Cyrillic dot patterns that are defined in
20
+ # ru-litbrl.ctb and other Cyrillic tables with dots 7 and 9 to BrailleAscii.
21
+ # These dots are simply dropped.
22
+
23
+ # Note that ru-letters.dis maps Latin to lowercase letters and
24
+ # Cyrillic to uppercase letters. But in BrailleAscii this distinction can
25
+ # not be made because the Latin and Cyrillic alphabet are translated
26
+ # to the same dot patterns.
27
+
28
+ include en-us-brf.dis
29
+
30
+ display A 179
31
+ display B 1279
32
+ display C 1479
33
+ display D 14579
34
+ display E 1579
35
+ display F 12479
36
+ display G 124579
37
+ display H 12579
38
+ display I 2479
39
+ display J 24579
40
+ display K 1379
41
+ display L 12379
42
+ display M 13479
43
+ display N 134579
44
+ display O 13579
45
+ display P 123479
46
+ display Q 1234579
47
+ display R 123579
48
+ display S 23479
49
+ display T 234579
50
+ display U 13679
51
+ display W 245679
52
+ display X 134679
53
+ display Z 135679
54
+ display * 1679
55
+ display & 1234679
56
+ display : 15679
57
+ display ( 1235679
58
+ display ! 234679
59
+ display ) 2345679
60
+ display [ 24679
61
+ display \\ 125679
62
+ display $ 124679
63
+
64
+ display A 19
65
+ display B 129
66
+ display C 149
67
+ display D 1459
68
+ display E 159
69
+ display F 1249
70
+ display G 12459
71
+ display H 1259
72
+ display I 249
73
+ display J 2459
74
+ display K 139
75
+ display L 1239
76
+ display M 1349
77
+ display N 13459
78
+ display O 1359
79
+ display P 12349
80
+ display Q 123459
81
+ display R 12359
82
+ display S 2349
83
+ display T 23459
84
+ display U 1369
85
+ display W 24569
86
+ display X 13469
87
+ display Z 13569
88
+ display * 169
89
+ display & 123469
90
+ display : 1569
91
+ display ( 123569
92
+ display ! 23469
93
+ display ) 234569
94
+ display [ 2469
95
+ display \\ 12569
96
+ display $ 12469
97
+
98
+ display < 12679
99
+ display > 34579
100
+ display Y 1345679
101
+ display ? 145679
102
+ display ] 1245679
103
+ display % 14679
104
+ display / 3479
105
+ display + 34679
106
+ display V 123679
107
+
108
+ display < 1269
109
+ display > 3459
110
+ display Y 134569
111
+ display ? 14569
112
+ display ] 124569
113
+ display % 1469
114
+ display / 349
115
+ display + 3469
116
+ display V 12369
@@ -0,0 +1,258 @@
1
+ # liblouis: Russian translation table for program sources
2
+ #
3
+ # -----------
4
+ #-index-name: Russian, computer, 6-dot
5
+ #-display-name: Russian 6-dot computer braille
6
+ #
7
+ #+language: ru
8
+ #+type: computer
9
+ #+grade: 0
10
+ #+dots: 6
11
+ #
12
+ # TODO: Please add a reference to official documentation about
13
+ # the implemented braille code. Preferably submit the documents
14
+ # to https://github.com/liblouis/braille-specs.
15
+ # -----------
16
+ #
17
+ # Copyright (C) 2013 Igor B. Poretsky <poretsky@mlbox.ru>
18
+ #
19
+ # This file is part of liblouis.
20
+ #
21
+ # liblouis is free software: you can redistribute it and/or modify it
22
+ # under the terms of the GNU Lesser General Public License as
23
+ # published by the Free Software Foundation, either version 2.1 of
24
+ # the License, or (at your option) any later version.
25
+ #
26
+ # liblouis is distributed in the hope that it will be useful, but
27
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
29
+ # Lesser General Public License for more details.
30
+ #
31
+ # You should have received a copy of the GNU Lesser General Public
32
+ # License along with liblouis. If not, see
33
+ # <http://www.gnu.org/licenses/>.
34
+
35
+ # This table is not a computer braille in usual sense.
36
+ # It is intended for producing printable braille representation
37
+ # of a program source text, especially when it contains
38
+ # Russian comments or literals. Use it as an alternative
39
+ # literary braille table.
40
+
41
+ # Display and character definitions:
42
+ include ru-letters.dis
43
+
44
+ # Character definitions for unicode cyrillic letters.
45
+ # All dot-patterns have dot 9 set to make them distinguishable from the latins.
46
+ # Dot 7 indicates uppercase letters.
47
+
48
+ lowercase \x0430 19
49
+ lowercase \x0431 129
50
+ lowercase \x0432 24569
51
+ lowercase \x0433 12459
52
+ lowercase \x0434 1459
53
+ lowercase \x0435 159
54
+ lowercase \x0436 2459
55
+ lowercase \x0437 13569
56
+ lowercase \x0438 249
57
+ lowercase \x0439 123469
58
+ lowercase \x043A 139
59
+ lowercase \x043B 1239
60
+ lowercase \x043C 1349
61
+ lowercase \x043D 13459
62
+ lowercase \x043E 1359
63
+ lowercase \x043F 12349
64
+ lowercase \x0440 12359
65
+ lowercase \x0441 2349
66
+ lowercase \x0442 23459
67
+ lowercase \x0443 1369
68
+ lowercase \x0444 1249
69
+ lowercase \x0445 1259
70
+ lowercase \x0446 149
71
+ lowercase \x0447 123459
72
+ lowercase \x0448 1569
73
+ lowercase \x0449 13469
74
+ lowercase \x044A 123569
75
+ lowercase \x044B 23469
76
+ lowercase \x044C 234569
77
+ lowercase \x044D 2469
78
+ lowercase \x044E 12569
79
+ lowercase \x044F 12469
80
+ lowercase \x0451 169
81
+
82
+ # Uppercase letters
83
+ base uppercase \x0401 \x0451
84
+ base uppercase \x0410 \x0430
85
+ base uppercase \x0411 \x0431
86
+ base uppercase \x0412 \x0432
87
+ base uppercase \x0413 \x0433
88
+ base uppercase \x0414 \x0434
89
+ base uppercase \x0415 \x0435
90
+ base uppercase \x0416 \x0436
91
+ base uppercase \x0417 \x0437
92
+ base uppercase \x0418 \x0438
93
+ base uppercase \x0419 \x0439
94
+ base uppercase \x041A \x043A
95
+ base uppercase \x041B \x043B
96
+ base uppercase \x041C \x043C
97
+ base uppercase \x041D \x043D
98
+ base uppercase \x041E \x043E
99
+ base uppercase \x041F \x043F
100
+ base uppercase \x0420 \x0440
101
+ base uppercase \x0421 \x0441
102
+ base uppercase \x0422 \x0442
103
+ base uppercase \x0423 \x0443
104
+ base uppercase \x0424 \x0444
105
+ base uppercase \x0425 \x0445
106
+ base uppercase \x0426 \x0446
107
+ base uppercase \x0427 \x0447
108
+ base uppercase \x0428 \x0448
109
+ base uppercase \x0429 \x0449
110
+ base uppercase \x042A \x044A
111
+ base uppercase \x042B \x044B
112
+ base uppercase \x042C \x044C
113
+ base uppercase \x042D \x044D
114
+ base uppercase \x042E \x044E
115
+ base uppercase \x042F \x044F
116
+
117
+ # Uppercase letters in computer braille mode
118
+ comp6 \x0401 1679
119
+ comp6 \x0410 179
120
+ comp6 \x0411 1279
121
+ comp6 \x0412 245679
122
+ comp6 \x0413 124579
123
+ comp6 \x0414 14579
124
+ comp6 \x0415 1579
125
+ comp6 \x0416 24579
126
+ comp6 \x0417 135679
127
+ comp6 \x0418 2479
128
+ comp6 \x0419 1234679
129
+ comp6 \x041A 1379
130
+ comp6 \x041B 12379
131
+ comp6 \x041C 13479
132
+ comp6 \x041D 134579
133
+ comp6 \x041E 13579
134
+ comp6 \x041F 123479
135
+ comp6 \x0420 123579
136
+ comp6 \x0421 23479
137
+ comp6 \x0422 234579
138
+ comp6 \x0423 13679
139
+ comp6 \x0424 12479
140
+ comp6 \x0425 12579
141
+ comp6 \x0426 1479
142
+ comp6 \x0427 1234579
143
+ comp6 \x0428 15679
144
+ comp6 \x0429 134679
145
+ comp6 \x042A 1235679
146
+ comp6 \x042B 234679
147
+ comp6 \x042C 2345679
148
+ comp6 \x042D 24679
149
+ comp6 \x042E 125679
150
+ comp6 \x042F 124679
151
+ nofor always \x0401 1679
152
+ nofor always \x0410 179
153
+ nofor always \x0411 1279
154
+ nofor always \x0412 245679
155
+ nofor always \x0413 124579
156
+ nofor always \x0414 14579
157
+ nofor always \x0415 1579
158
+ nofor always \x0416 24579
159
+ nofor always \x0417 135679
160
+ nofor always \x0418 2479
161
+ nofor always \x0419 1234679
162
+ nofor always \x041A 1379
163
+ nofor always \x041B 12379
164
+ nofor always \x041C 13479
165
+ nofor always \x041D 134579
166
+ nofor always \x041E 13579
167
+ nofor always \x041F 123479
168
+ nofor always \x0420 123579
169
+ nofor always \x0421 23479
170
+ nofor always \x0422 234579
171
+ nofor always \x0423 13679
172
+ nofor always \x0424 12479
173
+ nofor always \x0425 12579
174
+ nofor always \x0426 1479
175
+ nofor always \x0427 1234579
176
+ nofor always \x0428 15679
177
+ nofor always \x0429 134679
178
+ nofor always \x042A 1235679
179
+ nofor always \x042B 234679
180
+ nofor always \x042C 2345679
181
+ nofor always \x042D 24679
182
+ nofor always \x042E 125679
183
+ nofor always \x042F 124679
184
+
185
+ # English character definitions
186
+ include en-chardefs.cti
187
+
188
+ # Braille indicators:
189
+ numsign 3456 number sign, just a dots operand
190
+ capsletter 46
191
+ begcapsword 56
192
+ endcapsword 6
193
+
194
+ # The decimal digits:
195
+ include litdigits6Dots.uti
196
+
197
+ # Punctuations:
198
+ decpoint . 256
199
+ prepunc " 236
200
+ postpunc " 356
201
+ hyphen - 36
202
+ noback always . 256
203
+ noback always , 2
204
+ always ; 6-23
205
+ noback always : 25
206
+ always ? 6-26
207
+ always ! 6-235
208
+ noback always ' 3
209
+ noback always ` 4
210
+
211
+ # Special symbols:
212
+ always @ 4-1
213
+ always # 4-1345
214
+ always $ 4-145
215
+ always % 3456-356
216
+ always ^ 56-26
217
+ always & 6-12346
218
+ noback always * 23
219
+ noback always ( 126
220
+ noback always ) 345
221
+ always _ 6-25
222
+ noback always [ 12356
223
+ noback always ] 23456
224
+ always { 46-126
225
+ always } 46-345
226
+ always \\ 4-16
227
+ always | 456-3
228
+ noback always ~ 26
229
+
230
+ # mathematical symbols:
231
+ noback always - 36
232
+ noback always + 235
233
+ always / 6-34
234
+ always < 4-246
235
+ always > 4-135
236
+ noback always = 2356
237
+
238
+ # Symbol classes for special rules below:
239
+ attribute upperlatin ABCDEFGHIJKLMNOPQRSTUVWXYZ
240
+ attribute lowerlatin abcdefghijklmnopqrstuvwxyz
241
+ attribute uppercyrillic \x0401\x0410\x0411\x0412\x0413\x0414\x0415\x0416\x0417\x0418\x0419\x041A\x041B\x041C\x041D\x041E\x041F\x0420\x0421\x0422\x0423\x0424\x0425\x0426\x0427\x0428\x0429\x042A\x042B\x042C\x042D\x042E\x042F
242
+ attribute lowercyrillic \x0430\x0431\x0432\x0433\x0434\x0435\x0436\x0437\x0438\x0439\x043A\x043B\x043C\x043D\x043E\x043F\x0440\x0441\x0442\x0443\x0444\x0445\x0446\x0447\x0448\x0449\x044A\x044B\x044C\x044D\x044E\x044F\x0451
243
+
244
+ attribute latin ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
245
+ attribute cyrillic \x0401\x0410\x0411\x0412\x0413\x0414\x0415\x0416\x0417\x0418\x0419\x041A\x041B\x041C\x041D\x041E\x041F\x0420\x0421\x0422\x0423\x0424\x0425\x0426\x0427\x0428\x0429\x042A\x042B\x042C\x042D\x042E\x042F\x0430\x0431\x0432\x0433\x0434\x0435\x0436\x0437\x0438\x0439\x043A\x043B\x043C\x043D\x043E\x043F\x0440\x0441\x0442\x0443\x0444\x0445\x0446\x0447\x0448\x0449\x044A\x044B\x044C\x044D\x044E\x044F\x0451
246
+
247
+ swapcd updigit 1234567890 1,12,14,145,15,124,1245,125,24,245
248
+
249
+ # Mark letters immediately following digits.
250
+ noback context [$d]%lowerlatin %updigit@6
251
+ noback context [$d]%lowercyrillic %updigit@5
252
+ noback context [$d"."]%lowerlatin %updigit@256@6
253
+ noback context [$d"."]%lowercyrillic %updigit@256@5
254
+
255
+ # Fix cyrillic letter marks.
256
+ noback pass2 [@46]%cyrillic @45
257
+ noback pass2 [@56]%cyrillic @456
258
+ noback pass2 [@6]%cyrillic @5