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,255 @@
1
+ # liblouis: Multi Language Coptic Computer Braille table
2
+
3
+ # Copyright (C) 2020 By Ibraam Nasif, St. Didimous Group Coptic Bishopric of Youth - Egypt
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
+
22
+ #-index-name: Coptic, computer
23
+ #-display-name: Coptic computer braille
24
+ #-author: Ibraam Nasif <ibraam.wahib@gmail.com>
25
+
26
+ #+language: cop
27
+ #+type: computer
28
+ #+dots: 8
29
+ #+direction: forward
30
+ #-updated: 2020-08-31
31
+
32
+ # Last updated: August 2020 - Mesore 1736.
33
+
34
+ # Coptic language was the native Egyptian language before the Arabic
35
+ # conquest, but is now mainly used in the Coptic church liturgy and
36
+ # for biblical studies.
37
+
38
+ ## About Coptic Braille:
39
+
40
+ # The Coptic language is based on the Greek alphabet + eight more
41
+ # letters derived from Ancient Egyptian Demotic script. The whole
42
+ # alphabet is used as the Coptic/Egyptian alphabet.
43
+
44
+ # In Braille, we used the standard form of the Greek letters in
45
+ # addition to eight newly formed letters specific to the extra eight
46
+ # Coptic letters.
47
+
48
+ # When we started writing the first Coptic transcriber to emboss
49
+ # Coptic Braille in 2009 we searched but found no authentic documents.
50
+ # Coptic alphabet was merely handed down from one generation of
51
+ # Church's cantors to the next. Most probably, it originated during
52
+ # the 1930's or before it as some Canters said ... At the time, a
53
+ # cantor would write down whatever he needed manually. But there was
54
+ # no establishment, ecclesiastical or academic, that printed Coptic in
55
+ # Braille.
56
+
57
+ # The Bishopric of Youth, under the auspices of His Grace, Bishop
58
+ # Mousa, of the Coptic Orthodox Church, is an official Coptic
59
+ # organization.
60
+
61
+ # We have developed a Coptic table for transcribing liturgical books
62
+ # since 2009, and before that date Coptic was written in Braille
63
+ # manually / individually.
64
+
65
+ # This computer Braille table is to be used with Braille Displays. It
66
+ # contains Coptic, Arabic & English. We will add as many more
67
+ # languages as we can, to help all Coptic blind people, in any
68
+ # nationality, to use Coptic either in church or for study.
69
+
70
+ include braille-patterns.cti # Unicode braille.
71
+
72
+ # Spaces
73
+ space \s 0 blank
74
+ space \t 0 tab
75
+ space \x000A 0
76
+ space \x000D 0
77
+ space \x0020 0 space
78
+ include spaces.uti
79
+ include compress.cti
80
+
81
+ # Coptic
82
+ uppercase \x2C80 17 # Coptic ⲁ
83
+ uppercase \x2C82 127 # Coptic ⲃ
84
+ uppercase \x2C84 12457 # Coptic ⲅ
85
+ uppercase \x2C86 1457 # Coptic ⲇ
86
+ uppercase \x2C88 157 # Coptic ⲉ
87
+ uppercase \x2C8A 147 # Coptic ⲋ
88
+ uppercase \x2C8C 13567 # Coptic ⲍ
89
+ uppercase \x2C8E 1567 # Coptic ⲏ
90
+ uppercase \x2C90 14567 # Coptic ⲑ
91
+ uppercase \x2C92 247 # Coptic ⲓ
92
+ uppercase \x2C94 137 # Coptic ⲕ
93
+ uppercase \x2C96 1237 # Coptic ⲗ
94
+ uppercase \x2C98 1347 # Coptic ⲙ
95
+ uppercase \x2C9A 13457 # Coptic ⲛ
96
+ uppercase \x2C9C 13467 # Coptic ⲝ
97
+ uppercase \x2C9E 1357 # Coptic ⲟ
98
+ uppercase \x2CA0 12347 # Coptic ⲡ
99
+ uppercase \x2CA2 12357 # Coptic ⲣ
100
+ uppercase \x2CA4 2347 # Coptic ⲥ
101
+ uppercase \x2CA6 23457 # Coptic ⲧ
102
+ uppercase \x2CA8 1367 # Coptic ⲩ
103
+ uppercase \x2CAA 1247 # Coptic ⲫ
104
+ uppercase \x2CAC 123467 # Coptic ⲭ
105
+ uppercase \x2CAE 134567 # Coptic ⲯ
106
+ uppercase \x2CB0 24567 # Coptic ⲱ
107
+ uppercase \x03E2 1467 # Coptic ϣ
108
+ uppercase \x03E4 12367 # Coptic ϥ
109
+ uppercase \x03E6 1267 # Coptic ϧ
110
+ uppercase \x03E8 1257 # Coptic ϩ
111
+ uppercase \x03EA 2457 # Coptic ϫ
112
+ uppercase \x03EC 3467 # Coptic ϭ
113
+ uppercase \x03EE 12467 # Coptic ϯ
114
+ lowercase \x2C81 1 # Coptic ⲁ
115
+ lowercase \x2C83 12 # Coptic ⲃ
116
+ lowercase \x2C85 1245 # Coptic ⲅ
117
+ lowercase \x2C87 145 # Coptic ⲇ
118
+ lowercase \x2C89 15 # Coptic ⲉ
119
+ lowercase \x2C8B 14 # Coptic ⲋ
120
+ lowercase \x2C8D 1356 # Coptic ⲍ
121
+ lowercase \x2C8F 156 # Coptic ⲏ
122
+ lowercase \x2C91 1456 # Coptic ⲑ
123
+ lowercase \x2C93 24 # Coptic ⲓ
124
+ lowercase \x2C95 13 # Coptic ⲕ
125
+ lowercase \x2C97 123 # Coptic ⲗ
126
+ lowercase \x2C99 134 # Coptic ⲙ
127
+ lowercase \x2C9B 1345 # Coptic ⲛ
128
+ lowercase \x2C9D 1346 # Coptic ⲝ
129
+ lowercase \x2C9F 135 # Coptic ⲟ
130
+ lowercase \x2CA1 1234 # Coptic ⲡ
131
+ lowercase \x2CA3 1235 # Coptic ⲣ
132
+ lowercase \x2CA5 234 # Coptic ⲥ
133
+ lowercase \x2CA7 2345 # Coptic ⲧ
134
+ lowercase \x2CA9 136 # Coptic ⲩ
135
+ lowercase \x2CAB 124 # Coptic ⲫ
136
+ lowercase \x2CAD 12346 # Coptic ⲭ
137
+ lowercase \x2CAF 13456 # Coptic ⲯ
138
+ lowercase \x2CB1 2456 # Coptic ⲱ
139
+ lowercase \x03E3 146 # Coptic ϣ
140
+ lowercase \x03E5 1236 # Coptic ϥ
141
+ lowercase \x03E7 126 # Coptic ϧ
142
+ lowercase \x03E9 125 # Coptic ϩ
143
+ lowercase \x03EB 245 # Coptic ϫ
144
+ lowercase \x03ED 346 # Coptic ϭ
145
+ lowercase \x03EF 1246 # Coptic ϯ
146
+
147
+ # Coptic Diagritics
148
+ sign \x0300 12345 # Coptic ̀
149
+ sign \x0304 56 # Coptic ̄
150
+ sign \x0305 56 # Coptic ̅
151
+
152
+ #swap: the following to correct Coptic Diagritics symbol, which should be written before the character in braille
153
+ attribute CopLtr ⲁⲀⲃⲂⲅⲄⲇⲆⲉⲈⲋⲊⲍⲌⲏⲎⲑⲐⲓⲒⲕⲔⲗⲖⲙⲘⲛⲚⲝⲜⲟⲞⲡⲠⲣⲢⲥⲤⲧⲦⲩⲨⲫⲪⲭⲬⲯⲮⲱⲰϣϢϥϤϧϦϩϨϫϪϭϬϯϮ
154
+ noback context [%CopLtr]"\x0300" @12345*
155
+ noback context [%CopLtr]"\x0304" @56*
156
+ noback context [%CopLtr]"\x0305" @56*
157
+
158
+ # adding latin letters & numerals
159
+ include latinLetterDef8Dots.uti
160
+ include digits8Dots.uti
161
+
162
+ # Arabic Letters
163
+ letter \x0627 1 # ا
164
+ letter \x0628 12 # ب
165
+ letter \x062A 2345 # ت
166
+ letter \x062B 1456 # ث
167
+ letter \x062C 245 # ج
168
+ letter \x062D 156 # ح
169
+ letter \x062E 1346 # خ
170
+ letter \x062F 145 # د
171
+ letter \x0630 2346 # ذ
172
+ letter \x0631 1235 # ر
173
+ letter \x0632 1356 # ز
174
+ letter \x0633 234 # س
175
+ letter \x0634 146 # ش
176
+ letter \x0635 12346 # ص
177
+ letter \x0636 1246 # ض
178
+ letter \x0637 23456 # ط
179
+ letter \x0638 123456 # ظ
180
+ letter \x0639 12356 # ع
181
+ letter \x063A 126 # غ
182
+ letter \x0641 124 # ف
183
+ letter \x0642 12345 # ق
184
+ letter \x0643 13 # ك
185
+ letter \x0644 123 # ل
186
+ letter \x0645 134 # م
187
+ letter \x0646 1345 # ن
188
+ letter \x0647 125 # ه
189
+ letter \x0648 2456 # و
190
+ letter \x064A 24 # ي
191
+ letter \x0649 135 # ى
192
+ always \x0644\x0627 1236 # لا
193
+ letter \x0621 3 # ء
194
+ letter \x0622 345 # آ
195
+ letter \x0623 34 # أ
196
+ letter \x0625 46 # إ
197
+ letter \x0624 1256 # ؤ
198
+ letter \x0626 13456 # ئ
199
+ letter \x0629 16 # ة
200
+
201
+ # Arabic numerals
202
+ digit \x0660 2458 # 0 (٠)
203
+ digit \x0661 18 # 1 (١)
204
+ digit \x0662 128 # 2 (٢)
205
+ digit \x0663 148 # 3 (٣)
206
+ digit \x0664 1458 # 4 (٤)
207
+ digit \x0665 158 # 5 (٥)
208
+ digit \x0666 1248 # 6 (٦)
209
+ digit \x0667 12458 # 7 (٧)
210
+ digit \x0668 1258 # 8 (٨)
211
+ digit \x0669 248 # 9 (٩)
212
+
213
+ # Arabic Punctuations
214
+ sign \x0640 5-25 # ـ Arabic Tatweel
215
+ punctuation \x060C 57 # ، Arabic comma
216
+ punctuation \x061B 567 # ؛ Arabic semiColon
217
+ punctuation \x061F 236 # ؟ arabic question mark ؟
218
+ punctuation \x06D4 256 # ۔ Arabic Full stop
219
+
220
+ # General punctuations
221
+ punctuation \x003B 567 # ;
222
+ punctuation \x003A 257 # :
223
+ punctuation \x003F 236 # ?
224
+ punctuation \x002E 256 # .
225
+ punctuation \x002C 27 # ,
226
+ punctuation \x0021 235 # !
227
+ punctuation \x0022 2356 # "
228
+ sign \x0023 3456 # #
229
+ punctuation \x0029 3568 # )
230
+ punctuation \x0028 2367 # (
231
+ sign \x002A 358 # *
232
+ sign \x0040 47 # @
233
+ punctuation \x2018 378 # ‘
234
+ punctuation \x2019 678 # ’
235
+ punctuation \x005B 123567 # [
236
+ punctuation \x005D 234568 # ]
237
+ sign \x005F 4567 # _
238
+ sign \x0060 34578 # `
239
+ punctuation \x007B 23567 # {
240
+ punctuation \x007D 23568 # }
241
+ punctuation \x00AB 1234567 # «
242
+ punctuation \x00BB 1234568 # »
243
+ punctuation \x2018 2356 # ‘
244
+ punctuation \x2019 2356 # ’
245
+ punctuation \x201C 236 # “
246
+ punctuation \x201D 356 # ”
247
+ sign \x00BF 236 # ¿
248
+ punctuation \x2010 36 # ‐
249
+ punctuation \x2011 36 # ‑
250
+ punctuation \x00AD 36 # ­
251
+ punctuation \x2013 5-36 # –
252
+ punctuation \x002D 36 # -
253
+ punctuation \x2026 25678 # …
254
+
255
+ # ---------- end of table
@@ -0,0 +1,231 @@
1
+ # liblouis: Coptic Braille Table, 6-Dot
2
+
3
+ #-index-name: Coptic
4
+ #-display-name: Coptic braille
5
+
6
+ #+language: cop
7
+ #+type: literary
8
+ #+dots: 6
9
+ #+direction: forward
10
+ #-updated: 2025-02-13
11
+
12
+ #-author: Eric J. Harvey <eric@blindscholar.com>
13
+ #-maintainer: Eric J. Harvey <eric@blindscholar.com>
14
+
15
+ # Copyright (C) 2025 by Eric J. Harvey <eric@blindscholar.com>
16
+
17
+ #-license: LGPLv2.1
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 the
24
+ # 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
+ ## About Coptic Braille:
36
+ #
37
+ # Coptic is the final language in the indigenous Egyptian language
38
+ # family and was spoken and written as a living language in Upper
39
+ # Egypt from around 300 CE to 1000 CE. Unlike prior Egyptian
40
+ # languages, Coptic was written using an alphabet. The Coptic
41
+ # alphabet includes versions of each letter from the Greek
42
+ # alphabet plus eight additional letters derived from Demotic
43
+ # script.
44
+ #
45
+ # Today, Coptic is used for the study of ancient manuscripts
46
+ # as well as for the liturgy of the Coptic church. This table
47
+ # is intended primarily for ancient Coptic. It is based on a system
48
+ # developed by Daniel C. Smith, Sarah Blake LaRose,
49
+ # Matthew Yeater, and Ray McAllister.
50
+ # Documentation of this code can be found in the .brf transcription of
51
+ # Layton, Bentley. Coptic in 20 Lessons: An Introduction to Sahidic
52
+ # Coptic with Vocabularies and Lessons. Leuven: Peeters. 2007.
53
+ # See also Daniel C. Smith and Sarah Blake LaRose, “Expanding the
54
+ # World of Biblical Studies to Scholars who are Blind: Creation
55
+ # and Implementation of a Coptic Braille System.” Near Eastern
56
+ # Archaeology 87 (2024): 132–136.
57
+ # For convenience, the spec is reproduced in
58
+ # https://github.com/liblouis/braille-specs/coptic/
59
+
60
+ include braille-patterns.cti # Unicode braille.
61
+
62
+ # Spaces
63
+ include spaces.uti
64
+
65
+ # Coptic Letters (Standard Forms)
66
+ uppercase Ⲁ 1 # CAPITAL LETTER ALFA
67
+ uppercase Ⲃ 12 # CAPITAL LETTER VIDA
68
+ uppercase Ⲅ 1245 # CAPITAL LETTER GAMMA
69
+ uppercase Ⲇ 145 # CAPITAL LETTER DALDA
70
+ uppercase Ⲉ 15 # CAPITAL LETTER EIE
71
+ uppercase Ⲋ 456-1236 # CAPITAL LETTER SOU
72
+ uppercase Ⲍ 1356 # CAPITAL LETTER ZATA
73
+ uppercase Ⲏ 156 # CAPITAL LETTER HATE
74
+ uppercase Ⲑ 1456 # CAPITAL LETTER THETHE
75
+ uppercase Ⲓ 24 # CAPITAL LETTER IAUDA
76
+ uppercase Ⲕ 13 # CAPITAL LETTER KAPA
77
+ uppercase Ⲗ 123 # CAPITAL LETTER LAULA
78
+ uppercase Ⲙ 134 # CAPITAL LETTER MI
79
+ uppercase Ⲛ 1345 # CAPITAL LETTER NI
80
+ uppercase Ⲝ 1346 # CAPITAL LETTER KSI
81
+ uppercase Ⲟ 135 # CAPITAL LETTER O
82
+ uppercase Ⲡ 1234 # CAPITAL LETTER PI
83
+ uppercase Ⲣ 1235 # CAPITAL LETTER RO
84
+ uppercase Ⲥ 234 # CAPITAL LETTER SIMA
85
+ uppercase Ⲧ 2345 # CAPITAL LETTER TAU
86
+ uppercase Ⲩ 136 # CAPITAL LETTER UA
87
+ uppercase Ⲫ 124 # CAPITAL LETTER FI
88
+ uppercase Ⲭ 12346 # CAPITAL LETTER KHI
89
+ uppercase Ⲯ 13456 # CAPITAL LETTER PSI
90
+ uppercase Ⲱ 2456 # CAPITAL LETTER OOU
91
+ uppercase Ϣ 146 # CAPITAL LETTER SHEI
92
+ uppercase Ϥ 1246 # CAPITAL LETTER FEI
93
+ uppercase Ϧ 16 # CAPITAL LETTER KHEI
94
+ uppercase Ϩ 125 # CAPITAL LETTER HORI
95
+ uppercase Ϫ 245 # CAPITAL LETTER GANGIA
96
+ uppercase Ϭ 126 # CAPITAL LETTER SHIMA
97
+ uppercase Ϯ 1256 # CAPITAL LETTER DEI
98
+ lowercase ⲁ 1 # SMALL LETTER ALFA
99
+ lowercase ⲃ 12 # SMALL LETTER VIDA
100
+ lowercase ⲅ 1245 # SMALL LETTER GAMMA
101
+ lowercase ⲇ 145 # SMALL LETTER DALDA
102
+ lowercase ⲉ 15 # SMALL LETTER EIE
103
+ lowercase ⲋ 456-1236 # SMALL LETTER SOU
104
+ lowercase ⲍ 1356 # SMALL LETTER ZATA
105
+ lowercase ⲏ 156 # SMALL LETTER HATE
106
+ lowercase ⲑ 1456 # SMALL LETTER THETHE
107
+ lowercase ⲓ 24 # SMALL LETTER IAUDA
108
+ lowercase ⲕ 13 # SMALL LETTER KAPA
109
+ lowercase ⲗ 123 # SMALL LETTER LAULA
110
+ lowercase ⲙ 134 # SMALL LETTER MI
111
+ lowercase ⲛ 1345 # SMALL LETTER NI
112
+ lowercase ⲝ 1346 # SMALL LETTER KSI
113
+ lowercase ⲟ 135 # SMALL LETTER O
114
+ lowercase ⲡ 1234 # SMALL LETTER PI
115
+ lowercase ⲣ 1235 # SMALL LETTER RO
116
+ lowercase ⲥ 234 # SMALL LETTER SIMA
117
+ lowercase ⲧ 2345 # SMALL LETTER TAU
118
+ lowercase ⲩ 136 # SMALL LETTER UA
119
+ lowercase ⲫ 124 # SMALL LETTER FI
120
+ lowercase ⲭ 12346 # SMALL LETTER KHI
121
+ lowercase ⲯ 13456 # SMALL LETTER PSI
122
+ lowercase ⲱ 2456 # SMALL LETTER OOU
123
+ lowercase ϣ 146 # SMALL LETTER SHEI
124
+ lowercase ϥ 1246 # SMALL LETTER FEI
125
+ lowercase ϧ 16 # SMALL LETTER KHEI
126
+ lowercase ϩ 125 # SMALL LETTER HORI
127
+ lowercase ϫ 245 # SMALL LETTER GANGIA
128
+ lowercase ϭ 126 # SMALL LETTER SHIMA
129
+ lowercase ϯ 1256 # SMALL LETTER DEI
130
+
131
+ # Coptic Letters - alternative forms
132
+ noback uppercase Ⳃ 146 # CAPITAL LETTER CROSSED SHEI
133
+ noback uppercase Ⳉ 16 # CAPITAL LETTER AKHMIMIC KHEI
134
+ noback uppercase Ⳳ 16 # CAPITAL LETTER BOHAIRIC KHEI
135
+ noback lowercase ⳃ 146 # SMALL LETTER CROSSED SHEI
136
+ noback lowercase ⳉ 16 # SMALL LETTER AKHMIMIC KHEI
137
+ noback lowercase ⳳ 16 # SMALL LETTER BOHAIRIC KHEI
138
+
139
+ # Coptic Letters (Dialect-P)
140
+ noback uppercase Ⲹ 13 # CAPITAL LETTER DIALECT-P KAPA
141
+ noback uppercase Ⲻ 1345 # CAPITAL LETTER DIALECT-P NI
142
+ noback uppercase Ⳋ 125 # CAPITAL LETTER DIALECT-P HORI
143
+ noback lowercase ⲹ 13 # SMALL LETTER DIALECT-P KAPA
144
+ noback lowercase ⲻ 1345 # SMALL LETTER DIALECT-P NI
145
+ noback lowercase ⳋ 125 # SMALL LETTER DIALECT-P HORI
146
+
147
+ # Coptic Letters (Cryptogrammic Variants)
148
+ noback uppercase Ⲷ 15 # CAPITAL LETTER CRYPTOGRAMMIC EIE
149
+ noback uppercase Ⲽ 1345 # CAPITAL LETTER CRYPTOGRAMMIC NI
150
+ noback uppercase Ⳬ 146 # CAPITAL LETTER CRYPTOGRAMMIC SHEI
151
+ noback uppercase Ⳮ 245 # CAPITAL LETTER CRYPTOGRAMMIC GANGIA
152
+ noback lowercase ⲷ 15 # SMALL LETTER CRYPTOGRAMMIC EIE
153
+ noback lowercase ⲽ 1345 # SMALL LETTER CRYPTOGRAMMIC NI
154
+ noback lowercase ⳬ 146 # SMALL LETTER CRYPTOGRAMMIC SHEI
155
+ noback lowercase ⳮ 245 # SMALL LETTER CRYPTOGRAMMIC GANGIA
156
+
157
+ # Coptic Letters (Old Coptic Variants)
158
+ noback uppercase Ⲿ 2456 # CAPITAL LETTER OLD COPTIC OOU
159
+ noback uppercase Ⳅ 146 # CAPITAL LETTER OLD COPTIC SHEI
160
+ noback uppercase Ⳍ 125 # CAPITAL LETTER OLD COPTIC HORI
161
+ noback uppercase Ⳗ 245 # CAPITAL LETTER OLD COPTIC GANGIA
162
+ noback uppercase Ⳛ 126 # CAPITAL LETTER OLD COPTIC SHIMA
163
+ noback lowercase ⳗ 245 # SMALL LETTER OLD COPTIC GANGIA
164
+ noback lowercase ⳛ 126 # SMALL LETTER OLD COPTIC SHIMA
165
+ noback lowercase ⲿ 2456 # SMALL LETTER OLD COPTIC OOU
166
+ noback lowercase ⳅ 146 # SMALL LETTER OLD COPTIC SHEI
167
+ noback lowercase ⳍ 125 # SMALL LETTER OLD COPTIC HORI
168
+
169
+ # Coptic Symbols
170
+ sign \x2CEF 1345 # COMBINING NI ABOVE ( ⳯)
171
+ always ⳥ 2-134 # SYMBOL MI RO
172
+ always ⳦ 2-1234 # SYMBOL PI RO
173
+ always ⳧ 5-235 # SYMBOL STAUROS
174
+ always ⳩ 2-12346 # SYMBOL KHI RO
175
+ always ⳨ 2-2345 # SYMBOL TAU RO
176
+ always ⳤ 4-12346 # SYMBOL KAI
177
+
178
+ # Coptic Punctuation
179
+ noback punctuation ⳻ 236 # OLD NUBIAN INDIRECT QUESTION MARK
180
+ noback punctuation ⳺ 236 # OLD NUBIAN DIRECT QUESTION MARK
181
+ noback punctuation ⳾ 256 # COPTIC FULL STOP
182
+ noback punctuation ⳹ 256 # OLD NUBIAN FULL STOP
183
+ noback punctuation ⳼ 256 # OLD NUBIAN VERSE DIVIDER
184
+
185
+ # Diacritics
186
+ sign \x0304 2 # COMBINING MACRON ̄
187
+ sign \x0305 2 # COMBINING OVERLINE ̅
188
+ sign \xFE26 2 # COMBINING CONJOINING MACRON
189
+ noback correct [$l]"̄" *"̅"
190
+
191
+ # Capitalization and Digits
192
+ capsletter 6
193
+ begcapsword 6-6
194
+ endcapsword 56
195
+ numsign 3456
196
+ nonumsign 56
197
+
198
+ # Latin letters & numerals
199
+ include litdigits6Dots.uti
200
+ include latinLetterDef6Dots.uti
201
+ include en-ueb-chardefs.uti
202
+
203
+ # Coptic Characters with no current mapping
204
+ # uppercase Ⳑ # CAPITAL LETTER L-SHAPED HA
205
+ # lowercase ⳑ # SMALL LETTER L-SHAPED HA
206
+ # uppercase Ⲳ # CAPITAL LETTER DIALECT-P ALEF
207
+ # lowercase ⲳ # SMALL LETTER DIALECT-P ALEF
208
+ # uppercase Ⳇ # CAPITAL LETTER OLD COPTIC ESH
209
+ # uppercase Ⳏ # CAPITAL LETTER OLD COPTIC HA
210
+ # uppercase Ⳓ # CAPITAL LETTER OLD COPTIC HEI
211
+ # uppercase Ⳕ # CAPITAL LETTER OLD COPTIC HAT
212
+ # uppercase Ⳙ # CAPITAL LETTER OLD COPTIC DJA
213
+ # uppercase Ⲵ # CAPITAL LETTER OLD COPTIC AIN
214
+ # lowercase ⳓ # SMALL LETTER OLD COPTIC HEI
215
+ # lowercase ⳕ # SMALL LETTER OLD COPTIC HAT
216
+ # lowercase ⳙ # SMALL LETTER OLD COPTIC DJA
217
+ # lowercase ⲵ # SMALL LETTER OLD COPTIC AIN
218
+ # lowercase ⳏ # SMALL LETTER OLD COPTIC HA
219
+ # lowercase ⳇ # SMALL LETTER OLD COPTIC ESH
220
+ # uppercase 126 Ⳝ # CAPITAL LETTER OLD NUBIAN SHIMA
221
+ # uppercase Ⳟ # CAPITAL LETTER OLD NUBIAN NGI
222
+ # uppercase Ⳡ # CAPITAL LETTER OLD NUBIAN NYI
223
+ # uppercase Ⳣ # CAPITAL LETTER OLD NUBIAN WAU
224
+ # lowercase ⳝ 126 # SMALL LETTER OLD NUBIAN SHIMA
225
+ # lowercase ⳟ # SMALL LETTER OLD NUBIAN NGI
226
+ # lowercase ⳡ # SMALL LETTER OLD NUBIAN NYI
227
+ # lowercase ⳣ # SMALL LETTER OLD NUBIAN WAU
228
+ # sign \x2CF0 # COMBINING SPIRITUS ASPER
229
+ # sign \x2CF1 # COMBINING SPIRITUS LENIS
230
+
231
+ # ---------- end of table
@@ -0,0 +1,47 @@
1
+ # liblouis: corrections table
2
+ #
3
+ # Copyright (C) 2009 JJB Software, Inc. www.jjb-software.com
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
+ # Append this table to others to correct scannos, etc.
22
+
23
+ repeated ____ 456-456-456-456
24
+ repeated ---- 36-36-36-36
25
+ repeated .... 3-3-3-3
26
+ sign \x0094 5
27
+ noback correct "\x0094" "\""
28
+ noback correct "\x00a0" "\s"
29
+ noback correct "\x000a" "\s"
30
+ space \x00ad 0
31
+ noback correct "\x00ad" ?
32
+ noback correct "\x2019" "'"
33
+ space \x0097 0
34
+ noback correct "\x0097" "\s"
35
+ noback correct "(\s" "("
36
+ noback correct "\s)" ")"
37
+ noback correct "cornf" "comf"
38
+ noback correct "cornm" "comm"
39
+ noback correct "cornp" "comp"
40
+ noback correct $p["-"] "\s-\s"
41
+ noback correct "..." *
42
+ noback correct "\s," ","
43
+ noback correct "\s." "."
44
+ noback correct "\s?" "?"
45
+ noback correct "-\"" "--\""
46
+ noback correct [".\s\""]$s ".\""
47
+ noback correct "-"$s ?