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,320 @@
1
+ # liblouis: Norwegian literary braille, 6-dot, uncontracted
2
+ #
3
+ #-name: Norsk litterær punktskrift, 6-punkt, fullskrift
4
+ #-index-name: Norwegian, uncontracted, 6-dot
5
+ #-display-name: Norwegian 6-dot uncontracted braille
6
+ #
7
+ #+language:no
8
+ #+language:nb
9
+ #+language:nn
10
+ #+type:literary
11
+ #+direction:both
12
+ #+contraction:no
13
+ #+dots:6
14
+ #+grade:0
15
+ #
16
+ # Copyright (C) 2005 ViewPlus Technologies, Inc. www.viewplus.com
17
+ # Copyright (C) 2009-2010, 2012-2013, 2017, 2019, 2021-2022, 2025 Lars Bjørndal <lars@lamasti.net>
18
+ # Copyright (C) 2015-2018 NLB Norwegian library of talking books and braille, http://www.nlb.no/
19
+ # Copyright (C) 2025 Bert Frees
20
+ #
21
+ #-copyright: 2005, ViewPlus Technologies, Inc. www.viewplus.com
22
+ #-copyright: 2009-2025, Lars Bjørndal
23
+ #-copyright: 2015-2018, Norwegian library of talking books and braille (NLB), http://www.nlb.no/
24
+ #-copyright: 2025, Bert Frees
25
+ #-license: LGPLv2.1
26
+ #
27
+ # Created June 9, 2005 by Leon Ungier <Leon.Ungier@ViewPlus.com> with
28
+ # help and guidance from Lars Bjørndal <lars@lamasti.net>
29
+ # Updated June 2009 by Lars Bjørndal <lars@lamasti.net>
30
+ # Updated April 2015 by Jostein Austvik Jacobsen <jostein@nlb.com> and Ammar Usama <ammar.usama@nlb.no>
31
+ # Updated February 2025 by Lars Bjørndal <lars@lamast.net>
32
+ #
33
+ #-author: Leon Ungier <Leon.Ungier@ViewPlus.com>
34
+ #-author: Lars Bjørndal <lars@lamasti.net>
35
+ #-author: Jostein Austvik Jacobsen <jostein@nlb.no>
36
+ #-author: Ammar Usama <ammar.usama@nlb.no>
37
+ #
38
+ # Official norwegian braille specifications are collected here:
39
+ # http://liblouis.io/braille-specs/norwegian
40
+ # This specific table is based on the document "Håndbok i litterær punktskrift".
41
+ #
42
+ # Input is expected to be normalized to NFC (fully composed)
43
+ #-unicode-form:nfc
44
+ #
45
+ # This file is part of liblouis.
46
+ #
47
+ # liblouis is free software: you can redistribute it and/or modify it
48
+ # under the terms of the GNU Lesser General Public License as
49
+ # published by the Free Software Foundation, either version 2.1 of the
50
+ # License, or (at your option) any later version.
51
+ #
52
+ # liblouis is distributed in the hope that it will be useful, but
53
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
54
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
55
+ # Lesser General Public License for more details.
56
+ #
57
+ # You should have received a copy of the GNU Lesser General Public
58
+ # License along with liblouis. If not, see
59
+ # <http://www.gnu.org/licenses/>.
60
+ #
61
+
62
+ include no-no.dis
63
+ include no-no-chardefs6.uti
64
+ include litdigits6Dots.uti
65
+ include braille-patterns.cti # unicode braille
66
+ include no-no-cyrillic6dot.uti
67
+
68
+ # comp6 definitions
69
+ comp6 A 6-1
70
+ comp6 B 6-12
71
+ comp6 C 6-14
72
+ comp6 D 6-145
73
+ comp6 E 6-15
74
+ comp6 F 6-124
75
+ comp6 G 6-1245
76
+ comp6 H 6-125
77
+ comp6 I 6-24
78
+ comp6 J 6-245
79
+ comp6 K 6-13
80
+ comp6 L 6-123
81
+ comp6 M 6-134
82
+ comp6 N 6-1345
83
+ comp6 O 6-135
84
+ comp6 P 6-1234
85
+ comp6 Q 6-12345
86
+ comp6 R 6-1235
87
+ comp6 S 6-234
88
+ comp6 T 6-2345
89
+ comp6 U 6-136
90
+ comp6 V 6-1236
91
+ comp6 W 6-2456
92
+ comp6 X 6-1346
93
+ comp6 Y 6-13456
94
+ comp6 Z 6-1356
95
+ comp6 Æ 6-345
96
+ comp6 Ø 6-246
97
+ comp6 Å 6-16
98
+ #lowword \x2013 36-36 # make double when surrounded by white spaces
99
+ #lowword - 36-36 # make double when hyphen surrounded by white spaces
100
+
101
+ numsign 3456
102
+
103
+ # Fix less-than / greater-than when in math context
104
+ always <\s 246-3-0
105
+ always <- 246-3-36
106
+ always -> 36-135-2
107
+ always \s> 0-135-2
108
+ noback context ["<"]$d @246-3
109
+ noback context _$d["<"] @246-3
110
+ noback context [">"]$d @135-2
111
+ noback context _$d[">"] @135-2
112
+ capsletter 6
113
+ begcapsword 69-6
114
+ noback endcapsword 569
115
+ begcapsphrase 6-6-6
116
+ lencapsphrase 2
117
+ endcapsphrase after 6
118
+
119
+ # variable #1 keeps track of when begcapsword has been suppressed
120
+ noback pass2 _$l[@69-6] ?#1=1 # suppress begcapsword when it is not the first character of the word
121
+ noback pass2 [@69-6]$l.@569@234$sp @6-6 # suppress begcapsword if it needs to be terminated by a endcapsword,
122
+ noback pass2 [@69-6]$l.@569@234~ @6-6 # unless the endcapsword is followed by a single "s"
123
+ noback pass2 [@69-6]$l.@569 ?#1=1 #
124
+ noback pass2 #1=1[]$l @6 # insert capsletter before (uppercase) letter if begcapsword was suppressed
125
+ noback pass2 #1=1@569 ?#1=0 # caps mode is terminated by endcapsword; suppress endcapsword if
126
+ # begcapsword was suppressed
127
+ noback pass2 #1=1!$l *#1=0 # caps mode is terminated by character that is not a letter
128
+
129
+ # remove dot 9
130
+ swapdd cleanvirtual 69,569 6,56
131
+ noback pass4 %cleanvirtual %cleanvirtual
132
+
133
+ # backward direction
134
+ nofor pass4 _!$sp[@6@6] @69-6#1=1
135
+ nofor pass4 #1=1@56 @569#1=0
136
+ nofor pass4 #1=1!$l *#1=0
137
+
138
+ emphclass italic
139
+ emphclass underline
140
+ emphclass bold
141
+
142
+
143
+ # We want backtranslation of semicolon.
144
+ noback begemph italic 23
145
+ begemph bold 6-3
146
+ begemph underline 456
147
+
148
+ noback endemph italic 56
149
+ endemph bold 6-3
150
+ endemph underline 456
151
+
152
+
153
+ # endnum # 56-3456
154
+ nonumsign 56
155
+ numericnocontchars abcdefghij
156
+ midendnumericmodechars ,.:
157
+ repeated ... 3-3-3 # points de suite
158
+ repeated --- 36-36-36
159
+ repeated ___ 456-456-456
160
+
161
+ # always \s--\s 36-36 # tiret
162
+ noback always ;\s; 0
163
+
164
+ # Fix quotation mark before and after dollar sign
165
+ always "$ 256-6-256
166
+ always «$ 256-6-256
167
+ always ‘$ 256-6-256
168
+ always „$ 256-6-256
169
+ always “$ 256-6-256
170
+ always $" 256-6-256
171
+ always $» 256-6-256
172
+ always $’ 256-6-256
173
+ always $„ 256-6-256
174
+ always $” 256-6-256
175
+
176
+
177
+ always °) 5-356-6-356
178
+
179
+
180
+ # We have to redefine the letter æ here to prevent back translation of it to result in a space
181
+
182
+ lowercase \x00E6 345 # æ 00E6
183
+ base uppercase \x00C6 \x00E6 # æ x00C6 / 00E6
184
+
185
+ # URLs
186
+ nocont ://
187
+ nocont www.
188
+ nocont .com
189
+ nocont .edu
190
+ nocont .gov
191
+ nocont .mil
192
+ nocont .net
193
+ nocont .org
194
+ nocont .no
195
+ nocont .nu
196
+ nocont .se
197
+ nocont .dk
198
+ nocont .fi
199
+ nocont .ini
200
+ nocont .doc
201
+ nocont .docx
202
+ nocont .xml
203
+ nocont .xsl
204
+ nocont .htm
205
+ nocont .html
206
+ nocont .tex
207
+ nocont .txt
208
+ nocont .gif
209
+ nocont .jpg
210
+ nocont .png
211
+ nocont .wav
212
+ nocont .mp3
213
+ nocont .m3u
214
+ nocont .tar
215
+ nocont .gz
216
+ nocont .bz2
217
+ nocont .zip
218
+
219
+ # Fix input where less than / greater than already are surrounding the
220
+ # URL / email address.
221
+ noback pass2 @126-246-3 @126
222
+ noback pass2 @135-2-345 @345
223
+ noback pass2 @3456-3456 @3456-6-3456
224
+
225
+ # remove space after degree sign and before C (Celcius), F (Fahrenheit) or K (Kelvin)
226
+ noback pass2 @5-356-0-6-14 @5-356-6-14 # ° C
227
+ noback pass2 @5-356-0-6-124 @5-356-6-124 # ° F
228
+ noback pass2 @5-356-0-6-13 @5-356-6-13 # ° K
229
+
230
+ # subscript
231
+ # ---------
232
+
233
+ emphclass sub
234
+ emphletter sub 16
235
+ begemph sub 16-236
236
+ noback endemph sub 356
237
+
238
+ digit ₀ 245a
239
+ digit ₁ 1a
240
+ digit ₂ 12a
241
+ digit ₃ 14a
242
+ digit ₄ 145a
243
+ digit ₅ 15a
244
+ digit ₆ 124a
245
+ digit ₇ 1245a
246
+ digit ₈ 125a
247
+ digit ₉ 24a
248
+
249
+ # ₊ ₋ ₌ ₍ ₎ ₐ ₑ ₒ ₓ ₔ ⱼ ᵢ ᵣ ᵤ ᵥ ᵦ ᵧ ᵨ ᵩ ᵪ
250
+
251
+ attribute sub ₀₁₂₃₄₅₆₇₈₉
252
+
253
+ noback pass2 %sub%sub. @16-236*
254
+ noback pass2 %sub @16*
255
+ noback pass3 %sub%sub. *@356
256
+
257
+ # fix order of sub sign and number sign
258
+ noback pass3 @3456-16-236 @16-236-3456
259
+ noback pass3 @3456-16 @16-3456
260
+
261
+ noback pass4 @245a @245 # ₀
262
+ noback pass4 @1a @1 # ₁
263
+ noback pass4 @12a @12 # ₂
264
+ noback pass4 @14a @14 # ₃
265
+ noback pass4 @145a @145 # ₄
266
+ noback pass4 @15a @15 # ₅
267
+ noback pass4 @124a @124 # ₆
268
+ noback pass4 @1245a @1245 # ₇
269
+ noback pass4 @125a @125 # ₈
270
+ noback pass4 @24a @24 # ₉
271
+
272
+ # superscript
273
+ # -----------
274
+
275
+ emphclass super
276
+ emphletter super 46
277
+ begemph super 46-236
278
+ noback endemph super 346
279
+
280
+ digit ⁰ 245b
281
+ digit ¹ 1b
282
+ digit ² 12b
283
+ digit ³ 14b
284
+ digit ⁴ 145b
285
+ digit ⁵ 15b
286
+ digit ⁶ 124b
287
+ digit ⁷ 1245b
288
+ digit ⁸ 125b
289
+ digit ⁹ 24b
290
+ # ⁱ ⁺ ⁻ ⁼ ⁽ ⁾ ⁿ ª º ⱽ ᴮ ᴯ ᴰ ᴱ ᴲ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴻ ᴼ ᴽ ᴾ ᴿ ᵀ ᵁ ᵂ ᵃ ᵄ ᵅ ᵆ ᵇ ᵈ ᵉ ᵊ ᵋ ᵌ ᵍ ᵏ ᵐ ᵑ ᵒ ᵓ ᵖ ᵗ ᵘ ᵚ ᵛ ᵝ ᵞ ᵟ ᵠ ᵡ
291
+
292
+ attribute super ⁰¹²³⁴⁵⁶⁷⁸⁹
293
+
294
+ noback pass2 %super%super. @46-236*
295
+ noback pass2 %super @46*
296
+ noback pass3 %super%super. *@356
297
+
298
+ # fix order of super sign and number sign
299
+ noback pass3 @3456-46-236 @46-236-3456
300
+ noback pass3 @3456-46 @46-3456
301
+
302
+ noback pass4 @245b @245 # ⁰
303
+ noback pass4 @1b @1 # ¹
304
+ noback pass4 @12b @12 # ²
305
+ noback pass4 @14b @14 # ³
306
+ noback pass4 @145b @145 # ⁴
307
+ noback pass4 @15b @15 # ⁵
308
+ noback pass4 @124b @124 # ⁶
309
+ noback pass4 @1245b @1245 # ⁷
310
+ noback pass4 @125b @125 # ⁸
311
+ noback pass4 @24b @24 # ⁹
312
+
313
+ # 9.6 Percent/promille
314
+ noback context [$s]"%" ?
315
+ noback context [$s]"‰" ?
316
+ noback context "%"[")"] @6-356
317
+ noback context "‰"[")"] @6-356
318
+
319
+ # 11.3 Pound sign
320
+ noback joinnum \x00A3 123
@@ -0,0 +1,272 @@
1
+ # liblouis: Norwegian literary braille, 6-dot, contracted level 1
2
+ #
3
+ #-name: Norsk litterær punktskrift, 6-punkt, kortskrift nivå 1
4
+ #-index-name: Norwegian, contracted, grade 1
5
+ #-display-name: Norwegian grade 1 contracted braille
6
+ #
7
+ #+language:no
8
+ #+language:nb
9
+ #+language:nn
10
+ #+type:literary
11
+ #+direction:both
12
+ #+contraction:partial
13
+ #+dots:6
14
+ #+grade:1
15
+ #
16
+ # Copyright (C) 2005 ViewPlus Technologies, Inc. www.viewplus.com
17
+ # Copyright (C) 2009-2014, 2025-2026 Lars Bjørndal <lars@lamasti.net>
18
+ #
19
+ #-copyright: 2005, ViewPlus Technologies, Inc. www.viewplus.com
20
+ #-copyright: 2009-2014, 2025-2026, Lars Bjørndal
21
+ #-license: LGPLv2.1
22
+ #
23
+ # Created June 9, 2005 by Leon Ungier <Leon.Ungier@ViewPlus.com> with
24
+ # help and guidance from Lars Bjørndal <lars@lamasti.net>.
25
+ # Modified Sep 30, 2005 by LU
26
+ # Heavily overworked by lars@lamasti.net, 2009.
27
+ #
28
+ #-author: Leon Ungier <Leon.Ungier@ViewPlus.com>
29
+ #-author: Lars Bjørndal <lars@lamasti.net>
30
+ #
31
+ # Official norwegian braille specifications are collected here:
32
+ # http://liblouis.io/braille-specs/norwegian
33
+ # This specific table is based on the document "Kortskrift i norsk punktskrift - KS04".
34
+ #
35
+ # Input is expected to be normalized to NFC (fully composed)
36
+ #-unicode-form:nfc
37
+ #
38
+ # This file is part of liblouis.
39
+ #
40
+ # liblouis is free software: you can redistribute it and/or modify it
41
+ # under the terms of the GNU Lesser General Public License as
42
+ # published by the Free Software Foundation, either version 2.1 of the
43
+ # License, or (at your option) any later version.
44
+ #
45
+ # liblouis is distributed in the hope that it will be useful, but
46
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
47
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
48
+ # Lesser General Public License for more details.
49
+ #
50
+ # You should have received a copy of the GNU Lesser General Public
51
+ # License along with liblouis. If not, see
52
+ # <http://www.gnu.org/licenses/>.
53
+ #
54
+
55
+ #------------------------------------------------------
56
+ nofor word æ 56-345
57
+
58
+ # To get contractions correct before/after asterisk and slash, those
59
+ # chars have to be redifined as punctuation, not math.
60
+ punctuation * 35
61
+ punctuation / 34
62
+
63
+ # Universal accent sign should be used most of the times with contracted braille
64
+ noback lowercase á 4-1 # a with acute
65
+ base uppercase Á á
66
+ noback lowercase à 4-1 # a with grave
67
+ base uppercase À à
68
+ noback lowercase č 4-14 # c with caron
69
+ base uppercase Č č
70
+ noback lowercase ç 4-14 # c with cedilla
71
+ base uppercase Ç ç
72
+ noback lowercase đ 4-145 # d with stroke
73
+ base uppercase Đ đ
74
+ noback lowercase ð 4-145 # eth
75
+ base uppercase Ð ð
76
+ noback lowercase ê 4-15 # e with circumflex
77
+ base uppercase Ê ê
78
+ noback lowercase è 4-15 # e with grave
79
+ base uppercase È è
80
+ noback lowercase ï 4-24 # i with diaeresis
81
+ base uppercase Ï ï
82
+ noback lowercase í 4-24 # i with acute
83
+ base uppercase Í í
84
+ noback lowercase ŋ 4-1345 # eng
85
+ base uppercase Ŋ ŋ
86
+ noback lowercase ô 4-135 # o with circumflex
87
+ base uppercase Ô ô 4-6-135
88
+ noback lowercase ó 4-135 # o with acute
89
+ base uppercase Ó ó
90
+ noback lowercase ò 4-135 # o with grave
91
+ base uppercase Ò ò
92
+ noback lowercase ǫ 4-135 # o with ogonek
93
+ base uppercase Ǫ ǫ
94
+ noback lowercase þ 4-2345 # thorn
95
+ base uppercase Þ þ
96
+ noback lowercase ŧ 4-2345 # t with stroke
97
+ base uppercase Ŧ ŧ
98
+ noback lowercase ṥ 4-234 # s with acute and dot above
99
+ base uppercase Ṥ ṥ
100
+ noback lowercase š 4-234 # s with caron
101
+ base uppercase Š š
102
+ noback lowercase ú 4-136 # u with acute
103
+ base uppercase Ú ú
104
+ noback lowercase ž 4-1356 # z with caro
105
+ base uppercase Ž ž
106
+ noback lowercase ý 4-13456 # y with acute
107
+ base uppercase Ý ý
108
+
109
+ include no-no-g0.utb
110
+ capsnocont
111
+ #------------------------------------------------------
112
+ # -------------- level 1 contractions -----------------
113
+ #------------------------------------------------------
114
+ endword ar 3456
115
+ word at 1
116
+ word ble 12
117
+ word de 1456
118
+ endword de 1456
119
+ word du 145
120
+ word eg 1245
121
+ word eller 15
122
+ word ellers 15-234
123
+ contraction es
124
+ word en 126
125
+ endword en 126
126
+ word ende 126-1456
127
+ endword ende 126-1456
128
+ word er 156
129
+ endword er 156
130
+ word & 56-346
131
+ word et 346
132
+ endword et 346
133
+ begword z 56-1356
134
+ begword Z 56-1356
135
+ word etter 1356
136
+ begword etter 1356
137
+ word ettersom 1356-234
138
+ contraction zs
139
+ word etterpå 1356-1234
140
+ contraction zp
141
+ word for 1246 # level 1 contractions
142
+ begword for 1246
143
+ endword for 1246
144
+ word forhold 12346
145
+ begword forhold 12346
146
+ endword forhold 12346
147
+
148
+ word forholdsvis 12346-1236
149
+
150
+ word fra 124 # level 1 contractions
151
+ word før 246
152
+ word gjennom 12456
153
+ begword gjennom 12456
154
+ endword gjennom 12456
155
+
156
+ word han 125
157
+ word hans 125-234
158
+ contraction hs
159
+
160
+ word har 1235
161
+ word hun 136
162
+ begword w 56-2456
163
+ begword W 56-2456
164
+ word hvor 2456
165
+ begword hvor 2456
166
+ word hvordan 2456-145
167
+ contraction wd
168
+
169
+ word ikke 24-13
170
+ contraction ik
171
+ word ikkje 24-13-245
172
+ contraction ikj
173
+ word jeg 245
174
+ word kan 13
175
+ word like 123
176
+ word mange 134
177
+ word med 146
178
+ word mye 13456
179
+ word når 1345
180
+
181
+ word og 14 # level 1 contractions
182
+ word også 14-234
183
+ contraction cs
184
+ word oss 135
185
+ begword x 56-1346
186
+ begword X 56-1346
187
+
188
+ word over 1346
189
+ begword over 1346
190
+
191
+ word på 1234
192
+ word som 234
193
+ word til 2345
194
+ begword q 56-12345
195
+ begword Q 56-12345
196
+ word under 12345
197
+ begword under 12345
198
+
199
+ #match %[^_~] \x0023 %[^_~] 56-3456
200
+ word var 3456
201
+ word \x0023 56-3456
202
+ word ved 1236
203
+ word være 345 # level 1 contractions
204
+ noback nocontractsign 56
205
+ contraction a 56-1
206
+ contraction b 56-12
207
+ contraction c 56-14
208
+ contraction d 56-145
209
+ contraction e 56-15
210
+ contraction f 56-124
211
+ contraction g 56-1245
212
+ contraction h 56-125
213
+ contraction j 56-245
214
+ contraction k 56-13
215
+ contraction l 56-123
216
+ contraction m 56-134
217
+ contraction n 56-1345
218
+ contraction o 56-135
219
+ contraction p 56-1234
220
+ contraction q 56-12345
221
+ contraction r 56-1235
222
+ contraction s 56-234
223
+ contraction t 56-2345
224
+ contraction u 56-136
225
+ contraction v 56-1236
226
+ contraction w 56-2456
227
+ contraction x 56-1346
228
+ contraction y 56-13456
229
+ contraction z 56-1356
230
+ contraction æ 56-345
231
+ contraction ø 56-246
232
+ contraction A 56-6-1
233
+ contraction B 56-6-12
234
+ contraction C 56-6-14
235
+ contraction D 56-6-145
236
+ contraction E 56-6-15
237
+ contraction F 56-6-124
238
+ contraction G 56-6-1245
239
+ contraction H 56-6-125
240
+ contraction J 56-6-245
241
+ contraction K 56-6-13
242
+ contraction L 56-6-123
243
+ contraction M 56-6-134
244
+ contraction N 56-6-1345
245
+ contraction O 56-6-135
246
+ contraction P 56-6-1234
247
+ contraction Q 56-6-12345
248
+ contraction R 56-6-1235
249
+ contraction S 56-6-234
250
+ contraction T 56-6-2345
251
+ contraction U 56-6-136
252
+ contraction V 56-6-1236
253
+ contraction W 56-6-2456
254
+ contraction X 56-6-1346
255
+ contraction Y 56-6-13456
256
+ contraction Z 56-6-1356
257
+ contraction Æ 56-6-345
258
+ contraction Ø 56-6-246
259
+ seqdelimiter /-–—*'
260
+ seqbeforechars ([{"“‘«
261
+ seqafterchars )]}"”’.,;:!?…»
262
+
263
+ noback pass2 @6-56-12345 @56-6-12345
264
+ nofor pass2 @56-6-12345 @6-56-12345
265
+ noback pass2 @6-56-2456 @56-6-2456
266
+ nofor pass2 @56-6-2456 @6-56-2456
267
+ noback pass2 @6-56-1346 @56-6-1346
268
+ nofor pass2 @56-6-1346 @6-56-1346
269
+ noback pass2 @6-56-1356 @56-6-1356
270
+ nofor pass2 @56-6-1356 @6-56-1356
271
+ nofor context @56-3456 "#"
272
+ # -------------------------------------------------------------------