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.
- checksums.yaml +7 -0
- data/LICENSE +520 -0
- data/README.md +100 -0
- data/Rakefile +80 -0
- data/ext/liblouis/braille_character.c +200 -0
- data/ext/liblouis/braille_table.c +198 -0
- data/ext/liblouis/braille_text.c +223 -0
- data/ext/liblouis/extconf.rb +73 -0
- data/ext/liblouis/liblouis.c +168 -0
- data/ext/liblouis/liblouis_ext.h +49 -0
- data/ext/liblouis/table_source.c +161 -0
- data/ext/liblouis/translation.c +443 -0
- data/liblouis-rb.gemspec +49 -0
- data/spec/liblouis_spec.rb +62 -0
- data/test/integration/packaging_test.rb +82 -0
- data/test/table_source_cases.rb +9 -0
- data/test/test_braille_character.rb +62 -0
- data/test/test_braille_table.rb +379 -0
- data/test/test_braille_text.rb +30 -0
- data/test/test_helper.rb +7 -0
- data/test/translation_cases.rb +33 -0
- data/vendor/liblouis/COPYING +674 -0
- data/vendor/liblouis/COPYING.LESSER +502 -0
- data/vendor/liblouis/configure.ac +290 -0
- data/vendor/liblouis/liblouis/commonTranslationFunctions.c +95 -0
- data/vendor/liblouis/liblouis/compileTranslationTable.c +5515 -0
- data/vendor/liblouis/liblouis/internal.h +781 -0
- data/vendor/liblouis/liblouis/liblouis.h.in +514 -0
- data/vendor/liblouis/liblouis/logging.c +233 -0
- data/vendor/liblouis/liblouis/lou_backTranslateString.c +1855 -0
- data/vendor/liblouis/liblouis/lou_translateString.c +4177 -0
- data/vendor/liblouis/liblouis/maketable.c +463 -0
- data/vendor/liblouis/liblouis/metadata.c +1258 -0
- data/vendor/liblouis/liblouis/pattern.c +1632 -0
- data/vendor/liblouis/liblouis/utils.c +448 -0
- data/vendor/liblouis/tables/Es-Es-G0.utb +248 -0
- data/vendor/liblouis/tables/IPA-unicode-range.uti +200 -0
- data/vendor/liblouis/tables/IPA.utb +164 -0
- data/vendor/liblouis/tables/Lv-Lv-g1.utb +509 -0
- data/vendor/liblouis/tables/Makefile.am +503 -0
- data/vendor/liblouis/tables/Pl-Pl-g1.utb +312 -0
- data/vendor/liblouis/tables/README +6 -0
- data/vendor/liblouis/tables/afr-za-g1.ctb +63 -0
- data/vendor/liblouis/tables/afr-za-g2.ctb +1050 -0
- data/vendor/liblouis/tables/akk-borger.utb +997 -0
- data/vendor/liblouis/tables/akk.utb +1002 -0
- data/vendor/liblouis/tables/ancient-languages-borger.utb +114 -0
- data/vendor/liblouis/tables/ancient-languages-us.utb +114 -0
- data/vendor/liblouis/tables/ar-ar-comp8.utb +293 -0
- data/vendor/liblouis/tables/ar-ar-g1-core.uti +291 -0
- data/vendor/liblouis/tables/ar-ar-g1.utb +26 -0
- data/vendor/liblouis/tables/ar-ar-g2.ctb +447 -0
- data/vendor/liblouis/tables/ar-ar-math.uti +501 -0
- data/vendor/liblouis/tables/ar.tbl +17 -0
- data/vendor/liblouis/tables/as-in-g1.utb +27 -0
- data/vendor/liblouis/tables/as.tbl +18 -0
- data/vendor/liblouis/tables/aw-in-g1.utb +27 -0
- data/vendor/liblouis/tables/awa.tbl +18 -0
- data/vendor/liblouis/tables/ba.utb +64 -0
- data/vendor/liblouis/tables/be-in-g1.utb +27 -0
- data/vendor/liblouis/tables/bel-comp.utb +42 -0
- data/vendor/liblouis/tables/bel-detailed.utb +32 -0
- data/vendor/liblouis/tables/bel.utb +61 -0
- data/vendor/liblouis/tables/bengali.cti +238 -0
- data/vendor/liblouis/tables/bg.ctb +215 -0
- data/vendor/liblouis/tables/bg.dis +84 -0
- data/vendor/liblouis/tables/bg.tbl +21 -0
- data/vendor/liblouis/tables/bg.utb +454 -0
- data/vendor/liblouis/tables/bh.ctb +24 -0
- data/vendor/liblouis/tables/bh.tbl +17 -0
- data/vendor/liblouis/tables/bn.tbl +18 -0
- data/vendor/liblouis/tables/bo.ctb +184 -0
- data/vendor/liblouis/tables/bo.tbl +21 -0
- data/vendor/liblouis/tables/boxes.ctb +162 -0
- data/vendor/liblouis/tables/br-in-g1.utb +27 -0
- data/vendor/liblouis/tables/bra.tbl +18 -0
- data/vendor/liblouis/tables/braille-patterns.cti +287 -0
- data/vendor/liblouis/tables/ca-chardefs.cti +225 -0
- data/vendor/liblouis/tables/ca-g1.ctb +46 -0
- data/vendor/liblouis/tables/ca.tbl +18 -0
- data/vendor/liblouis/tables/chr-us-g1.ctb +180 -0
- data/vendor/liblouis/tables/ckb-chardefs.cti +219 -0
- data/vendor/liblouis/tables/ckb-g1.ctb +31 -0
- data/vendor/liblouis/tables/ckb-translation.cti +131 -0
- data/vendor/liblouis/tables/ckb.tbl +18 -0
- data/vendor/liblouis/tables/compress.cti +44 -0
- data/vendor/liblouis/tables/controlchars.cti +27 -0
- data/vendor/liblouis/tables/cop-eg-comp8.utb +255 -0
- data/vendor/liblouis/tables/cop.utb +231 -0
- data/vendor/liblouis/tables/corrections.cti +47 -0
- data/vendor/liblouis/tables/countries.cti +263 -0
- data/vendor/liblouis/tables/critical-apparatus.uti +54 -0
- data/vendor/liblouis/tables/cs-chardefs.cti +385 -0
- data/vendor/liblouis/tables/cs-comp8.utb +405 -0
- data/vendor/liblouis/tables/cs-g1.ctb +37 -0
- data/vendor/liblouis/tables/cs-translation.cti +63 -0
- data/vendor/liblouis/tables/cs.tbl +20 -0
- data/vendor/liblouis/tables/cuneiform-transliterated-compact.utb +432 -0
- data/vendor/liblouis/tables/cuneiform-transliterated.utb +160 -0
- data/vendor/liblouis/tables/cy-cy-g1.utb +487 -0
- data/vendor/liblouis/tables/cy-cy-g2.ctb +199 -0
- data/vendor/liblouis/tables/cy.tbl +19 -0
- data/vendor/liblouis/tables/da-dk-6miscChars.cti +385 -0
- data/vendor/liblouis/tables/da-dk-6miscChars_1993.cti +412 -0
- data/vendor/liblouis/tables/da-dk-8miscChars.cti +90 -0
- data/vendor/liblouis/tables/da-dk-8miscChars_1993.cti +102 -0
- data/vendor/liblouis/tables/da-dk-g08.ctb +290 -0
- data/vendor/liblouis/tables/da-dk-g08_1993.ctb +331 -0
- data/vendor/liblouis/tables/da-dk-g16-lit_1993.ctb +294 -0
- data/vendor/liblouis/tables/da-dk-g16.ctb +289 -0
- data/vendor/liblouis/tables/da-dk-g16_1993.ctb +305 -0
- data/vendor/liblouis/tables/da-dk-g18.ctb +545 -0
- data/vendor/liblouis/tables/da-dk-g18_1993.ctb +563 -0
- data/vendor/liblouis/tables/da-dk-g2.dic +7439 -0
- data/vendor/liblouis/tables/da-dk-g26-lit_1993.ctb +898 -0
- data/vendor/liblouis/tables/da-dk-g26.ctb +1345 -0
- data/vendor/liblouis/tables/da-dk-g26_1993.ctb +1127 -0
- data/vendor/liblouis/tables/da-dk-g26l-lit_1993.ctb +588 -0
- data/vendor/liblouis/tables/da-dk-g26l_1993.ctb +604 -0
- data/vendor/liblouis/tables/da-dk-g28.ctb +2426 -0
- data/vendor/liblouis/tables/da-dk-g28_1993.ctb +2063 -0
- data/vendor/liblouis/tables/da-dk-g28l_1993.ctb +1594 -0
- data/vendor/liblouis/tables/da-dk-octobraille.dis +316 -0
- data/vendor/liblouis/tables/da-dk-octobraille_1993.dis +313 -0
- data/vendor/liblouis/tables/de-accents-detailed.cti +214 -0
- data/vendor/liblouis/tables/de-accents.cti +214 -0
- data/vendor/liblouis/tables/de-chardefs6.cti +289 -0
- data/vendor/liblouis/tables/de-chardefs8.cti +278 -0
- data/vendor/liblouis/tables/de-chess.ctb +37 -0
- data/vendor/liblouis/tables/de-comp6.utb +226 -0
- data/vendor/liblouis/tables/de-de-comp8.ctb +492 -0
- data/vendor/liblouis/tables/de-de.dis +331 -0
- data/vendor/liblouis/tables/de-eurobrl6.dis +101 -0
- data/vendor/liblouis/tables/de-eurobrl6u.dis +96 -0
- data/vendor/liblouis/tables/de-g0-core.uti +732 -0
- data/vendor/liblouis/tables/de-g0-detailed.utb +84 -0
- data/vendor/liblouis/tables/de-g0.utb +57 -0
- data/vendor/liblouis/tables/de-g1-core-patterns.dic +4863 -0
- data/vendor/liblouis/tables/de-g1-core.cti +67 -0
- data/vendor/liblouis/tables/de-g1-detailed.ctb +79 -0
- data/vendor/liblouis/tables/de-g1.ctb +54 -0
- data/vendor/liblouis/tables/de-g2-core-patterns.dic +26711 -0
- data/vendor/liblouis/tables/de-g2-core.cti +607 -0
- data/vendor/liblouis/tables/de-g2-detailed.ctb +60 -0
- data/vendor/liblouis/tables/de-g2.ctb +57 -0
- data/vendor/liblouis/tables/devanagari.cti +325 -0
- data/vendor/liblouis/tables/digits6Dots.uti +30 -0
- data/vendor/liblouis/tables/digits6DotsPlusDot6.uti +30 -0
- data/vendor/liblouis/tables/digits8Dots.uti +30 -0
- data/vendor/liblouis/tables/dra.ctb +23 -0
- data/vendor/liblouis/tables/dra.tbl +21 -0
- data/vendor/liblouis/tables/el.ctb +775 -0
- data/vendor/liblouis/tables/en-GB-g2.ctb +829 -0
- data/vendor/liblouis/tables/en-chardefs.cti +193 -0
- data/vendor/liblouis/tables/en-chess.ctb +37 -0
- data/vendor/liblouis/tables/en-g3-patterns.dic +11194 -0
- data/vendor/liblouis/tables/en-g3.ctb +2261 -0
- data/vendor/liblouis/tables/en-gb-comp8.ctb +282 -0
- data/vendor/liblouis/tables/en-gb-g1.utb +527 -0
- data/vendor/liblouis/tables/en-in-g1.ctb +162 -0
- data/vendor/liblouis/tables/en-nabcc.utb +166 -0
- data/vendor/liblouis/tables/en-nz-g1.utb +65 -0
- data/vendor/liblouis/tables/en-nz-g2.ctb +46 -0
- data/vendor/liblouis/tables/en-ueb-chardefs.uti +938 -0
- data/vendor/liblouis/tables/en-ueb-g1.ctb +167 -0
- data/vendor/liblouis/tables/en-ueb-g2.ctb +3925 -0
- data/vendor/liblouis/tables/en-ueb-math.ctb +71 -0
- data/vendor/liblouis/tables/en-us-brf.dis +102 -0
- data/vendor/liblouis/tables/en-us-comp6.ctb +149 -0
- data/vendor/liblouis/tables/en-us-comp8-ext.utb +626 -0
- data/vendor/liblouis/tables/en-us-comp8.ctb +62 -0
- data/vendor/liblouis/tables/en-us-compbrl.uti +69 -0
- data/vendor/liblouis/tables/en-us-emphasis.uti +45 -0
- data/vendor/liblouis/tables/en-us-g1.ctb +199 -0
- data/vendor/liblouis/tables/en-us-g2.ctb +1081 -0
- data/vendor/liblouis/tables/en-us-interline.ctb +1126 -0
- data/vendor/liblouis/tables/en-us-mathtext.ctb +880 -0
- data/vendor/liblouis/tables/en_CA.ctb +195 -0
- data/vendor/liblouis/tables/en_CA.tbl +21 -0
- data/vendor/liblouis/tables/en_GB.tbl +26 -0
- data/vendor/liblouis/tables/en_US-comp8-ext.tbl +15 -0
- data/vendor/liblouis/tables/en_US.tbl +26 -0
- data/vendor/liblouis/tables/eo-g1-x-system.ctb +85 -0
- data/vendor/liblouis/tables/eo-g1.ctb +165 -0
- data/vendor/liblouis/tables/eo.tbl +14 -0
- data/vendor/liblouis/tables/es-chardefs.cti +206 -0
- data/vendor/liblouis/tables/es-g1.ctb +36 -0
- data/vendor/liblouis/tables/es-g2.ctb +955 -0
- data/vendor/liblouis/tables/es-new.dis +284 -0
- data/vendor/liblouis/tables/es-no.utb +79 -0
- data/vendor/liblouis/tables/es-old.dis +284 -0
- data/vendor/liblouis/tables/es.tbl +19 -0
- data/vendor/liblouis/tables/et-6dot.utb +269 -0
- data/vendor/liblouis/tables/et-g0.utb +139 -0
- data/vendor/liblouis/tables/ethio-g1.ctb +335 -0
- data/vendor/liblouis/tables/eurodefs.cti +107 -0
- data/vendor/liblouis/tables/fa-ir-comp8.ctb +250 -0
- data/vendor/liblouis/tables/fa-ir-g1.utb +311 -0
- data/vendor/liblouis/tables/fi-fi-8dot.ctb +278 -0
- data/vendor/liblouis/tables/fi.utb +354 -0
- data/vendor/liblouis/tables/fil-g2.ctb +491 -0
- data/vendor/liblouis/tables/fr-bfu-comp6-puncs-math.uti +351 -0
- data/vendor/liblouis/tables/fr-bfu-comp6.utb +238 -0
- data/vendor/liblouis/tables/fr-bfu-comp68.cti +251 -0
- data/vendor/liblouis/tables/fr-bfu-comp8.utb +323 -0
- data/vendor/liblouis/tables/fr-bfu-g2.ctb +4644 -0
- data/vendor/liblouis/tables/ga-g1.utb +95 -0
- data/vendor/liblouis/tables/ga-g2.ctb +231 -0
- data/vendor/liblouis/tables/gd.ctb +123 -0
- data/vendor/liblouis/tables/gd.tbl +21 -0
- data/vendor/liblouis/tables/gez.tbl +21 -0
- data/vendor/liblouis/tables/gon.ctb +25 -0
- data/vendor/liblouis/tables/gon.tbl +17 -0
- data/vendor/liblouis/tables/gr-pl-comp8.uti +256 -0
- data/vendor/liblouis/tables/grc-international-common.uti +104 -0
- data/vendor/liblouis/tables/grc-international-composed.uti +268 -0
- data/vendor/liblouis/tables/grc-international-decomposed.uti +268 -0
- data/vendor/liblouis/tables/grc-international-en-composed.utb +54 -0
- data/vendor/liblouis/tables/grc-international-en.utb +206 -0
- data/vendor/liblouis/tables/grc-international-es.utb +228 -0
- data/vendor/liblouis/tables/gu-in-g1.utb +27 -0
- data/vendor/liblouis/tables/gu.tbl +18 -0
- data/vendor/liblouis/tables/gujarati.cti +221 -0
- data/vendor/liblouis/tables/gurumuki.cti +393 -0
- data/vendor/liblouis/tables/haw-us-g1.ctb +54 -0
- data/vendor/liblouis/tables/hbo-cantillated-rules.uti +71 -0
- data/vendor/liblouis/tables/hbo-cantillated.utb +109 -0
- data/vendor/liblouis/tables/hbo-common-rules.uti +152 -0
- data/vendor/liblouis/tables/hbo-ihbc-rules.uti +58 -0
- data/vendor/liblouis/tables/hbo-slim-rules.uti +68 -0
- data/vendor/liblouis/tables/hbo-slim.utb +100 -0
- data/vendor/liblouis/tables/hbo.utb +107 -0
- data/vendor/liblouis/tables/he-IL-comp8.utb +464 -0
- data/vendor/liblouis/tables/he-IL.utb +406 -0
- data/vendor/liblouis/tables/he-common-consonants.uti +102 -0
- data/vendor/liblouis/tables/he-common-vowels-ihbc.uti +161 -0
- data/vendor/liblouis/tables/hi-in-g1.utb +27 -0
- data/vendor/liblouis/tables/hi.tbl +18 -0
- data/vendor/liblouis/tables/hr-chardefs.cti +278 -0
- data/vendor/liblouis/tables/hr-comp8.tbl +21 -0
- data/vendor/liblouis/tables/hr-comp8.utb +239 -0
- data/vendor/liblouis/tables/hr-digits.uti +40 -0
- data/vendor/liblouis/tables/hr-g1.ctb +36 -0
- data/vendor/liblouis/tables/hr-g1.tbl +9 -0
- data/vendor/liblouis/tables/hr-translation.cti +364 -0
- data/vendor/liblouis/tables/ht-frenchcompatibility.uti +61 -0
- data/vendor/liblouis/tables/ht-g1.utb +114 -0
- data/vendor/liblouis/tables/hu-backtranslate-correction.dis +38 -0
- data/vendor/liblouis/tables/hu-backtranslate-word-corrections.cti +4293 -0
- data/vendor/liblouis/tables/hu-chardefs.cti +298 -0
- data/vendor/liblouis/tables/hu-exceptionwords.cti +3204 -0
- data/vendor/liblouis/tables/hu-hu-comp8.ctb +183 -0
- data/vendor/liblouis/tables/hu-hu-g1.ctb +129 -0
- data/vendor/liblouis/tables/hu-hu-g1_braille_input.cti +486 -0
- data/vendor/liblouis/tables/hu-hu-g2.ctb +270 -0
- data/vendor/liblouis/tables/hu-hu-g2_exceptions.cti +1164 -0
- data/vendor/liblouis/tables/hy.ctb +121 -0
- data/vendor/liblouis/tables/hy.tbl +21 -0
- data/vendor/liblouis/tables/hyph_cs_CZ.dic +3637 -0
- data/vendor/liblouis/tables/hyph_da_DK.dic +8896 -0
- data/vendor/liblouis/tables/hyph_de_DE.dic +5799 -0
- data/vendor/liblouis/tables/hyph_en_US.dic +5537 -0
- data/vendor/liblouis/tables/hyph_eo.dic +1024 -0
- data/vendor/liblouis/tables/hyph_es_ES.dic +877 -0
- data/vendor/liblouis/tables/hyph_fr_FR.dic +1067 -0
- data/vendor/liblouis/tables/hyph_hu_HU.dic +98519 -0
- data/vendor/liblouis/tables/hyph_it_IT.dic +410 -0
- data/vendor/liblouis/tables/hyph_nb_NO.dic +27142 -0
- data/vendor/liblouis/tables/hyph_nl_NL.dic +12725 -0
- data/vendor/liblouis/tables/hyph_nn_NO.dic +27142 -0
- data/vendor/liblouis/tables/hyph_pl_PL.dic +4074 -0
- data/vendor/liblouis/tables/hyph_pt_PT.dic +308 -0
- data/vendor/liblouis/tables/hyph_ru.dic +6480 -0
- data/vendor/liblouis/tables/hyph_sv_SE.dic +4697 -0
- data/vendor/liblouis/tables/is-chardefs6.cti +170 -0
- data/vendor/liblouis/tables/is-chardefs8.cti +293 -0
- data/vendor/liblouis/tables/is.ctb +157 -0
- data/vendor/liblouis/tables/is.tbl +18 -0
- data/vendor/liblouis/tables/it-it-comp6.utb +404 -0
- data/vendor/liblouis/tables/it-it-comp8.utb +663 -0
- data/vendor/liblouis/tables/iu-ca-g1.ctb +236 -0
- data/vendor/liblouis/tables/ja-kantenji-ucs2.utb +11448 -0
- data/vendor/liblouis/tables/ja-kantenji.utb +53 -0
- data/vendor/liblouis/tables/ja-rokutenkanji.utb +8710 -0
- data/vendor/liblouis/tables/ka-in-g1.utb +27 -0
- data/vendor/liblouis/tables/ka.utb +128 -0
- data/vendor/liblouis/tables/kannada.cti +282 -0
- data/vendor/liblouis/tables/kh-in-g1.utb +26 -0
- data/vendor/liblouis/tables/kha.tbl +18 -0
- data/vendor/liblouis/tables/kk.utb +77 -0
- data/vendor/liblouis/tables/km-g1.utb +412 -0
- data/vendor/liblouis/tables/kmr.tbl +108 -0
- data/vendor/liblouis/tables/kn.tbl +18 -0
- data/vendor/liblouis/tables/ko-2006-g1.ctb +49 -0
- data/vendor/liblouis/tables/ko-2006-g2.ctb +53 -0
- data/vendor/liblouis/tables/ko-2006.cti +190 -0
- data/vendor/liblouis/tables/ko-chars.cti +15140 -0
- data/vendor/liblouis/tables/ko-g1-rules.cti +634 -0
- data/vendor/liblouis/tables/ko-g1.ctb +48 -0
- data/vendor/liblouis/tables/ko-g2-rules.cti +9263 -0
- data/vendor/liblouis/tables/ko-g2.ctb +52 -0
- data/vendor/liblouis/tables/ko.cti +223 -0
- data/vendor/liblouis/tables/kok.ctb +24 -0
- data/vendor/liblouis/tables/kok.tbl +17 -0
- data/vendor/liblouis/tables/kru.ctb +24 -0
- data/vendor/liblouis/tables/kru.tbl +17 -0
- data/vendor/liblouis/tables/ks-in-g1.utb +27 -0
- data/vendor/liblouis/tables/latinLetterDef6Dots.uti +78 -0
- data/vendor/liblouis/tables/latinLetterDef8Dots.uti +75 -0
- data/vendor/liblouis/tables/latinLowercase.uti +389 -0
- data/vendor/liblouis/tables/latinUppercaseComp6.uti +78 -0
- data/vendor/liblouis/tables/lg-ug-g1.utb +60 -0
- data/vendor/liblouis/tables/litdigits6Dots.uti +30 -0
- data/vendor/liblouis/tables/litdigits6DotsPlusDot6.uti +30 -0
- data/vendor/liblouis/tables/lo-g1.utb +3127 -0
- data/vendor/liblouis/tables/loweredDigits6Dots.uti +30 -0
- data/vendor/liblouis/tables/loweredDigits8Dots.uti +30 -0
- data/vendor/liblouis/tables/lt-6dot.utb +308 -0
- data/vendor/liblouis/tables/lt-8dot.utb +281 -0
- data/vendor/liblouis/tables/lt.ctb +313 -0
- data/vendor/liblouis/tables/lv.tbl +22 -0
- data/vendor/liblouis/tables/maketablelist.sh +52 -0
- data/vendor/liblouis/tables/malayalam.cti +674 -0
- data/vendor/liblouis/tables/mao-nz-g1.ctb +65 -0
- data/vendor/liblouis/tables/marburg_single_cell_defs.cti +66 -0
- data/vendor/liblouis/tables/marburg_unicode_defs.cti +297 -0
- data/vendor/liblouis/tables/mk-g1.utb +240 -0
- data/vendor/liblouis/tables/ml-in-g1.utb +27 -0
- data/vendor/liblouis/tables/ml.tbl +21 -0
- data/vendor/liblouis/tables/mn-MN-common.cti +110 -0
- data/vendor/liblouis/tables/mn-MN-g1.utb +52 -0
- data/vendor/liblouis/tables/mn-MN-g2.ctb +50 -0
- data/vendor/liblouis/tables/mn-in-g1.utb +27 -0
- data/vendor/liblouis/tables/mni.tbl +18 -0
- data/vendor/liblouis/tables/mr-in-g1.utb +27 -0
- data/vendor/liblouis/tables/mr.tbl +18 -0
- data/vendor/liblouis/tables/ms-my-g2.ctb +4897 -0
- data/vendor/liblouis/tables/mt.ctb +114 -0
- data/vendor/liblouis/tables/mt.tbl +21 -0
- data/vendor/liblouis/tables/mun.ctb +24 -0
- data/vendor/liblouis/tables/mun.tbl +17 -0
- data/vendor/liblouis/tables/mwr.ctb +24 -0
- data/vendor/liblouis/tables/mwr.tbl +17 -0
- data/vendor/liblouis/tables/my-g1.utb +771 -0
- data/vendor/liblouis/tables/my-g2.ctb +3805 -0
- data/vendor/liblouis/tables/ne.ctb +22 -0
- data/vendor/liblouis/tables/ne.tbl +18 -0
- data/vendor/liblouis/tables/nemethdefs.cti +382 -0
- data/vendor/liblouis/tables/nl-BE.dis +532 -0
- data/vendor/liblouis/tables/nl-NL-g0.utb.in +646 -0
- data/vendor/liblouis/tables/nl-chardefs.uti.in +455 -0
- data/vendor/liblouis/tables/nl-comp8.utb +411 -0
- data/vendor/liblouis/tables/nl-print.dis +551 -0
- data/vendor/liblouis/tables/nl-unicode.dis +540 -0
- data/vendor/liblouis/tables/no-no-8dot-fallback-6dot-g0.utb +59 -0
- data/vendor/liblouis/tables/no-no-8dot.utb +629 -0
- data/vendor/liblouis/tables/no-no-braillo-047-01.dis +247 -0
- data/vendor/liblouis/tables/no-no-chardefs6.uti +305 -0
- data/vendor/liblouis/tables/no-no-comp8.ctb +323 -0
- data/vendor/liblouis/tables/no-no-cyrillic6dot.uti +95 -0
- data/vendor/liblouis/tables/no-no-g0.utb +320 -0
- data/vendor/liblouis/tables/no-no-g1.ctb +272 -0
- data/vendor/liblouis/tables/no-no-g2.ctb +737 -0
- data/vendor/liblouis/tables/no-no-g3.ctb +3597 -0
- data/vendor/liblouis/tables/no-no-generic.ctb +295 -0
- data/vendor/liblouis/tables/no-no-generic.dis +295 -0
- data/vendor/liblouis/tables/no-no-latinLetterDef6Dots_diacritics.uti +852 -0
- data/vendor/liblouis/tables/no-no.dis +291 -0
- data/vendor/liblouis/tables/np-in-g1.utb +27 -0
- data/vendor/liblouis/tables/nso-za-g1.utb +38 -0
- data/vendor/liblouis/tables/nso-za-g2.ctb +38 -0
- data/vendor/liblouis/tables/ny-mw.utb +70 -0
- data/vendor/liblouis/tables/or-in-g1.utb +27 -0
- data/vendor/liblouis/tables/or.tbl +18 -0
- data/vendor/liblouis/tables/oriya.cti +238 -0
- data/vendor/liblouis/tables/ovd-6g0.utb +64 -0
- data/vendor/liblouis/tables/ovd-8g0.utb +81 -0
- data/vendor/liblouis/tables/pa.tbl +18 -0
- data/vendor/liblouis/tables/pi.ctb +24 -0
- data/vendor/liblouis/tables/pi.tbl +17 -0
- data/vendor/liblouis/tables/pl-pl-comp8.ctb +658 -0
- data/vendor/liblouis/tables/pl.tbl +12 -0
- data/vendor/liblouis/tables/printables.cti +70 -0
- data/vendor/liblouis/tables/pt-comp6.utb +299 -0
- data/vendor/liblouis/tables/pt-pt-comp8.ctb +395 -0
- data/vendor/liblouis/tables/pt-pt-g1.utb +1312 -0
- data/vendor/liblouis/tables/pt-pt-g2.ctb +874 -0
- data/vendor/liblouis/tables/pt.tbl +20 -0
- data/vendor/liblouis/tables/pu-in-g1.utb +42 -0
- data/vendor/liblouis/tables/quotation-marks.uti +30 -0
- data/vendor/liblouis/tables/ro-g0.utb +85 -0
- data/vendor/liblouis/tables/ro.ctb +126 -0
- data/vendor/liblouis/tables/ro.tbl +21 -0
- data/vendor/liblouis/tables/ru-brf.dis +116 -0
- data/vendor/liblouis/tables/ru-comp6.utb +258 -0
- data/vendor/liblouis/tables/ru-comp8.utb +740 -0
- data/vendor/liblouis/tables/ru-letters.dis +145 -0
- data/vendor/liblouis/tables/ru-litbrl-detailed.utb +77 -0
- data/vendor/liblouis/tables/ru-litbrl.ctb +857 -0
- data/vendor/liblouis/tables/ru-math.uti +395 -0
- data/vendor/liblouis/tables/ru-ru-g1.ctb +804 -0
- data/vendor/liblouis/tables/ru-unicode.dis +121 -0
- data/vendor/liblouis/tables/rw-rw-g1.utb +133 -0
- data/vendor/liblouis/tables/sa-in-g1.utb +27 -0
- data/vendor/liblouis/tables/sa.tbl +18 -0
- data/vendor/liblouis/tables/sah.utb +72 -0
- data/vendor/liblouis/tables/sd.tbl +18 -0
- data/vendor/liblouis/tables/se-se.ctb +246 -0
- data/vendor/liblouis/tables/se-se.dis +334 -0
- data/vendor/liblouis/tables/si-in-g1.utb +27 -0
- data/vendor/liblouis/tables/sin.cti +213 -0
- data/vendor/liblouis/tables/sin.utb +35 -0
- data/vendor/liblouis/tables/sk-g1.ctb +1019 -0
- data/vendor/liblouis/tables/sk-sk-g1.utb +206 -0
- data/vendor/liblouis/tables/sk-sk.utb +112 -0
- data/vendor/liblouis/tables/sl-si-comp8.ctb +204 -0
- data/vendor/liblouis/tables/sl-si-g1.utb +471 -0
- data/vendor/liblouis/tables/sl.tbl +20 -0
- data/vendor/liblouis/tables/smi-6g0.utb +64 -0
- data/vendor/liblouis/tables/smi-8g0.utb +61 -0
- data/vendor/liblouis/tables/sot-za-g1.ctb +72 -0
- data/vendor/liblouis/tables/sot-za-g2.ctb +244 -0
- data/vendor/liblouis/tables/spaces.uti +62 -0
- data/vendor/liblouis/tables/sr-Cyrl.ctb +59 -0
- data/vendor/liblouis/tables/sr-common.cti +161 -0
- data/vendor/liblouis/tables/sr-cyrletters.cti +92 -0
- data/vendor/liblouis/tables/sr-g1.ctb +57 -0
- data/vendor/liblouis/tables/sr-latletters.cti +45 -0
- data/vendor/liblouis/tables/sv-1989.ctb +241 -0
- data/vendor/liblouis/tables/sv-1996.ctb +180 -0
- data/vendor/liblouis/tables/sv-6common.uti +1199 -0
- data/vendor/liblouis/tables/sv-6g0d.utb +508 -0
- data/vendor/liblouis/tables/sv-6g0p.utb +61 -0
- data/vendor/liblouis/tables/sv-6g1.uti +106 -0
- data/vendor/liblouis/tables/sv-6g1d.ctb +57 -0
- data/vendor/liblouis/tables/sv-6g2.uti +254 -0
- data/vendor/liblouis/tables/sv-6g2d.ctb +57 -0
- data/vendor/liblouis/tables/sv-8g0d.utb +495 -0
- data/vendor/liblouis/tables/sv-8g0n.utb +1236 -0
- data/vendor/liblouis/tables/sv-8g1.uti +199 -0
- data/vendor/liblouis/tables/sv-8g1d.ctb +73 -0
- data/vendor/liblouis/tables/sv-8g1n.ctb +73 -0
- data/vendor/liblouis/tables/sv-8g2.uti +486 -0
- data/vendor/liblouis/tables/sv-8g2d.ctb +73 -0
- data/vendor/liblouis/tables/sv-8g2n.ctb +73 -0
- data/vendor/liblouis/tables/sv-g0.utb +65 -0
- data/vendor/liblouis/tables/sv-g1.ctb +57 -0
- data/vendor/liblouis/tables/sv-g2.ctb +57 -0
- data/vendor/liblouis/tables/sv-phon.uti +241 -0
- data/vendor/liblouis/tables/sw-ke-g1-2.ctb +90 -0
- data/vendor/liblouis/tables/sw-ke-g1-3.ctb +109 -0
- data/vendor/liblouis/tables/sw-ke-g1-4.ctb +107 -0
- data/vendor/liblouis/tables/sw-ke-g1-5.ctb +73 -0
- data/vendor/liblouis/tables/sw-ke-g1.utb +278 -0
- data/vendor/liblouis/tables/sw-ke-g2.ctb +276 -0
- data/vendor/liblouis/tables/syc.utb +195 -0
- data/vendor/liblouis/tables/ta-ta-g1.ctb +167 -0
- data/vendor/liblouis/tables/ta.ctb +24 -0
- data/vendor/liblouis/tables/ta.tbl +21 -0
- data/vendor/liblouis/tables/tamil.cti +86 -0
- data/vendor/liblouis/tables/te-in-g1.utb +27 -0
- data/vendor/liblouis/tables/te.tbl +18 -0
- data/vendor/liblouis/tables/telugu.cti +239 -0
- data/vendor/liblouis/tables/text_nabcc.dis +426 -0
- data/vendor/liblouis/tables/th-comp8-backward.utb +226 -0
- data/vendor/liblouis/tables/th-g0.utb +177 -0
- data/vendor/liblouis/tables/th-g1.utb +89 -0
- data/vendor/liblouis/tables/th-g1.uti +315 -0
- data/vendor/liblouis/tables/th-g2.ctb +616 -0
- data/vendor/liblouis/tables/tr-g1.ctb +254 -0
- data/vendor/liblouis/tables/tr-g2.ctb +863 -0
- data/vendor/liblouis/tables/tr-g2.tbl +20 -0
- data/vendor/liblouis/tables/tr.ctb +324 -0
- data/vendor/liblouis/tables/tr.tbl +21 -0
- data/vendor/liblouis/tables/tsn-za-g1.ctb +33 -0
- data/vendor/liblouis/tables/tsn-za-g2.ctb +33 -0
- data/vendor/liblouis/tables/tt.utb +74 -0
- data/vendor/liblouis/tables/uga.utb +86 -0
- data/vendor/liblouis/tables/uk-comp.utb +53 -0
- data/vendor/liblouis/tables/uk-detailed.utb +32 -0
- data/vendor/liblouis/tables/uk.utb +101 -0
- data/vendor/liblouis/tables/ukchardefs.cti +106 -0
- data/vendor/liblouis/tables/ukmaths_single_cell_defs.cti +65 -0
- data/vendor/liblouis/tables/ukmaths_unicode_defs.cti +298 -0
- data/vendor/liblouis/tables/uni-text.dis +330 -0
- data/vendor/liblouis/tables/unicode-braille.utb +291 -0
- data/vendor/liblouis/tables/unicode-without-blank.dis +24 -0
- data/vendor/liblouis/tables/unicode.dis +278 -0
- data/vendor/liblouis/tables/ur-pk-g1.utb +248 -0
- data/vendor/liblouis/tables/ur-pk-g2.ctb +641 -0
- data/vendor/liblouis/tables/us-table.dis +67 -0
- data/vendor/liblouis/tables/uz-g1.utb +117 -0
- data/vendor/liblouis/tables/ve-za-g1.utb +69 -0
- data/vendor/liblouis/tables/ve-za-g2.ctb +208 -0
- data/vendor/liblouis/tables/vi-cb8.utb +49 -0
- data/vendor/liblouis/tables/vi-charsdef.uti +36 -0
- data/vendor/liblouis/tables/vi-lettersdef.uti +401 -0
- data/vendor/liblouis/tables/vi-puncsdef.uti +446 -0
- data/vendor/liblouis/tables/vi-saigon-g1.ctb +530 -0
- data/vendor/liblouis/tables/vi-vn-g0.utb +135 -0
- data/vendor/liblouis/tables/vi-vn-g1.ctb +574 -0
- data/vendor/liblouis/tables/vi-vn-g2.ctb +743 -0
- data/vendor/liblouis/tables/wiskunde-chardefs.cti +261 -0
- data/vendor/liblouis/tables/wordcx.dis +91 -0
- data/vendor/liblouis/tables/xh-za-g1.utb +61 -0
- data/vendor/liblouis/tables/xh-za-g2.ctb +386 -0
- data/vendor/liblouis/tables/yi.utb +236 -0
- data/vendor/liblouis/tables/zh-chn.ctb +45011 -0
- data/vendor/liblouis/tables/zh-hk.ctb +10461 -0
- data/vendor/liblouis/tables/zh-tw.ctb +53810 -0
- data/vendor/liblouis/tables/zh_CHN.tbl +23 -0
- data/vendor/liblouis/tables/zhcn-cbs.ctb +31523 -0
- data/vendor/liblouis/tables/zhcn-g1.ctb +26523 -0
- data/vendor/liblouis/tables/zhcn-g2.ctb +26519 -0
- data/vendor/liblouis/tables/zu-za-g1.utb +33 -0
- data/vendor/liblouis/tables/zu-za-g2.ctb +33 -0
- metadata +558 -0
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# liblouis: Thai Current Braille System.
|
|
2
|
+
#
|
|
3
|
+
#-index-name: Thai, computer
|
|
4
|
+
#-display-name: Thai computer braille
|
|
5
|
+
#
|
|
6
|
+
#+language: th
|
|
7
|
+
#+type: computer
|
|
8
|
+
#+system: thai
|
|
9
|
+
#+dots: 8
|
|
10
|
+
#
|
|
11
|
+
# This table can only be used in backward mode
|
|
12
|
+
#+direction: backward
|
|
13
|
+
#
|
|
14
|
+
#-copyright: 2023, Thai braille fund and FOUNDATION FOR THE BLIND IN THAILAND UNDER THE ROYAL PATRONAGE OF H.M. THE QUEEN.
|
|
15
|
+
#
|
|
16
|
+
# Copyright (C) 2023 by Thai braille fund and FOUNDATION FOR THE BLIND IN THAILAND UNDER THE ROYAL PATRONAGE OF H.M. THE QUEEN.
|
|
17
|
+
#
|
|
18
|
+
# Version 2023-06-01
|
|
19
|
+
#
|
|
20
|
+
# This file is part of liblouis.
|
|
21
|
+
#
|
|
22
|
+
# liblouis is free software: you can redistribute it and/or modify it
|
|
23
|
+
# under the terms of the GNU Lesser General Public License as
|
|
24
|
+
# published by the Free Software Foundation, either version 2.1 of the
|
|
25
|
+
# License, or (at your option) any later version.
|
|
26
|
+
#
|
|
27
|
+
# liblouis is distributed in the hope that it will be useful, but
|
|
28
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
29
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
30
|
+
# Lesser General Public License for more details.
|
|
31
|
+
#
|
|
32
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
33
|
+
# License along with liblouis. If not, see
|
|
34
|
+
# <http://www.gnu.org/licenses/>.
|
|
35
|
+
#
|
|
36
|
+
# Created and maintained by: Chatupol Nootatong <jpt@tab.or.th>
|
|
37
|
+
# - Dr.Wiraman Niyomphol <wiraman.n@gmail.com>
|
|
38
|
+
# - Itsawat Banlawanich <peet.itsawat@gmail.com>
|
|
39
|
+
# Based on <https://www.tab.or.th/braille_spec/thaibraille.pdf>
|
|
40
|
+
#
|
|
41
|
+
#-maintainer: Chatupol Nootatong <jpt@tab.or.th>
|
|
42
|
+
#-author: Chatupol Nootatong <jpt@tab.or.th>
|
|
43
|
+
#-author: Dr. Wiraman Niyomphol <wiraman.n@gmail.com>
|
|
44
|
+
#-author: Itsawat Banlawanich <peet.itsawat@gmail.com>
|
|
45
|
+
|
|
46
|
+
include spaces.uti
|
|
47
|
+
|
|
48
|
+
# Thai Consinants backward
|
|
49
|
+
nofor letter \x0e01 12459 # ก
|
|
50
|
+
nofor pass2 @1245 @12459 # ก
|
|
51
|
+
nofor letter \x0e02 139 # ข
|
|
52
|
+
nofor pass2 @13 @139 # ข
|
|
53
|
+
nofor letter \x0e03 13789 # ฃ
|
|
54
|
+
nofor pass2 @1378 @13789 # ฃ
|
|
55
|
+
nofor letter \x0e04 1369 # ค
|
|
56
|
+
nofor pass2 @136 @1369 # ค
|
|
57
|
+
nofor letter \x0e05 13689 # ฅ
|
|
58
|
+
nofor pass2 @1368 @13689 # ฅ
|
|
59
|
+
nofor letter \x0e06 13679 # ฆ
|
|
60
|
+
nofor pass2 @1367 @13679 # ฆ
|
|
61
|
+
nofor letter \x0e07 124569 # ง
|
|
62
|
+
nofor pass2 @12456 @124569 # ง
|
|
63
|
+
nofor letter \x0e08 2459 # จ
|
|
64
|
+
nofor pass2 @245 @2459 # จ
|
|
65
|
+
nofor letter \x0e09 349 # ฉ
|
|
66
|
+
nofor pass2 @34 @349 # ฉ
|
|
67
|
+
nofor letter \x0e0a 3469 # ช
|
|
68
|
+
nofor pass2 @346 @3469 # ช
|
|
69
|
+
nofor letter \x0e0b 23469 # ซ
|
|
70
|
+
nofor pass2 @2346 @23469 # ซ
|
|
71
|
+
nofor letter \x0e0c 34679 # ฌ
|
|
72
|
+
nofor pass2 @3467 @34679 # ฌ
|
|
73
|
+
nofor letter \x0e0d 1345679 # ญ
|
|
74
|
+
nofor pass2 @134567 @1345679 # ญ
|
|
75
|
+
nofor letter \x0e0e 14579 # ฎ
|
|
76
|
+
nofor pass2 @1457 @14579 # ฎ
|
|
77
|
+
nofor letter \x0e0f 125679 # ฏ
|
|
78
|
+
nofor pass2 @12567 @125679 # ฏ
|
|
79
|
+
nofor letter \x0e10 234579 # ฐ
|
|
80
|
+
nofor pass2 @23457 @234579 # ฐ
|
|
81
|
+
nofor letter \x0e11 2345679 # ฑ
|
|
82
|
+
nofor pass2 @234567 @2345679 # ฑ
|
|
83
|
+
nofor letter \x0e12 2345689 # ฒ
|
|
84
|
+
nofor pass2 @234568 @2345689 # ฒ
|
|
85
|
+
nofor letter \x0e13 134579 # ณ
|
|
86
|
+
nofor pass2 @13457 @134579 # ณ
|
|
87
|
+
nofor letter \x0e14 1459 # ด
|
|
88
|
+
nofor pass2 @145 @1459 # ด
|
|
89
|
+
nofor letter \x0e15 12569 # ต
|
|
90
|
+
nofor pass2 @1256 @12569 # ต
|
|
91
|
+
nofor letter \x0e16 23459 # ถ
|
|
92
|
+
nofor pass2 @2345 @23459 # ถ
|
|
93
|
+
nofor letter \x0e17 234569 # ท
|
|
94
|
+
nofor pass2 @23456 @234569 # ท
|
|
95
|
+
nofor letter \x0e18 23456789 # ธ
|
|
96
|
+
nofor pass2 @2345678 @23456789 # ธ
|
|
97
|
+
nofor letter \x0e19 13459 # น
|
|
98
|
+
nofor pass2 @1345 @13459 # น
|
|
99
|
+
nofor letter \x0e1a 12369 # บ
|
|
100
|
+
nofor pass2 @1236 @12369 # บ
|
|
101
|
+
nofor letter \x0e1b 123469 # ป
|
|
102
|
+
nofor pass2 @12346 @123469 # ป
|
|
103
|
+
nofor letter \x0e1c 12349 # ผ
|
|
104
|
+
nofor pass2 @1234 @12349 # ผ
|
|
105
|
+
nofor letter \x0e1d 13469 # ฝ
|
|
106
|
+
nofor pass2 @1346 @13469 # ฝ
|
|
107
|
+
nofor letter \x0e1e 14569 # พ
|
|
108
|
+
nofor pass2 @1456 @14569 # พ
|
|
109
|
+
nofor letter \x0e1f 12469 # ฟ
|
|
110
|
+
nofor pass2 @1246 @12469 # ฟ
|
|
111
|
+
nofor letter \x0e20 145679 # ภ
|
|
112
|
+
nofor pass2 @14567 @145679 # ภ
|
|
113
|
+
nofor letter \x0e21 1349 # ม
|
|
114
|
+
nofor pass2 @134 @1349 # ม
|
|
115
|
+
nofor letter \x0e22 134569 # ย
|
|
116
|
+
nofor pass2 @13456 @134569 # ย
|
|
117
|
+
nofor letter \x0e23 12359 # ร
|
|
118
|
+
nofor pass2 @1235 @12359 # ร
|
|
119
|
+
nofor letter \x0e25 1239 # ล
|
|
120
|
+
nofor pass2 @123 @1239 # ล
|
|
121
|
+
nofor letter \x0e27 24569 # ว
|
|
122
|
+
nofor pass2 @2456 @24569 # ว
|
|
123
|
+
nofor letter \x0e28 23479 # ศ
|
|
124
|
+
nofor pass2 @2347 @23479 # ศ
|
|
125
|
+
nofor letter \x0e29 23489 # ษ
|
|
126
|
+
nofor pass2 @2348 @23489 # ษ
|
|
127
|
+
nofor letter \x0e2a 2349 # ส
|
|
128
|
+
nofor pass2 @234 @2349 # ส
|
|
129
|
+
nofor letter \x0e2b 1259 # ห
|
|
130
|
+
nofor pass2 @125 @1259 # ห
|
|
131
|
+
nofor letter \x0e2c 12379 # ฬ
|
|
132
|
+
nofor pass2 @1237 @12379 # ฬ
|
|
133
|
+
nofor letter \x0e2d 1359 # อ
|
|
134
|
+
nofor pass2 @135 @1359 # อ
|
|
135
|
+
nofor letter \x0e2e 1234569 # ฮ
|
|
136
|
+
nofor pass2 @123456 @1234569 # ฮ
|
|
137
|
+
|
|
138
|
+
# Thai vowel
|
|
139
|
+
nofor letter \x0e30 1a # ะ
|
|
140
|
+
nofor pass2 @1 @1a # ะ
|
|
141
|
+
nofor letter \x0e31 345a # ั
|
|
142
|
+
nofor pass2 @345 @345a # ั
|
|
143
|
+
nofor letter \x0e47 3a # ็
|
|
144
|
+
nofor pass2 @3 @3a # ็
|
|
145
|
+
nofor letter \x0e32 16a # า
|
|
146
|
+
nofor pass2 @16 @16a # า
|
|
147
|
+
nofor letter \x0e34 12a # ิ
|
|
148
|
+
nofor pass2 @12 @12a # ิ
|
|
149
|
+
nofor letter \x0e35 23a # ี
|
|
150
|
+
nofor pass2 @23 @23a # ี
|
|
151
|
+
nofor letter \x0e38 14a # ุ
|
|
152
|
+
nofor pass2 @14 @14a # ุ
|
|
153
|
+
nofor letter \x0e39 25a # ู
|
|
154
|
+
nofor pass2 @25 @25a # ู
|
|
155
|
+
nofor letter \x0e36 246a # ึ
|
|
156
|
+
nofor pass2 @246 @246a # ึ
|
|
157
|
+
nofor letter \x0e37 26a # ื
|
|
158
|
+
nofor pass2 @26 @26a # ื
|
|
159
|
+
nofor letter \x0e40 124a # เ
|
|
160
|
+
nofor pass2 @124 @124a # เ
|
|
161
|
+
nofor letter \x0e41 126a # แ
|
|
162
|
+
nofor pass2 @126 @126a # แ
|
|
163
|
+
nofor letter \x0e42 24a # โ
|
|
164
|
+
nofor pass2 @24 @24a # โ
|
|
165
|
+
nofor letter \x0e33 1356a # ำ
|
|
166
|
+
nofor pass2 @1356 @1356a # ำ
|
|
167
|
+
nofor letter \x0e44 156a # ไ
|
|
168
|
+
nofor pass2 @156 @156a # ไ
|
|
169
|
+
nofor letter \x0e43 1568a # ใ
|
|
170
|
+
nofor pass2 @1568 @1568a # ใ
|
|
171
|
+
nofor letter \x0e24 12358a # ฤ
|
|
172
|
+
nofor pass2 @12358 @12358a # ฤ
|
|
173
|
+
nofor letter \x0e26 1238a # ฦ
|
|
174
|
+
nofor pass2 @1238 @1238a # ฦ
|
|
175
|
+
nofor letter \x0e48 35a # ่
|
|
176
|
+
nofor pass2 @35 @35a # ่
|
|
177
|
+
nofor letter \x0e49 256a # ้
|
|
178
|
+
nofor pass2 @256 @256a # ้
|
|
179
|
+
nofor letter \x0e4a 2356a # ๊
|
|
180
|
+
nofor pass2 @2356 @2356a # ๊
|
|
181
|
+
nofor letter \x0e4b 236a # ๋
|
|
182
|
+
nofor pass2 @236 @236a # ๋
|
|
183
|
+
nofor sign \x0e46 2a # ๆ
|
|
184
|
+
nofor pass2 @2 @2a # ๆ
|
|
185
|
+
nofor letter \x0e4c 356a # ์
|
|
186
|
+
nofor pass2 @356 @356a # ์
|
|
187
|
+
nofor sign \x0e4d 58a # ํ
|
|
188
|
+
nofor pass2 @58 @58a # ํ
|
|
189
|
+
nofor sign \x0e3a 38a # ฺ
|
|
190
|
+
nofor pass2 @38 @38a # ฺ
|
|
191
|
+
nofor sign \x0e2f 568a # ฯ
|
|
192
|
+
nofor pass2 @568 @568a # ฯ
|
|
193
|
+
nofor sign \x0e3f 128a # ฿
|
|
194
|
+
nofor pass2 @128 @128a # ฿
|
|
195
|
+
nofor sign \x0e45 168a # ๅ
|
|
196
|
+
nofor pass2 @168 @168a # ๅ
|
|
197
|
+
nofor sign \x0e4e 158a # ๎
|
|
198
|
+
nofor pass2 @158 @158a # ๎
|
|
199
|
+
nofor sign \x0e4f 148a # ๏
|
|
200
|
+
nofor pass2 @148 @148a # ๏
|
|
201
|
+
nofor sign \x0e5a 2568a # ๚
|
|
202
|
+
nofor pass2 @2568 @2568a # ๚
|
|
203
|
+
nofor sign \x0e5b 238a # ๛
|
|
204
|
+
nofor pass2 @238 @238a # ๛
|
|
205
|
+
|
|
206
|
+
# Thai digit
|
|
207
|
+
nofor digit \x0e50 3567b # ๐
|
|
208
|
+
nofor pass2 @3567 @3567b # ๐
|
|
209
|
+
nofor digit \x0e51 27b # ๑
|
|
210
|
+
nofor pass2 @27 @27b # ๑
|
|
211
|
+
nofor digit \x0e52 237b # ๒
|
|
212
|
+
nofor pass2 @237 @237b # ๒
|
|
213
|
+
nofor digit \x0e53 257b # ๓
|
|
214
|
+
nofor pass2 @257 @257b # ๓
|
|
215
|
+
nofor digit \x0e54 2567b # ๔
|
|
216
|
+
nofor pass2 @2567 @2567b # ๔
|
|
217
|
+
nofor digit \x0e55 267b # ๕
|
|
218
|
+
nofor pass2 @267 @267b # ๕
|
|
219
|
+
nofor digit \x0e56 2357b # ๖
|
|
220
|
+
nofor pass2 @2357 @2357b # ๖
|
|
221
|
+
nofor digit \x0e57 23567b # ๗
|
|
222
|
+
nofor pass2 @23567 @23567b # ๗
|
|
223
|
+
nofor digit \x0e58 2367b # ๘
|
|
224
|
+
nofor pass2 @2367 @2367b # ๘
|
|
225
|
+
nofor digit \x0e59 357b # ๙
|
|
226
|
+
nofor pass2 @357 @357b # ๙
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# liblouis: Thai Current Braille System.
|
|
2
|
+
#
|
|
3
|
+
#-index-name: Thai, uncontracted
|
|
4
|
+
#-display-name: Thai uncontracted braille
|
|
5
|
+
#
|
|
6
|
+
#+language: th
|
|
7
|
+
#+type: literary
|
|
8
|
+
#+system: thai
|
|
9
|
+
#+contraction: no
|
|
10
|
+
#+grade: 0
|
|
11
|
+
#+dots: 6
|
|
12
|
+
#
|
|
13
|
+
# This table can handle 8-dot braille input in backward mode, but not 6-dot braille
|
|
14
|
+
#+direction: forward
|
|
15
|
+
#
|
|
16
|
+
#-copyright: 2023, Thai braille fund and FOUNDATION FOR THE BLIND IN THAILAND UNDER THE ROYAL PATRONAGE OF H.M. THE QUEEN.
|
|
17
|
+
#
|
|
18
|
+
# Copyright (C) 2023 by Thai braille fund and FOUNDATION FOR THE BLIND IN THAILAND UNDER THE ROYAL PATRONAGE OF H.M. THE QUEEN.
|
|
19
|
+
#
|
|
20
|
+
# Version 2023-06-01
|
|
21
|
+
#
|
|
22
|
+
# This file is part of liblouis.
|
|
23
|
+
#
|
|
24
|
+
# liblouis is free software: you can redistribute it and/or modify it
|
|
25
|
+
# under the terms of the GNU Lesser General Public License as
|
|
26
|
+
# published by the Free Software Foundation, either version 2.1 of the
|
|
27
|
+
# License, or (at your option) any later version.
|
|
28
|
+
#
|
|
29
|
+
# liblouis is distributed in the hope that it will be useful, but
|
|
30
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
31
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
32
|
+
# Lesser General Public License for more details.
|
|
33
|
+
#
|
|
34
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
35
|
+
# License along with liblouis. If not, see
|
|
36
|
+
# <http://www.gnu.org/licenses/>.
|
|
37
|
+
#
|
|
38
|
+
# Created and maintained by: Chatupol Nootatong <jpt@tab.or.th>
|
|
39
|
+
# - Dr.Wiraman Niyomphol <wiraman.n@gmail.com>
|
|
40
|
+
# - Itsawat Banlawanich <peet.itsawat@gmail.com>
|
|
41
|
+
# Based on <https://www.tab.or.th/braille_spec/thaibraille.pdf>
|
|
42
|
+
#
|
|
43
|
+
#-maintainer: Chatupol Nootatong <jpt@tab.or.th>
|
|
44
|
+
#-author: Chatupol Nootatong <jpt@tab.or.th>
|
|
45
|
+
#-author: Dr. Wiraman Niyomphol <wiraman.n@gmail.com>
|
|
46
|
+
#-author: Itsawat Banlawanich <peet.itsawat@gmail.com>
|
|
47
|
+
|
|
48
|
+
include en-ueb-g1.ctb
|
|
49
|
+
|
|
50
|
+
include spaces.uti
|
|
51
|
+
|
|
52
|
+
# Thai Consinants
|
|
53
|
+
letter \x0e01 1245 # ก
|
|
54
|
+
letter \x0e02 13 # ข
|
|
55
|
+
letter \x0e03 356-13 # ฃ
|
|
56
|
+
letter \x0e04 136 # ค
|
|
57
|
+
letter \x0e05 36-136 # ฅ
|
|
58
|
+
letter \x0e06 6-136 # ฆ
|
|
59
|
+
letter \x0e07 12456 # ง
|
|
60
|
+
letter \x0e08 245 # จ
|
|
61
|
+
letter \x0e09 34 # ฉ
|
|
62
|
+
letter \x0e0a 346 # ช
|
|
63
|
+
letter \x0e0b 2346 # ซ
|
|
64
|
+
letter \x0e0c 6-346 # ฌ
|
|
65
|
+
letter \x0e0d 6-13456 # ญ
|
|
66
|
+
letter \x0e0e 6-145 # ฎ
|
|
67
|
+
letter \x0e0f 6-1256 # ฏ
|
|
68
|
+
letter \x0e10 6-2345 # ฐ
|
|
69
|
+
letter \x0e11 6-23456 # ฑ
|
|
70
|
+
letter \x0e12 36-23456 # ฒ
|
|
71
|
+
letter \x0e13 6-1345 # ณ
|
|
72
|
+
letter \x0e14 145 # ด
|
|
73
|
+
letter \x0e15 1256 # ต
|
|
74
|
+
letter \x0e16 2345 # ถ
|
|
75
|
+
letter \x0e17 23456 # ท
|
|
76
|
+
letter \x0e18 356-23456 # ธ
|
|
77
|
+
letter \x0e19 1345 # น
|
|
78
|
+
letter \x0e1a 1236 # บ
|
|
79
|
+
letter \x0e1b 12346 # ป
|
|
80
|
+
letter \x0e1c 1234 # ผ
|
|
81
|
+
letter \x0e1d 1346 # ฝ
|
|
82
|
+
letter \x0e1e 1456 # พ
|
|
83
|
+
letter \x0e1f 1246 # ฟ
|
|
84
|
+
letter \x0e20 6-1456 # ภ
|
|
85
|
+
letter \x0e21 134 # ม
|
|
86
|
+
letter \x0e22 13456 # ย
|
|
87
|
+
letter \x0e23 1235 # ร
|
|
88
|
+
letter \x0e25 123 # ล
|
|
89
|
+
letter \x0e27 2456 # ว
|
|
90
|
+
letter \x0e28 6-234 # ศ
|
|
91
|
+
letter \x0e29 36-234 # ษ
|
|
92
|
+
letter \x0e2a 234 # ส
|
|
93
|
+
letter \x0e2b 125 # ห
|
|
94
|
+
letter \x0e2c 6-123 # ฬ
|
|
95
|
+
letter \x0e2d 135 # อ
|
|
96
|
+
letter \x0e2e 123456 # ฮ
|
|
97
|
+
|
|
98
|
+
# Thai vowel
|
|
99
|
+
letter \x0e30 1 # ะ
|
|
100
|
+
letter \x0e31 345 # ั
|
|
101
|
+
letter \x0e47 3 # ็
|
|
102
|
+
letter \x0e32 16 # า
|
|
103
|
+
letter \x0e34 12 # ิ
|
|
104
|
+
letter \x0e35 23 # ี
|
|
105
|
+
letter \x0e38 14 # ุ
|
|
106
|
+
letter \x0e39 25 # ู
|
|
107
|
+
letter \x0e36 246 # ึ
|
|
108
|
+
letter \x0e37 26 # ื
|
|
109
|
+
letter \x0e40 124 # เ
|
|
110
|
+
letter \x0e41 126 # แ
|
|
111
|
+
letter \x0e42 24 # โ
|
|
112
|
+
letter \x0e33 1356 # ำ
|
|
113
|
+
letter \x0e44 156 # ไ
|
|
114
|
+
letter \x0e43 156-2 # ใ
|
|
115
|
+
letter \x0e24 1235-2 # ฤ
|
|
116
|
+
letter \x0e26 123-2 # ฦ
|
|
117
|
+
letter \x0e48 35 # ่
|
|
118
|
+
letter \x0e49 256 # ้
|
|
119
|
+
letter \x0e4a 2356 # ๊
|
|
120
|
+
letter \x0e4b 236 # ๋
|
|
121
|
+
sign \x0e46 2 # ๆ
|
|
122
|
+
letter \x0e4c 356 # ์
|
|
123
|
+
sign \x0e4d 5 # ํ
|
|
124
|
+
sign \x0e3a 3 # ฺ
|
|
125
|
+
sign \x0e2f 56-23 # ฯ
|
|
126
|
+
sign \x0e3f 4-12 # ฿
|
|
127
|
+
sign \x0e45 5-16 # ๅ
|
|
128
|
+
sign \x0e4e 4-15 # ๎
|
|
129
|
+
sign \x0e4f 4-14 # ๏
|
|
130
|
+
sign \x0e5a 4-256 # ๚
|
|
131
|
+
sign \x0e5b 4-23 # ๛
|
|
132
|
+
|
|
133
|
+
# make phayan yai
|
|
134
|
+
noback pass2 @56-23-123-56-23 @56-123
|
|
135
|
+
|
|
136
|
+
# Thai digit
|
|
137
|
+
digit \x0e50 245b # ๐
|
|
138
|
+
digit \x0e51 1b # ๑
|
|
139
|
+
digit \x0e52 12b # ๒
|
|
140
|
+
digit \x0e53 14b # ๓
|
|
141
|
+
digit \x0e54 145b # ๔
|
|
142
|
+
digit \x0e55 15b # ๕
|
|
143
|
+
digit \x0e56 124b # ๖
|
|
144
|
+
digit \x0e57 1245b # ๗
|
|
145
|
+
digit \x0e58 125b # ๘
|
|
146
|
+
digit \x0e59 24b # ๙
|
|
147
|
+
|
|
148
|
+
#english character
|
|
149
|
+
attribute englishcharacter abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
|
|
150
|
+
|
|
151
|
+
#attribute Thai Consinants
|
|
152
|
+
attribute thaiconsinants \x0e01\x0e02\x0e03\x0e04\x0e05\x0e06\x0e07\x0e08\x0e09\x0e0a\x0e0b\x0e0c\x0e0d\x0e0e\x0e0f\x0e10\x0e11\x0e12\x0e13\x0e14\x0e15\x0e16\x0e17\x0e18\x0e19\x0e1a\x0e1b\x0e1c\x0e1d\x0e1e\x0e1f\x0e20\x0e21\x0e22\x0e23\x0e25\x0e27\x0e28\x0e29\x0e2a\x0e2b\x0e2c\x0e2d\x0e2e
|
|
153
|
+
|
|
154
|
+
#attribute ThaiDigit
|
|
155
|
+
attribute thaidigit \x0e50\x0e51\x0e52\x0e53\x0e54\x0e55\x0e56\x0e57\x0e58\x0e59
|
|
156
|
+
|
|
157
|
+
# Add a dot 6 before the number sign. When detecting a character as a Thai number
|
|
158
|
+
noback pass2 @3456%thaidigit @6*
|
|
159
|
+
|
|
160
|
+
# If 3 or more consecutive . marks are found, change to dot 6.
|
|
161
|
+
noback context "..." @6-6-6#1=1
|
|
162
|
+
noback context #1=1"." @6
|
|
163
|
+
noback context #1=1 #1=0
|
|
164
|
+
|
|
165
|
+
# Remove the virtual dots from the Thai Digit.
|
|
166
|
+
noback pass3 @245b @245
|
|
167
|
+
noback pass3 @1b @1
|
|
168
|
+
noback pass3 @12b @12
|
|
169
|
+
noback pass3 @14b @14
|
|
170
|
+
noback pass3 @145b @145
|
|
171
|
+
noback pass3 @15b @15
|
|
172
|
+
noback pass3 @124b @124
|
|
173
|
+
noback pass3 @1245b @1245
|
|
174
|
+
noback pass3 @125b @125
|
|
175
|
+
noback pass3 @24b @24
|
|
176
|
+
|
|
177
|
+
include th-comp8-backward.utb
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# liblouis: Thai Current Braille System.
|
|
2
|
+
#
|
|
3
|
+
#-index-name: Thai, partially contracted
|
|
4
|
+
#-display-name: Thai partially contracted braille
|
|
5
|
+
#
|
|
6
|
+
#+language: th
|
|
7
|
+
#+type: literary
|
|
8
|
+
#+system: thai
|
|
9
|
+
#+contraction: partial
|
|
10
|
+
#+grade: 1
|
|
11
|
+
#+dots: 6
|
|
12
|
+
#
|
|
13
|
+
#+direction: forward
|
|
14
|
+
#
|
|
15
|
+
#-copyright: 2024, Thai braille fund and FOUNDATION FOR THE BLIND IN THAILAND UNDER THE ROYAL PATRONAGE OF H.M. THE QUEEN.
|
|
16
|
+
#
|
|
17
|
+
# Copyright (C) 2024 by Thai braille fund and FOUNDATION FOR THE BLIND IN THAILAND UNDER THE ROYAL PATRONAGE OF H.M. THE QUEEN.
|
|
18
|
+
#
|
|
19
|
+
# Version 2024-07-01
|
|
20
|
+
#
|
|
21
|
+
# This file is part of liblouis.
|
|
22
|
+
#
|
|
23
|
+
# liblouis is free software: you can redistribute it and/or modify it
|
|
24
|
+
# under the terms of the GNU Lesser General Public License as
|
|
25
|
+
# published by the Free Software Foundation, either version 2.1 of the
|
|
26
|
+
# License, or (at your option) any later version.
|
|
27
|
+
#
|
|
28
|
+
# liblouis is distributed in the hope that it will be useful, but
|
|
29
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
30
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
31
|
+
# Lesser General Public License for more details.
|
|
32
|
+
#
|
|
33
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
34
|
+
# License along with liblouis. If not, see
|
|
35
|
+
# <http://www.gnu.org/licenses/>.
|
|
36
|
+
#
|
|
37
|
+
# Created and maintained by: Chatupol Nootatong <jpt@tab.or.th>
|
|
38
|
+
# - Dr.Wiraman Niyomphol <wiraman.n@gmail.com>
|
|
39
|
+
# - Itsawat Banlawanich <peet.itsawat@gmail.com>
|
|
40
|
+
# Based on <https://www.tab.or.th/braille_spec/thaibraille.pdf>
|
|
41
|
+
#
|
|
42
|
+
#-maintainer: Chatupol Nootatong <jpt@tab.or.th>
|
|
43
|
+
#-author: Chatupol Nootatong <jpt@tab.or.th>
|
|
44
|
+
#-author: Dr. Wiraman Niyomphol <wiraman.n@gmail.com>
|
|
45
|
+
#-author: Itsawat Banlawanich <peet.itsawat@gmail.com>
|
|
46
|
+
|
|
47
|
+
include en-ueb-g1.ctb
|
|
48
|
+
include th-g1.uti
|
|
49
|
+
|
|
50
|
+
#ลดรูปสระเออไม่มีตัวสะกด
|
|
51
|
+
attribute leadcharacterSaraEr \x0E01\x0E02\x0E1B\x0E1A\x0E1C\x0E2A\x0E2B
|
|
52
|
+
attribute diphthongSaraEr \x0E23\x0E25\x0E22\x0E19\x0E21
|
|
53
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e2d\x0e2d\x0E01" @124*@135-135-1245
|
|
54
|
+
noback context "\x0e40"[%thaiconsinants]"\x0E2D\x0E22\x0E48" @124*@135-13456-35
|
|
55
|
+
noback context "\x0e40"[%thaiconsinants]"\x0E2D\x0E22\x0E39\x0E48" @124*@135-13456-25-35
|
|
56
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0e2d\x0e2d\x0E01" @124*@135-135-1245
|
|
57
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0E2D\x0E22\x0E48" @124*@135-13456-35
|
|
58
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0E2D\x0E22\x0E39\x0E48" @124*@135-13456-25-35
|
|
59
|
+
noback context "\x0e40"[%thaiconsinants]"\x0E2D\x0E22\x0e32\x0e01" @124*@135-13456-16-1245 # เ-อยาก
|
|
60
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e48\x0E2D\x0E22\x0e32\x0e01" @124*@35-135-13456-16-1245 # เ-่อยาก
|
|
61
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e49\x0E2D\x0E22\x0e32\x0e01" @124*@256-135-13456-16-1245 # เ-้อยาก
|
|
62
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0E2D\x0E22\x0E39\x0E48" @124*@135-13456-25-35 # เ--อยู่
|
|
63
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e48\x0E2D\x0E22\x0E39\x0E48" @124*@35-135-13456-25-35 # เ-่อยู่
|
|
64
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e49\x0E2D\x0E22\x0E39\x0E48" @124*@256-135-13456-25-35 # เ-้อยู่
|
|
65
|
+
|
|
66
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e2d" *@146
|
|
67
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e48\x0e2d" *@146-359
|
|
68
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e49\x0e2d" *@146-2569
|
|
69
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e4A\x0e2d" *@146-23569
|
|
70
|
+
noback context "\x0e40"[%thaiconsinants]"\x0e4B\x0e2d" *@146-2369
|
|
71
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0e2d" *@146
|
|
72
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0e48\x0e2d" *@146-359
|
|
73
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0e49\x0e2d" *@146-2569
|
|
74
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0e4A\x0e2d" *@146-23569
|
|
75
|
+
noback context "\x0e40"[%leadcharacterSaraEr%diphthongSaraEr]"\x0e4B\x0e2d" *@146-2369
|
|
76
|
+
noback pass2 @146%tonemarksPass@1 @146-1%tonemarksPass
|
|
77
|
+
noback always \x0E17\x0E30\x0E40\x0E25\x0E2D\x0E30\x0E44\x0E23 23456-1-124-123-135-1-156-1235
|
|
78
|
+
noback always \x0E40\x0E17\x0E2D\x0E21 124-23456-135-134
|
|
79
|
+
noback always \x0E40\x0E17\x0E2D\x0E0D 124-23456-135-6-13456
|
|
80
|
+
noback always \x0E40\x0E04\x0E2D\x0E22 124-136-135-13456
|
|
81
|
+
noback always \x0E40\x0E2A\x0E21\x0E2D\x0E07 124-234-134-135-12456
|
|
82
|
+
|
|
83
|
+
#Add 456 points in front of the mark
|
|
84
|
+
noback context [$z]"," *@456-2
|
|
85
|
+
noback context [$z]":" *@456-25
|
|
86
|
+
noback match %1 ; - 456-23
|
|
87
|
+
noback match %1%1%1%1%1 . %[_^] 456-256
|
|
88
|
+
noback match %1 ! - 456-235
|
|
89
|
+
noback context [$z]"?" *@456-236
|