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,412 @@
1
+ #-index-name: Khmer
2
+ #-display-name: Khmer braille
3
+ #
4
+ #+language: km
5
+ #+type: literary
6
+ #+contraction: no
7
+ #+grade: 1
8
+ #+dots: 6
9
+ #+direction: both
10
+ #+system: cambodia
11
+ #
12
+ #-copyright: Sao Mai Center for the Blind <www.saomaicenter.org/en>
13
+ #-license: LGPLv2.1
14
+ #
15
+ # Copyright (C) 2018 by Sao Mai Center for the Blind <www.saomaicenter.org/en>
16
+ #
17
+ # This file is part of liblouis.
18
+ #
19
+ # liblouis is free software: you can redistribute it and/or modify it
20
+ # under the terms of the GNU Lesser General Public License as
21
+ # published by the Free Software Foundation, either version 2.1 of the
22
+ # License, or (at your option) any later version.
23
+ #
24
+ # liblouis is distributed in the hope that it will be useful, but
25
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
26
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27
+ # Lesser General Public License for more details.
28
+ #
29
+ # You should have received a copy of the GNU Lesser General Public
30
+ # License along with liblouis. If not, see
31
+ # <http://www.gnu.org/licenses/>.
32
+ #
33
+ # Created and maintained by: Dang Hoai Phuc <danghoaiphuc@gmail.com>
34
+ # with help from Khemara Ly from Myanmar
35
+ #
36
+ #-author: Dang Hoai Phúc <danghoaiphuc@gmail.com>
37
+ #-maintainer: Dang Hoai Phuc <danghoaiphuc@gmail.com>
38
+ #
39
+ #-updated: 2020-11-17
40
+ #
41
+ # Based on <http://liblouis.io/braille-specs/khmer>
42
+
43
+ space \s 0 blank
44
+ space \t 9 tab
45
+ space \x000a 0 newline
46
+ space \x000c 0
47
+ space \x000d 0 carriage return
48
+ space \x001b 1b escape character for html back-translation
49
+ space \x00A0 a NO-BREAK SPACE <noBreak> 0020 NON-BREAKING SPACE
50
+ #space \x200b 0
51
+
52
+ # latin letters
53
+ lowercase a 1
54
+ lowercase b 12
55
+ lowercase c 14
56
+ lowercase d 145
57
+ lowercase e 15
58
+ lowercase f 124
59
+ lowercase g 1245
60
+ lowercase h 125
61
+ lowercase i 24
62
+ lowercase j 245
63
+ lowercase k 13
64
+ lowercase l 123
65
+ lowercase m 134
66
+ lowercase n 1345
67
+ lowercase o 135
68
+ lowercase p 1234
69
+ lowercase q 12345
70
+ lowercase r 1235
71
+ lowercase s 234
72
+ lowercase t 2345
73
+ lowercase u 136
74
+ lowercase v 1236
75
+ lowercase w 2456
76
+ lowercase x 1346
77
+ lowercase y 13456
78
+ lowercase z 1356
79
+
80
+ base uppercase A a
81
+ base uppercase B b
82
+ base uppercase C c
83
+ base uppercase D d
84
+ base uppercase E e
85
+ base uppercase F f
86
+ base uppercase G g
87
+ base uppercase H h
88
+ base uppercase I i
89
+ base uppercase J j
90
+ base uppercase K k
91
+ base uppercase L l
92
+ base uppercase M m
93
+ base uppercase N n
94
+ base uppercase O o
95
+ base uppercase P p
96
+ base uppercase Q q
97
+ base uppercase R r
98
+ base uppercase S s
99
+ base uppercase T t
100
+ base uppercase U u
101
+ base uppercase V v
102
+ base uppercase W w
103
+ base uppercase X x
104
+ base uppercase Y y
105
+ base uppercase Z z
106
+
107
+ # numbers definition
108
+ display 0 356
109
+ display 1 2
110
+ display 2 23
111
+ display 3 25
112
+ display 4 256
113
+ display 5 26
114
+ display 6 235
115
+ display 7 2356
116
+ display 8 236
117
+ display 9 35
118
+ digit 0 245
119
+ digit 1 1
120
+ digit 2 12
121
+ digit 3 14
122
+ digit 4 145
123
+ digit 5 15
124
+ digit 6 124
125
+ digit 7 1245
126
+ digit 8 125
127
+ digit 9 24
128
+ digit \x17e0 245
129
+ digit \x17e1 1
130
+ digit \x17e2 12
131
+ digit \x17e3 14
132
+ digit \x17e4 145
133
+ digit \x17e5 15
134
+ digit \x17e6 124
135
+ digit \x17e7 1245
136
+ digit \x17e8 125
137
+ digit \x17e9 24
138
+
139
+ litdigit 0 245
140
+ litdigit 1 1
141
+ litdigit 2 12
142
+ litdigit 3 14
143
+ litdigit 4 145
144
+ litdigit 5 15
145
+ litdigit 6 124
146
+ litdigit 7 1245
147
+ litdigit 8 125
148
+ litdigit 9 24
149
+ litdigit \x17e0 245
150
+ litdigit \x17e1 1
151
+ litdigit \x17e2 12
152
+ litdigit \x17e3 14
153
+ litdigit \x17e4 145
154
+ litdigit \x17e5 15
155
+ litdigit \x17e6 124
156
+ litdigit \x17e7 1245
157
+ litdigit \x17e8 125
158
+ litdigit \x17e9 24
159
+ # signs and punctuations definition
160
+ display ! 2346
161
+ punctuation ! 235
162
+ display " 5
163
+ punctuation " 236
164
+ #prepunc " 236
165
+ #postpunc " 356
166
+ display ? 1456
167
+ punctuation ? 236
168
+ match %[^_~]%<* " %[_.$]*%[a#] 236
169
+ match %[a#]%[_.$]* " %>*%[^_~] 356
170
+
171
+ display # 3456
172
+ sign # 3456
173
+ display $ 1246
174
+ sign $ 4-234
175
+ display % 146
176
+ sign % 4-356
177
+ math % 3456-245-356
178
+ display & 12346
179
+ sign & 4-12346
180
+ punctuation ' 3
181
+ display ( 12356
182
+ punctuation ( 2356
183
+ display ) 23456
184
+ punctuation ) 2356
185
+ display * 16
186
+ sign * 5-236
187
+ display + 346
188
+ math + 5-235
189
+ display , 6
190
+ punctuation , 6
191
+ punctuation - 36
192
+ math - 5-36
193
+ hyphen - 36
194
+ display . 46
195
+ punctuation . 256
196
+ #decpoint . 3
197
+ display / 34
198
+ sign / 34
199
+ math / 5-34
200
+ punctuation / 34
201
+ #display : 156
202
+ #punctuation : 45
203
+ display ; 56
204
+ punctuation ; 23
205
+ display < 126
206
+ math < 5-246
207
+ display = 123456
208
+ math = 5-2356
209
+ display > 345
210
+ punctuation > 5-135
211
+ display @ 47
212
+ sign @ 4
213
+
214
+ display [ 2467
215
+ punctuation [ 46-126
216
+ display \\ 12567
217
+ sign \\ 4-16
218
+ display ] 124567
219
+ punctuation ] 46-345
220
+ display ^ 45
221
+ sign ^ 4-26
222
+ display : 156
223
+ punctuation : 45
224
+ display _ 456
225
+ sign _ 4-456
226
+ display ` 4
227
+ sign ` 4-4 grave accent
228
+
229
+ display } 12456
230
+ punctuation } 456-345
231
+ display | 1256
232
+ sign | 456-1256
233
+ display { 246
234
+ punctuation { 456-126
235
+ display ~ 45
236
+ math ~ 4-35
237
+ punctuation \x17D4 123456
238
+ punctuation \x201C 236
239
+ punctuation \x201D 356
240
+
241
+ include braille-patterns.cti
242
+
243
+
244
+
245
+ # two special cases, not put v infront of subscript consonants
246
+ #always \x17D2\x178B 36-23456
247
+ #always \x17D2\x178D 356-23456
248
+ # letters with two character codes for each, all are from dependent vowels
249
+ always \x17BB\x17C6 1246
250
+ always \x17B6\x17C6 1356
251
+ always \x17BB\x17C7 1346
252
+ always \x17C1\x17C7 136
253
+ always \x17C4\x17C7 2346
254
+ # add v subscript for consonants
255
+ letter \x17D2 1236
256
+ # if o in print before 4 vowels below, should be placed after these 4 vowels
257
+ always \x17A2\x17BE 146-135
258
+ #always \x17A2\x17C1 124-135
259
+ noback pass2 @135-124 @124-135
260
+ always \x17A2\x17C2 126-135
261
+ always \x17A2\x17C3 24-135
262
+ # regular consonants Dot pattern for regular consonants
263
+ letter \x1780 1245
264
+ letter \x1781 13
265
+ #letter \x1782 6-1245
266
+ letter គ 6-1245
267
+ letter \x1783 6-13
268
+ letter \x1784 12456
269
+ letter \x1785 245
270
+ letter \x1786 346
271
+ letter \x1787 6-245
272
+ letter \x1788 6-346
273
+ letter \x1789 6-1456
274
+ letter \x178A 145
275
+ letter \x178B 36-23456
276
+ letter \x178C 6-145
277
+ letter \x178D 356-23456
278
+ letter \x178E 1345
279
+ letter \x178F 2345
280
+ letter \x1790 23456
281
+ letter \x1791 6-2345
282
+ letter \x1792 6-23456
283
+ letter \x1793 6-1345
284
+ letter \x1794 12
285
+ letter \x1795 1234
286
+ letter \x1796 12346
287
+ letter \x1797 6-1234
288
+ letter \x1798 134
289
+ letter \x1799 6-13456
290
+ letter \x179A 1235
291
+ letter \x179B 6-123
292
+ letter \x179C 2456
293
+ letter \x179F 234
294
+ letter \x17A0 125
295
+ letter \x17A1 123
296
+ letter \x17A2 135
297
+ # independent vowels #Dot patern for independent vowels
298
+ letter \x17A5 6-34
299
+ letter \x17A6 15-1
300
+ letter \x17A7 14-1
301
+ #letter \x17A8
302
+ letter \x17A9 6-25
303
+ letter \x17AA 1256
304
+ letter \x17B3 456-14
305
+ letter \x17AB 6-1346
306
+ letter \x17AC 1346-1
307
+ letter \x17AD 1456
308
+ letter \x17AE 1456-1
309
+ letter \x17AF 5
310
+ letter \x17B0 124-1
311
+ letter \x17B1 156-1
312
+ letter \x17B2 156-1
313
+ #dependent vowels # Dot paterns for dependent vowels
314
+ letter \x17B6 16
315
+ letter \x17B7 34
316
+ letter \x17B8 15
317
+ letter \x17B9 246
318
+ letter \x17BA 26
319
+ letter \x17BB 14
320
+ letter \x17BC 25
321
+ letter \x17BD 23
322
+ letter \x17BE 146
323
+ letter \x17BF 12345
324
+ letter \x17C0 12356
325
+ letter \x17C1 124
326
+ letter \x17C2 126
327
+ letter \x17C3 24
328
+ letter \x17C4 156
329
+ letter \x17C5 456
330
+ #letter \x17BB\x17C6 1246
331
+ letter \x17C6 13456
332
+ #letter \x17B6\x17C6 1356
333
+ letter \x17C7 1
334
+ #letter \x17BB\x17C7 1346
335
+ #letter \x17C1\x17C7 136
336
+ #letter \x17C4\x17C7 2346
337
+ #additional letters not found on wiki page
338
+ letter \x17CB 35
339
+ letter \x17d0 345
340
+ letter \x17c8 45
341
+ letter \x17c9 4
342
+ letter \x17cf 3
343
+ letter \x17cd 356
344
+ letter \x17ca 36
345
+ letter \x17d7 2
346
+ letter \x17cc 2356
347
+ letter \x200c 16-5-13
348
+
349
+ numsign 3456
350
+ letsign 56
351
+ capsletter 6
352
+ begcapsword 6-6
353
+ endcapsword 6-3
354
+ lencapsphrase 3
355
+ begcapsphrase 6-6-6
356
+ begcaps 6-6-6
357
+ endcaps 6-3
358
+
359
+ # time processing with : as saperator sign
360
+ noback match %# :0 %# 45-245
361
+ noback match %# :1 %# 45-1
362
+ noback match %# :2 %# 45-12
363
+ noback match %# :3 %# 45-14
364
+ noback match %# :4 %# 45-145
365
+ noback match %# :5 %# 45-15
366
+ noback match %# '0 %# 3-245
367
+ noback match %# '1 %# 3-1
368
+ noback match %# '2 %# 3-12
369
+ noback match %# '3 %# 3-14
370
+ noback match %# '4 %# 3-145
371
+ noback match %# '5 %# 3-15
372
+ # unknown character
373
+ replace \x200b
374
+ # add space between digits and letters
375
+ #noback correct $d$l "\s"
376
+ #noback context $d[$l] @0*
377
+ noback pass2 @245-56 @245-0
378
+ noback pass2 @1-56 @1-0
379
+ noback pass2 @12-56 @12-0
380
+ noback pass2 @14-56 @14-0
381
+ noback pass2 @145-56 @145-0
382
+ noback pass2 @15-56 @15-0
383
+ noback pass2 @124-56 @124-0
384
+ noback pass2 @1245-56 @1245-0
385
+ noback pass2 @125-56 @125-0
386
+ noback pass2 @24-56 @24-0
387
+
388
+ # moving vowels and subscript consonants to before dependent consonants
389
+ attribute consonant \x1780\x1781\x1782\x1783\x1784\x1785\x1786\x1787\x1788\x1789\x178A\x178B\x178C\x178D\x178E\x178F\x1790\x1791\x1792\x1793\x1794\x1795\x1796\x1797\x1798\x1799\x179A\x179B\x179C\x179F\x17A0\x17A1\x17A2
390
+ # place vowels before subscripted and dependent consonants
391
+ noback correct [%consonant]"\x17D2\x179A\x17BE" "\x17BE\x17D2\x179A"*
392
+ noback correct [%consonant]"\x17D2\x179A\x17C1" "\x17C1\x17D2\x179A"*
393
+ noback correct [%consonant]"\x17D2\x179A\x17C2" "\x17C2\x17D2\x179A"*
394
+ noback correct [%consonant]"\x17D2\x179A\x17C3" "\x17C3\x17D2\x179A"*
395
+ # place vowels before consonants
396
+ noback correct [%consonant]"\x17BE" "\x17BE"*
397
+ noback correct [%consonant]"\x17C1" "\x17C1"*
398
+ noback correct [%consonant]"\x17C2" "\x17C2"*
399
+ noback correct [%consonant]"\x17C3" "\x17C3"*
400
+
401
+ noback correct [%consonant"\x17d2"%consonant]"\x17BE" "\x17BE"*
402
+ noback correct [%consonant"\x17d2"%consonant]"\x17C1" "\x17C1"*
403
+ noback correct [%consonant"\x17d2"%consonant]"\x17C2" "\x17C2"*
404
+ noback correct [%consonant"\x17d2"%consonant]"\x17C3" "\x17C3"*
405
+
406
+
407
+
408
+ noback correct [%consonant]"\x17D2\x179A" "\x17D2\x179A"*
409
+
410
+ #class vowelbefore \x17C1\x17C2\x17C3\x17BE
411
+ #noback context "\x17D2\x179A"[%consonant]"\x17BE" ?
412
+ #"\x17BE\x17D2\x179A"*
@@ -0,0 +1,108 @@
1
+ # liblouis: Northern Kurdish grade 0 braille
2
+
3
+ #-name: niwisen kuran kurmanci
4
+ #-display-name: Northern Kurdish braille
5
+ #-index-name: Northern Kurdish
6
+
7
+ #+language:kmr
8
+ #+type:literary
9
+ #+dots:6
10
+ #+contraction:no
11
+ #+grade:0
12
+
13
+ # This table was created by Imam Kahraman <imam.kahraman@gmail.com>
14
+ #-author: Imam Kahraman <imam.kahraman@gmail.com>
15
+ #-maintainer: Imam Kahraman <imam.kahraman@gmail.com>
16
+
17
+ #-copyright: 2021, Imam Kahraman
18
+ #-license: LGPLv2.1
19
+
20
+ # Copyright (C) 2021 Imam Kahraman <imam.kahraman@gmail.com>
21
+ #
22
+ # This file is part of liblouis.
23
+ #
24
+ # liblouis is free software: you can redistribute it and/or modify it
25
+ # under the terms of the GNU Lesser General Public License as
26
+ # published by the Free Software Foundation, either version 2.1 of the
27
+ # License, or (at your option) any later version.
28
+ #
29
+ # liblouis is distributed in the hope that it will be useful, but
30
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
31
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
32
+ # Lesser General Public License for more details.
33
+ #
34
+ # You should have received a copy of the GNU Lesser General Public
35
+ # License along with liblouis. If not, see
36
+ # <http://www.gnu.org/licenses/>.
37
+
38
+ # Background of this table:
39
+ #
40
+ # Since the Kurdish language was forbidden for several decades and is
41
+ # still partly forbidden, there are no generally applicable standards
42
+ # because all four parts of Kurdistan are very different. Even among
43
+ # close villages, you can see differences. Only in the last 100 years
44
+ # did the awareness of a Kurdish nation and the intellectual Kurdish
45
+ # language developed. In northern Kurdistan (south-east Turkey), the
46
+ # Kurdish dialect was crystallized from the Botan region for the
47
+ # intellectual language.
48
+ #
49
+ # Since the freedom movement of Kurdistan organized itself in all parts
50
+ # of Kurdistan and the diaspora with the idea of self-administration /
51
+ # Organisation and self-determination and promoted the intellectual
52
+ # language, the Botan dialect from Northern Kurdistan became the
53
+ # intellectual universal language everywhere in the community. This is
54
+ # also shown in text, sound, and images (books, press, media, TV, and
55
+ # radio). In Northern Kurdistan, despite the ban of the Kurdish
56
+ # language, Kurdish is taught and learned through
57
+ # self-organization. This also became the ground for the Kurdish native
58
+ # language in the schools in Rojava and the Democratic Federation of
59
+ # Northern and Eastern Syria.
60
+ #
61
+ # Despite the threat of further wars in the region, a school for the
62
+ # blind was found in Kobane in 2016, which is sponsored and supported by
63
+ # the Kobane People's Council and the city administration. The school
64
+ # for the blind, consisting of 10 pupils, developed the Braille script
65
+ # for Northern Kurdish with the support of the language and cultural
66
+ # institutes from Germany and Northern Kurdistan. They tried to keep to
67
+ # the international standards. It quickly became clear that few letters
68
+ # differ from English. This knowledge became the basis of Braille in
69
+ # Northern Kurdish and since then there have been courses for learning
70
+ # Braille in a blind school class for 10 people several hours a
71
+ # week. The pupils in the blind school class consist of both war
72
+ # veterans and blind people by birth who try to learn their native
73
+ # language and Kurdish Braille together.
74
+ #
75
+ # In cooperation with the Kurdish Institute for Science and Research
76
+ # (Kurdisches Institut für Wissenschaft und Forschung e. V) in
77
+ # Düsseldorf, Germany and the Language and Culture Institute in Amed
78
+ # (Diyarbakir), as well as the People's Council of Kobane, the standards
79
+ # developed by the school for the blind in Kobane, were adopted in 2018
80
+ # in the curricula for people with blindness.
81
+ #
82
+ # Due to the reality of the war, the work of the 10-person class has
83
+ # been suspended since October 2019. There are attempts to resume work
84
+ # as soon as possible.
85
+ #
86
+ # Imam Kahraman worked with the Kurdish Institute for Science and
87
+ # Research (Kurdisches Institut für Wissenschaft und Forschung e. V) in
88
+ # Düsseldorf translated the NVDA interface into Northern Kurdish and
89
+ # created the Liblouis table for Northern Kurdish based on Kobane's
90
+ # Braille script that was previously developed.
91
+
92
+ # -----------
93
+
94
+ # Kurdish letters: Ç Ê Î Ş Û
95
+ letter \x0037 16 KURDISH CAPITAL LETTER Ç
96
+ letter \x00e7 16 KURDISH SMALL LETTER Ç
97
+ letter \x00CA 126 KURDISH CAPITAL LETTER Ê
98
+ letter \x00EA 126 KURDISH SMALL LETTER Ê
99
+ letter \x00CE 35 KURDISH CAPITAL LETTER Î
100
+ letter \x00EE 35 KURDISH SMALL LETTER Î
101
+ letter \x015E 146 KURDISH CAPITAL LETTER Ş
102
+ letter \x015F 146 KURDISH SMALL LETTER Ş
103
+ letter \x00DB 156 KURDISH CAPITAL LETTER Û
104
+ letter \x00FB 156 KURDISH SMALL LETTER Û
105
+
106
+ # get all entries from default English tables
107
+ include en-ueb-g1.ctb
108
+ include digits6Dots.uti
@@ -0,0 +1,18 @@
1
+ #-index-name: Kannada
2
+ #-display-name: Kannada braille
3
+
4
+ #+language:kn
5
+ #+type:literary
6
+ #+grade:1
7
+
8
+ # TODO: Please correct the metadata above. It is not meant to be
9
+ # accurate nor complete. It hasn't been verified by the table
10
+ # author yet. It is merely an attempt by the liblouis maintainers
11
+ # to get some sensible initial values in place.
12
+
13
+ # TODO: Please add a reference to official documentation about
14
+ # the implemented braille code. Preferably submit the documents
15
+ # to https://github.com/liblouis/braille-specs.
16
+
17
+ include ka-in-g1.utb
18
+ include braille-patterns.cti
@@ -0,0 +1,49 @@
1
+ # liblouis: Korean Grade 1 (Uncontracted, 2006 edition)
2
+ #
3
+ # -----------
4
+ #-index-name: Korean, uncontracted, 2006
5
+ #-display-name: Korean uncontracted braille (2006 standard)
6
+ #
7
+ #+language:ko
8
+ #+type:literary
9
+ #+contraction:no
10
+ #+grade:1
11
+ #+version:2006
12
+ #
13
+ # TODO: Please correct the metadata above. It is not meant to be
14
+ # accurate nor complete. It hasn't been verified by the table
15
+ # author yet. It is merely an attempt by the liblouis maintainers
16
+ # to get some sensible initial values in place.
17
+ #
18
+ # TODO: Please add a reference to official documentation about
19
+ # the implemented braille code. Preferably submit the documents
20
+ # to https://github.com/liblouis/braille-specs.
21
+ # -----------
22
+ #
23
+ # Based on the braille contraction table in BRLTTY
24
+ #
25
+ # Copyright (C) 1995-2012 by The BRLTTY Team.
26
+ # Copyright (C) 2012 by Samuel Thibault <samuel.thibault@ens-lyon.org>
27
+ # Copyright (C) 2012 by Mesar Hameed <mhameed@src.gnome.org>
28
+ # Copyright (C) 2014 by Joseph Lee <joseph.lee22590@gmail.com>
29
+ #
30
+ # This file is part of liblouis.
31
+ #
32
+ # liblouis is free software: you can redistribute it and/or modify it
33
+ # under the terms of the GNU Lesser General Public License as
34
+ # published by the Free Software Foundation, either version 2.1 of the
35
+ # License, or (at your option) any later version.
36
+ #
37
+ # liblouis is distributed in the hope that it will be useful, but
38
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
39
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
40
+ # Lesser General Public License for more details.
41
+ #
42
+ # You should have received a copy of the GNU Lesser General Public
43
+ # License along with liblouis. If not, see
44
+ # <http://www.gnu.org/licenses/>.
45
+
46
+ #Same as ko-g1.ctb except it includes ko-2006 dictionary.
47
+ include ko-2006.cti
48
+ include ko-g1-rules.cti
49
+
@@ -0,0 +1,53 @@
1
+ # liblouis: Korean Grade 2 (Contracted, 2006 edition)
2
+ #
3
+ # -----------
4
+ #-index-name: Korean, contracted, 2006
5
+ #-display-name: Korean contracted braille (2006 standard)
6
+ #
7
+ #+language:ko
8
+ #+type:literary
9
+ #+contraction:full
10
+ #+grade:2
11
+ #+version:2006
12
+ # Marked as "direction:forward" by Bue Vester-Andersen
13
+ # as tests only run forward.
14
+ #+direction:forward
15
+ #
16
+ # TODO: Please correct the metadata above. It is not meant to be
17
+ # accurate nor complete. It hasn't been verified by the table
18
+ # author yet. It is merely an attempt by the liblouis maintainers
19
+ # to get some sensible initial values in place.
20
+ #
21
+ # TODO: Please add a reference to official documentation about
22
+ # the implemented braille code. Preferably submit the documents
23
+ # to https://github.com/liblouis/braille-specs.
24
+ # -----------
25
+ #
26
+ # Based on the braille contraction table in BRLTTY
27
+ #
28
+ # Copyright (C) 1995-2012 by The BRLTTY Team.
29
+ # Copyright (C) 2012 by Samuel Thibault <samuel.thibault@ens-lyon.org>
30
+ # Copyright (C) 2012 by Mesar Hameed <mhameed@src.gnome.org>
31
+ # Copyright (C) 2014 by Joseph Lee <joseph.lee22590@gmail.com>
32
+ #
33
+ # This file is part of liblouis.
34
+ #
35
+ # liblouis is free software: you can redistribute it and/or modify it
36
+ # under the terms of the GNU Lesser General Public License as
37
+ # published by the Free Software Foundation, either version 2.1 of the
38
+ # License, or (at your option) any later version.
39
+ #
40
+ # liblouis is distributed in the hope that it will be useful, but
41
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
42
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
43
+ # Lesser General Public License for more details.
44
+ #
45
+ # You should have received a copy of the GNU Lesser General Public
46
+ # License along with liblouis. If not, see
47
+ # <http://www.gnu.org/licenses/>.
48
+
49
+ #Same as ko-g2.ctb except it includes ko-2006 dictionary.
50
+ # FIXME: both ko.cti and ko-g2-rules.cti define the emphasis classes italic, underline and bold
51
+ include ko-2006.cti
52
+ include ko-g2-rules.cti
53
+