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,294 @@
|
|
|
1
|
+
# Liblouis: Danish table for 6 dots grade 1 forward translation (literary) 1993
|
|
2
|
+
#
|
|
3
|
+
# Copyright (C) 2014, 2016-2021, 2023, Bue Vester-Andersen <bue@vester-andersen.dk>
|
|
4
|
+
#
|
|
5
|
+
# This file is part of liblouis.
|
|
6
|
+
#
|
|
7
|
+
# liblouis is free software: you can redistribute it and/or modify it
|
|
8
|
+
# under the terms of the GNU Lesser General Public License as
|
|
9
|
+
# published by the Free Software Foundation, either version 2.1 of the
|
|
10
|
+
# License, or (at your option) any later version.
|
|
11
|
+
#
|
|
12
|
+
# liblouis is distributed in the hope that it will be useful, but
|
|
13
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
15
|
+
# Lesser General Public License for more details.
|
|
16
|
+
#
|
|
17
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
18
|
+
# License along with liblouis. If not, see
|
|
19
|
+
# <http://www.gnu.org/licenses/>.
|
|
20
|
+
#
|
|
21
|
+
#------------
|
|
22
|
+
#
|
|
23
|
+
# This is the Danish 6 dots grade 1 table for forward translation (literary / not back-translateable) 1993.
|
|
24
|
+
#
|
|
25
|
+
# The output from this table is mainly ment for embossing and not suited for back-translation.
|
|
26
|
+
#
|
|
27
|
+
# Version: Bue Vester-Andersen, December 2022
|
|
28
|
+
|
|
29
|
+
### Table Metadata
|
|
30
|
+
|
|
31
|
+
#-name: Dansk fuldskrift 6-punkt 1993
|
|
32
|
+
#-index-name: Danish, uncontracted, 6-dot, 1993
|
|
33
|
+
#-display-name: Danish 6-dot uncontracted braille (1993 standard)
|
|
34
|
+
|
|
35
|
+
#+language: da
|
|
36
|
+
#+type: literary
|
|
37
|
+
#+contraction: no
|
|
38
|
+
#+grade: 1
|
|
39
|
+
#+dots: 6
|
|
40
|
+
#+direction: forward
|
|
41
|
+
#+system: ddp
|
|
42
|
+
#+version: 1993
|
|
43
|
+
|
|
44
|
+
# Display opcodes
|
|
45
|
+
include da-dk-octobraille_1993.dis
|
|
46
|
+
|
|
47
|
+
### Spaces
|
|
48
|
+
|
|
49
|
+
# These ctrl-chars have to have a representation, so that they can be properly converted back and forth.
|
|
50
|
+
space \t 2478 CHARACTER TABULATION
|
|
51
|
+
space \n 678 LINE FEED (LF)
|
|
52
|
+
space \v 1368 LINE TABULATION
|
|
53
|
+
space \f 12378 FORM FEED (FF)
|
|
54
|
+
space \r 257 CARRIAGE RETURN (CR)
|
|
55
|
+
space \x00a0 a
|
|
56
|
+
|
|
57
|
+
include spaces.uti
|
|
58
|
+
|
|
59
|
+
### Character definitions
|
|
60
|
+
|
|
61
|
+
# Definition of dot cells
|
|
62
|
+
punctuation ! 235 EXCLAMATION MARK
|
|
63
|
+
punctuation " 2356 QUOTATION MARK
|
|
64
|
+
sign & 12346 AMPERSAND
|
|
65
|
+
punctuation ' 4 APOSTROPHE
|
|
66
|
+
punctuation ( 236 LEFT PARENTHESIS
|
|
67
|
+
punctuation ) 356 RIGHT PARENTHESIS
|
|
68
|
+
punctuation * 35 ASTERISK
|
|
69
|
+
punctuation , 2 COMMA
|
|
70
|
+
punctuation - 36 HYPHEN-MINUS
|
|
71
|
+
punctuation . 3 FULL STOP
|
|
72
|
+
punctuation / 34 SLASH
|
|
73
|
+
punctuation : 25 COLON
|
|
74
|
+
punctuation ; 23 SEMICOLON
|
|
75
|
+
punctuation ? 26 QUESTION MARK
|
|
76
|
+
include latinLetterDef6Dots.uti
|
|
77
|
+
|
|
78
|
+
include digits6Dots.uti
|
|
79
|
+
|
|
80
|
+
punctuation \x00a7 346 SECTION SIGN (0xa7)
|
|
81
|
+
|
|
82
|
+
lowercase \x00e5 16 LATIN LETTER A WITH RING ABOVE
|
|
83
|
+
lowercase \x00e6 345 LATIN LETTER AE
|
|
84
|
+
lowercase \x00f8 246 LATIN LETTER O WITH STROKE
|
|
85
|
+
lowercase \x00fc 1256 LATIN LETTER U WITH DIAERESIS
|
|
86
|
+
math \x00f7 256 DIVISION SIGN
|
|
87
|
+
|
|
88
|
+
# Uppercase letters
|
|
89
|
+
base uppercase \x00c5 \x00e5 LATIN LETTER A WITH RING ABOVE
|
|
90
|
+
base uppercase \x00c6 \x00e6 LATIN LETTER AE
|
|
91
|
+
base uppercase \x00d8 \x00f8 LATIN LETTER O WITH STROKE
|
|
92
|
+
base uppercase \x00dc \x00fc LATIN CAPITAL LETTER U WITH DIAERESIS
|
|
93
|
+
|
|
94
|
+
# cover all other Braille patterns
|
|
95
|
+
include braille-patterns.cti
|
|
96
|
+
|
|
97
|
+
# Characters with two or more cells
|
|
98
|
+
|
|
99
|
+
punctuation # 45-3456 NUMBER SIGN
|
|
100
|
+
sign $ 45-256 DOLLAR SIGN
|
|
101
|
+
math % 245-356 PERCENT SIGN
|
|
102
|
+
#sign & 6-12346 AMPERSAND
|
|
103
|
+
#punctuation * 6-35 ASTERISK
|
|
104
|
+
math + 45-235 PLUS SIGN
|
|
105
|
+
math < 45-134 LESS-THAN SIGN
|
|
106
|
+
math = 45-2356 EQUALS SIGN
|
|
107
|
+
math > 45-234 GREATER-THAN SIGN
|
|
108
|
+
sign @ 45-1 COMMERCIAL AT
|
|
109
|
+
punctuation [ 5-236 LEFT SQUARE BRACKET
|
|
110
|
+
punctuation \\ 45-16 REVERSE SLASH
|
|
111
|
+
punctuation ] 5-356 RIGHT SQUARE BRACKET
|
|
112
|
+
punctuation ^ 45-346 CIRCUMFLEX ACCENT
|
|
113
|
+
punctuation _ 45-36 LOW LINE
|
|
114
|
+
punctuation ` 4 GRAVE ACCENT
|
|
115
|
+
punctuation { 45-246 LEFT CURLY BRACKET
|
|
116
|
+
punctuation | 45-456 VERTICAL LINE
|
|
117
|
+
punctuation } 45-135 RIGHT CURLY BRACKET
|
|
118
|
+
punctuation ~ 45-6 TILDE
|
|
119
|
+
|
|
120
|
+
# Misc unicode characters
|
|
121
|
+
include da-dk-6miscChars_1993.cti
|
|
122
|
+
|
|
123
|
+
# Litdigits
|
|
124
|
+
include litdigits6Dots.uti
|
|
125
|
+
|
|
126
|
+
undefined 26
|
|
127
|
+
|
|
128
|
+
### Braille indicators and special characters
|
|
129
|
+
|
|
130
|
+
#hyphen - 36
|
|
131
|
+
|
|
132
|
+
letsign 6
|
|
133
|
+
|
|
134
|
+
# No letsign before normal letters or letters with accents
|
|
135
|
+
# Letters with accents are handled by pass2.
|
|
136
|
+
noletsign ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅÄÖÜ\x0152
|
|
137
|
+
noletsign abcdefghijklmnopqrstuvwxyzæøåäöü\x00df\x0149\x0153
|
|
138
|
+
|
|
139
|
+
# Emphasis opcodes
|
|
140
|
+
emphclass italic
|
|
141
|
+
emphclass underline
|
|
142
|
+
emphclass bold
|
|
143
|
+
|
|
144
|
+
begemphphrase italic 56
|
|
145
|
+
endemphphrase italic after 56
|
|
146
|
+
|
|
147
|
+
begemphphrase bold 56
|
|
148
|
+
endemphphrase bold after 56
|
|
149
|
+
|
|
150
|
+
begemphphrase underline 56
|
|
151
|
+
endemphphrase underline after 56
|
|
152
|
+
|
|
153
|
+
capsletter 46
|
|
154
|
+
begcapsword 456
|
|
155
|
+
endcapsword 6
|
|
156
|
+
|
|
157
|
+
numsign 3456
|
|
158
|
+
|
|
159
|
+
#class of none-space characters that demand double dashes
|
|
160
|
+
# Used in context lines later.
|
|
161
|
+
#must be the first class defined.
|
|
162
|
+
attribute charsWDoubleDash .,?!/:"'() # class w
|
|
163
|
+
|
|
164
|
+
### Correct
|
|
165
|
+
|
|
166
|
+
# Chars that don't require a space before percent and permille:
|
|
167
|
+
attribute charsBeforePercent "(\x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb #class x
|
|
168
|
+
noback correct `["%"] *
|
|
169
|
+
noback correct `["\x2030"] *
|
|
170
|
+
noback correct !$sx["%"] "\s%"
|
|
171
|
+
noback correct !$sx["\x2030"] "\s\x2030"
|
|
172
|
+
noback correct `["\x0089"] *
|
|
173
|
+
noback correct !$sx["\x0089"] "\s\x2030"
|
|
174
|
+
|
|
175
|
+
# Chars to be treated like digits when switching back to letter mode
|
|
176
|
+
attribute extraDigits \x00bc\x00bd\x00be
|
|
177
|
+
|
|
178
|
+
#Use the "correct" opcode to convert chars that can't be back-translated
|
|
179
|
+
# and make the table more simple.
|
|
180
|
+
|
|
181
|
+
# Dashes
|
|
182
|
+
attribute dashes \x2013\x2014\x0096\x0097\x00ad
|
|
183
|
+
noback correct %dashes "-"
|
|
184
|
+
|
|
185
|
+
attribute quotes \x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb
|
|
186
|
+
noback correct %quotes "\""
|
|
187
|
+
|
|
188
|
+
attribute apostrophes `\x201a\x0082\x2039\x008b\x2018\x0091\x2019\x0092\x203a\x009b\x00b4
|
|
189
|
+
noback correct %apostrophes "'"
|
|
190
|
+
|
|
191
|
+
# Convert most single caps to lowercase
|
|
192
|
+
|
|
193
|
+
#Special abbreviations with imbedded small letters.
|
|
194
|
+
# Must be handled by case in this version of liblouis
|
|
195
|
+
noback correct "KAbB" "KABB"
|
|
196
|
+
noback correct "CUDiM" "CUDIM"
|
|
197
|
+
|
|
198
|
+
swapcc UpperLower ABCDEFGHIJKLMNOPQRSTUVWXYZ\x00c0\x00c1\x00c2\x00c3\x00c4\x00c5\x00c6\x00c7\x00c8\x00c9\x00ca\x00cb\x00cc\x00cd\x00ce\x00cf\x00d0\x00d1\x00d2\x00d3\x00d4\x00d5\x00d6\x00d8\x00d9\x00da\x00db\x00dc\x00dd\x00de\x008a\x008c abcdefghijklmnopqrstuvwxyz\x00e0\x00e1\x00e2\x00e3\x00e4\x00e5\x00e6\x00e7\x00e8\x00e9\x00ea\x00eb\x00ec\x00ed\x00ee\x00ef\x00f0\x00f1\x00f2\x00f3\x00f4\x00f5\x00f6\x00f8\x00f9\x00fa\x00fb\x00fc\x00fd\x00fe\x009a\x009c
|
|
199
|
+
swapcc UpperLowerExt \x0100\x0102\x0104\x0106\x0108\x010a\x010c\x010e\x0110\x0112\x0114\x0116\x0118\x011a\x011c\x011e\x0120\x0122\x0124\x0126\x0128\x012a\x012c\x012e\x0130\x0132\x0134\x0136\x0139\x013b\x013d\x013f\x0141\x0143\x0145\x0147\x014a\x014c\x014e\x0150\x0152\x0154\x0156\x0158\x015a\x015c\x015e\x0160\x0162\x0164\x0166\x0168\x016a\x016c\x016e\x0170\x0172\x0174\x0176\x0178\x0179\x017b\x017d\x0386\x0388\x0389\x038a\x038c\x038e\x038f\x0391\x0392\x0393\x0394\x0395\x0396\x0397\x0398\x0399\x039a\x039b\x039c\x039d\x039e\x039f\x03a0\x03a1\x03a3\x03a4\x03a5\x03a6\x03a7\x03a8\x03a9 \x0101\x0103\x0105\x0107\x0109\x010b\x010d\x010f\x0111\x0113\x0115\x0117\x0119\x011b\x011d\x011f\x0121\x0123\x0125\x0127\x0129\x012b\x012d\x012f\x0131\x0133\x0135\x0137\x013a\x013c\x013e\x0140\x0142\x0144\x0146\x0148\x014b\x014d\x014f\x0151\x0153\x0155\x0157\x0159\x015b\x015d\x015f\x0161\x0163\x0165\x0167\x0169\x016b\x016d\x016f\x0171\x0173\x0175\x0177\x00ff\x017a\x017c\x017e\x03ac\x03ad\x03ae\x03af\x03cc\x03cd\x03ce\x03b1\x03b2\x03b3\x03b4\x03b5\x03b6\x03b7\x03b8\x03b9\x03ba\x03bb\x03bc\x03bd\x03be\x03bf\x03c0\x03c1\x03c3\x03c4\x03c5\x03c6\x03c7\x03c8\x03c9
|
|
200
|
+
|
|
201
|
+
# I is a special case
|
|
202
|
+
noback correct _$sp["I"]$sp "i"
|
|
203
|
+
noback correct `["I"]$sp "i"
|
|
204
|
+
noback correct _$sp["I"]~ "i"
|
|
205
|
+
|
|
206
|
+
noback correct $sSpu[%UpperLower]$u %UpperLower
|
|
207
|
+
noback correct `[%UpperLower]$u %UpperLower
|
|
208
|
+
|
|
209
|
+
noback correct $sSpu[%UpperLowerExt]$u %UpperLowerExt
|
|
210
|
+
noback correct `[%UpperLowerExt]$u %UpperLowerExt
|
|
211
|
+
|
|
212
|
+
# Punctuations, math and numbers
|
|
213
|
+
midnum , 2
|
|
214
|
+
midnum . 3
|
|
215
|
+
# the following rule is doubtful, but probably does not apply.
|
|
216
|
+
#midnum - 36
|
|
217
|
+
endnum - 36
|
|
218
|
+
midnum / 34
|
|
219
|
+
midnum : 25
|
|
220
|
+
|
|
221
|
+
midnum ^ 45-346
|
|
222
|
+
midnum \x00d7 45-3-3456
|
|
223
|
+
|
|
224
|
+
# Remove space between § and numbers.
|
|
225
|
+
begnum § 346
|
|
226
|
+
begnum §\s 346
|
|
227
|
+
begnum §§\s 346-346
|
|
228
|
+
always §§ 346-346
|
|
229
|
+
|
|
230
|
+
# Punctuation
|
|
231
|
+
prepunc " 2356
|
|
232
|
+
postpunc " 2356
|
|
233
|
+
prepunc - 36
|
|
234
|
+
postpunc - 36
|
|
235
|
+
always :- 25-36
|
|
236
|
+
always ;- 23-36
|
|
237
|
+
always --- 36-36-36
|
|
238
|
+
always ---- 36-36-36-36
|
|
239
|
+
always ----- 36-36-36-36-36
|
|
240
|
+
|
|
241
|
+
# these characters must be separated from ")" by a letsign.
|
|
242
|
+
attribute SepToRightpar Jj%'\x2030\x0089\x201a\x0082\x2039\x009b\x2018\x0091\x2019\x0092\x203a\x009b
|
|
243
|
+
after SepToRightpar always ) 6-356
|
|
244
|
+
|
|
245
|
+
prepunc ( 236
|
|
246
|
+
postpunc ) 356
|
|
247
|
+
|
|
248
|
+
always .) 3-356
|
|
249
|
+
always ... 3-3-3
|
|
250
|
+
|
|
251
|
+
always !! 235-235
|
|
252
|
+
always !!! 235-235-235
|
|
253
|
+
always !!!! 235-235-235-235
|
|
254
|
+
always !!!!! 235-235-235-235-235
|
|
255
|
+
|
|
256
|
+
### Context rules
|
|
257
|
+
|
|
258
|
+
# Substitutions for joinnum rules with common math signs
|
|
259
|
+
noback context $dy$s["-"$s]$dy @36
|
|
260
|
+
noback context $dy$s["+"$s]$dy @235
|
|
261
|
+
noback context $dy$s["\x00d7"$s]$dy @3
|
|
262
|
+
noback context $dy$s["\x00f7"$s]$dy @256
|
|
263
|
+
noback context $dy$s["="$s]$dy @2356
|
|
264
|
+
|
|
265
|
+
# Space on each side of = when between letters or punctuation.
|
|
266
|
+
noback context $lp["="]$lp @0-2356-0
|
|
267
|
+
|
|
268
|
+
# Ensure two dashes where appropriate.
|
|
269
|
+
noback context $w["-"]$w @36
|
|
270
|
+
noback context $sw["-"]$sw @36-36
|
|
271
|
+
noback context `["-"]$sw @36-36
|
|
272
|
+
noback context $sw["-"]~ @36-36
|
|
273
|
+
noback context !$sw["-"]~ @36
|
|
274
|
+
noback context `["-"]~ @36-36
|
|
275
|
+
|
|
276
|
+
#ensure dot 6 between a digit and a letter
|
|
277
|
+
noback context $dy[]$u @6
|
|
278
|
+
noback context $dy$Spm.[]$u @6
|
|
279
|
+
|
|
280
|
+
# Ensure dot 6 as nocaps
|
|
281
|
+
#noback context $U2-50[]$u @6
|
|
282
|
+
|
|
283
|
+
### Pass 2
|
|
284
|
+
|
|
285
|
+
noback pass2 @6-5 @5 # no letsign before letters with accent
|
|
286
|
+
noback pass2 @6-46-5 @46-5 # no letsign before cap letters with accent
|
|
287
|
+
noback pass2 @45-6-46 * # don't touch tilde before capnoback pass2 @6-46 @46-6 # Ensure correct order
|
|
288
|
+
|
|
289
|
+
# Ensure there is only one letsign
|
|
290
|
+
noback pass2 @6-6 @6
|
|
291
|
+
|
|
292
|
+
# Ensure there is only one emphasis sign
|
|
293
|
+
noback pass2 @56-56 @56
|
|
294
|
+
noback pass2 @56-56-56 @56
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
# Liblouis: Danish table for 6 dots grade 1 forward and backward translation 2022
|
|
2
|
+
#
|
|
3
|
+
# Copyright (C) 2014, 2016-2024, Bue Vester-Andersen <bue@vester-andersen.dk>
|
|
4
|
+
#
|
|
5
|
+
# This file is part of liblouis.
|
|
6
|
+
#
|
|
7
|
+
# liblouis is free software: you can redistribute it and/or modify it
|
|
8
|
+
# under the terms of the GNU Lesser General Public License as
|
|
9
|
+
# published by the Free Software Foundation, either version 2.1 of the
|
|
10
|
+
# License, or (at your option) any later version.
|
|
11
|
+
#
|
|
12
|
+
# liblouis is distributed in the hope that it will be useful, but
|
|
13
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
15
|
+
# Lesser General Public License for more details.
|
|
16
|
+
#
|
|
17
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
18
|
+
# License along with liblouis. If not, see
|
|
19
|
+
# <http://www.gnu.org/licenses/>.
|
|
20
|
+
#
|
|
21
|
+
# This is the Danish table for 6 dots grade 1 Braille (fuldskrift) DDP2022.
|
|
22
|
+
# Use this table for translation and back-translation of Danish 6 dots grade 1 Braille.
|
|
23
|
+
# See also: Den Danske Punktskrift 2022
|
|
24
|
+
# Det Danske Punktskriftsnævn
|
|
25
|
+
# https://www.blind.dk/punktskrift-2022
|
|
26
|
+
#
|
|
27
|
+
# Version: Bue Vester-Andersen, December 2022
|
|
28
|
+
|
|
29
|
+
### Table Metadata
|
|
30
|
+
|
|
31
|
+
#-name: Dansk fuldskrift 6-punkt 2022
|
|
32
|
+
#-index-name: Danish, uncontracted, 6-dot, 2022
|
|
33
|
+
#-display-name: Danish 6-dot uncontracted braille (2022 standard)
|
|
34
|
+
|
|
35
|
+
#+language: da
|
|
36
|
+
#+type: literary
|
|
37
|
+
#+contraction: no
|
|
38
|
+
#+grade: 1
|
|
39
|
+
#+dots: 6
|
|
40
|
+
#+direction: both
|
|
41
|
+
#+system: ddp
|
|
42
|
+
#+version: 2022
|
|
43
|
+
|
|
44
|
+
# Display opcodes
|
|
45
|
+
include da-dk-octobraille.dis
|
|
46
|
+
|
|
47
|
+
### Spaces
|
|
48
|
+
include spaces.uti
|
|
49
|
+
|
|
50
|
+
### Character definitions
|
|
51
|
+
|
|
52
|
+
# Definition of dot cells
|
|
53
|
+
punctuation ! 235 EXCLAMATION MARK
|
|
54
|
+
punctuation " 2356 QUOTATION MARK
|
|
55
|
+
sign & 12346 AMPERSAND
|
|
56
|
+
punctuation ' 4 APOSTROPHE
|
|
57
|
+
punctuation ( 236 LEFT PARENTHESIS
|
|
58
|
+
punctuation ) 356 RIGHT PARENTHESIS
|
|
59
|
+
punctuation * 35 ASTERISK
|
|
60
|
+
punctuation , 2 COMMA
|
|
61
|
+
punctuation - 36 HYPHEN-MINUS
|
|
62
|
+
punctuation . 3 FULL STOP
|
|
63
|
+
punctuation / 34 SLASH
|
|
64
|
+
punctuation : 25 COLON
|
|
65
|
+
punctuation ; 23 SEMICOLON
|
|
66
|
+
punctuation ? 26 QUESTION MARK
|
|
67
|
+
include latinLetterDef6Dots.uti
|
|
68
|
+
|
|
69
|
+
include digits6Dots.uti
|
|
70
|
+
|
|
71
|
+
punctuation \x00a7 346 SECTION SIGN (0xa7)
|
|
72
|
+
|
|
73
|
+
lowercase \x00e0 12356 LATIN LETTER A WITH GRAVE
|
|
74
|
+
lowercase \x00e5 16 LATIN LETTER A WITH RING ABOVE
|
|
75
|
+
lowercase \x00e6 345 LATIN LETTER AE
|
|
76
|
+
lowercase \x00e8 2346 LATIN LETTER E WITH GRAVE
|
|
77
|
+
lowercase \x00e9 123456 LATIN LETTER E WITH ACUTE
|
|
78
|
+
lowercase \x00f8 246 LATIN LETTER O WITH STROKE
|
|
79
|
+
lowercase \x00fc 1256 LATIN LETTER U WITH DIAERESIS
|
|
80
|
+
|
|
81
|
+
base uppercase \x00c0 \x00e0 LATIN LETTER A WITH GRAVE
|
|
82
|
+
base uppercase \x00c5 \x00e5 LATIN LETTER A WITH RING ABOVE
|
|
83
|
+
base uppercase \x00c6 \x00e6 LATIN LETTER AE
|
|
84
|
+
base uppercase \x00c8 \x00e8 LATIN LETTER E WITH GRAVE
|
|
85
|
+
base uppercase \x00c9 \x00e9 LATIN LETTER E WITH ACUTE
|
|
86
|
+
base uppercase \x00d8 \x00f8 LATIN LETTER O WITH STROKE
|
|
87
|
+
base uppercase \x00dc \x00fc LATIN LETTER U WITH DIAERESIS
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
# cover all other Braille patterns
|
|
91
|
+
include braille-patterns.cti
|
|
92
|
+
|
|
93
|
+
# Characters with two or more cells
|
|
94
|
+
|
|
95
|
+
punctuation # 45-3456 NUMBER SIGN
|
|
96
|
+
sign $ 45-145 DOLLAR SIGN
|
|
97
|
+
math % 245-356 PERCENT SIGN
|
|
98
|
+
math + 45-235 PLUS SIGN
|
|
99
|
+
math < 45-134 LESS-THAN SIGN
|
|
100
|
+
math = 45-2356 EQUALS SIGN
|
|
101
|
+
math > 45-234 GREATER-THAN SIGN
|
|
102
|
+
sign @ 45-1 COMMERCIAL AT
|
|
103
|
+
punctuation [ 5-236 LEFT SQUARE BRACKET
|
|
104
|
+
punctuation \\ 45-34 REVERSE SLASH
|
|
105
|
+
punctuation ] 5-356 RIGHT SQUARE BRACKET
|
|
106
|
+
punctuation ^ 45-346 CIRCUMFLEX ACCENT
|
|
107
|
+
punctuation _ 45-36 LOW LINE
|
|
108
|
+
punctuation ` 4 GRAVE ACCENT
|
|
109
|
+
punctuation { 45-246 LEFT CURLY BRACKET
|
|
110
|
+
punctuation | 45-1236 VERTICAL LINE
|
|
111
|
+
punctuation } 45-135 RIGHT CURLY BRACKET
|
|
112
|
+
punctuation ~ 45-23 TILDE
|
|
113
|
+
math \x00f7 45-256 DIVISION SIGN
|
|
114
|
+
|
|
115
|
+
# Misc unicode characters
|
|
116
|
+
include da-dk-6miscChars.cti
|
|
117
|
+
|
|
118
|
+
# Litdigits
|
|
119
|
+
include litdigits6Dots.uti
|
|
120
|
+
midendnumericmodechars /,.:^
|
|
121
|
+
undefined 26
|
|
122
|
+
|
|
123
|
+
### Braille indicators and special characters
|
|
124
|
+
|
|
125
|
+
#hyphen - 36
|
|
126
|
+
|
|
127
|
+
letsign 56
|
|
128
|
+
|
|
129
|
+
# No letsign before normal letters or letters with accents
|
|
130
|
+
# Letters with accents are handled by pass2.
|
|
131
|
+
noletsign ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅÀÄÈÉÖÜ\x0152
|
|
132
|
+
noletsign abcdefghijklmnopqrstuvwxyzæøåàäèéöü\x00df\x0149\x0153
|
|
133
|
+
|
|
134
|
+
# Emphasis opcodes
|
|
135
|
+
emphclass italic
|
|
136
|
+
emphclass underline
|
|
137
|
+
emphclass bold
|
|
138
|
+
|
|
139
|
+
begemphphrase italic 46
|
|
140
|
+
endemphphrase italic after 46
|
|
141
|
+
|
|
142
|
+
begemphphrase bold 46
|
|
143
|
+
endemphphrase bold after 46
|
|
144
|
+
|
|
145
|
+
begemphphrase underline 46
|
|
146
|
+
endemphphrase underline after 46
|
|
147
|
+
|
|
148
|
+
capsletter 6
|
|
149
|
+
begcapsword 456
|
|
150
|
+
endcapsword 56
|
|
151
|
+
multind 56-6 letsign capsletter
|
|
152
|
+
multind 6-56 capsletter letsign
|
|
153
|
+
multind 46-456 letsign begcapsword
|
|
154
|
+
|
|
155
|
+
numsign 3456
|
|
156
|
+
multind 56-3456 letsign numsign
|
|
157
|
+
|
|
158
|
+
#class of none-space characters that demand double dashes
|
|
159
|
+
# Used in context lines later.
|
|
160
|
+
#must be the first class defined.
|
|
161
|
+
attribute charsWDoubleDash .,?!/:"'() # class w
|
|
162
|
+
|
|
163
|
+
### Correct - forward translation
|
|
164
|
+
|
|
165
|
+
# Chars that don't require a space before percent and permille:
|
|
166
|
+
attribute charsBeforePercent "(\x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb #class x
|
|
167
|
+
noback correct `["%"] *
|
|
168
|
+
noback correct !$sx["%"] "\s%"
|
|
169
|
+
noback correct `["\x2030"] *
|
|
170
|
+
noback correct !$sx["\x2030"] "\s\x2030"
|
|
171
|
+
noback correct `["\x0089"] *
|
|
172
|
+
noback correct !$sx["\x0089"] "\s\x2030"
|
|
173
|
+
|
|
174
|
+
# Chars to be treated like digits when switching back to letter mode
|
|
175
|
+
attribute extraDigits \x00bc\x00bd\x00be
|
|
176
|
+
|
|
177
|
+
#Use the "correct" opcode to convert chars that can't be back-translated
|
|
178
|
+
# and make the table more simple.
|
|
179
|
+
|
|
180
|
+
# Dashes
|
|
181
|
+
attribute dashes \x2013\x2014\x0096\x0097\x00ad
|
|
182
|
+
noback correct %dashes "-"
|
|
183
|
+
|
|
184
|
+
attribute quotes \x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb
|
|
185
|
+
noback correct %quotes "\""
|
|
186
|
+
|
|
187
|
+
attribute apostrophes `\x201a\x0082\x2039\x008b\x2018\x0091\x2019\x0092\x203a\x009b\x00b4
|
|
188
|
+
noback correct %apostrophes "'"
|
|
189
|
+
|
|
190
|
+
### Correct - backward translation
|
|
191
|
+
|
|
192
|
+
# characters that may get mangled by the insertion of extra letsigns
|
|
193
|
+
nofor correct "\x2818" "~"
|
|
194
|
+
#nofor correct "\x282f" "&"
|
|
195
|
+
#nofor correct "\x2814" "*"
|
|
196
|
+
|
|
197
|
+
nofor correct "\x28a0" ? # Extraneous endcaps signs
|
|
198
|
+
#nofor correct "\x2820" ?
|
|
199
|
+
nofor correct "~\\456/" "|"
|
|
200
|
+
|
|
201
|
+
### Pass 1 - Forward and backward
|
|
202
|
+
|
|
203
|
+
# Punctuations, math and numbers
|
|
204
|
+
#midnum , 2
|
|
205
|
+
#midnum . 3
|
|
206
|
+
#midnum - 36
|
|
207
|
+
endnum - 36
|
|
208
|
+
#midnum / 34
|
|
209
|
+
#midnum : 25
|
|
210
|
+
|
|
211
|
+
midnum ^ 45-346
|
|
212
|
+
midnum \x00d7 45-35
|
|
213
|
+
|
|
214
|
+
# Remove space between § and numbers.
|
|
215
|
+
noback begnum § 346
|
|
216
|
+
begnum §\s 346
|
|
217
|
+
begnum §§\s 346-346
|
|
218
|
+
always §§ 346-346
|
|
219
|
+
|
|
220
|
+
# Punctuation
|
|
221
|
+
prepunc " 2356
|
|
222
|
+
postpunc " 2356
|
|
223
|
+
prepunc - 36
|
|
224
|
+
postpunc - 36
|
|
225
|
+
nofor always \s-\s 0-36-36-0
|
|
226
|
+
always :- 25-36
|
|
227
|
+
always ;- 23-36
|
|
228
|
+
always --- 36-36-36
|
|
229
|
+
always ---- 36-36-36-36
|
|
230
|
+
always ----- 36-36-36-36-36
|
|
231
|
+
|
|
232
|
+
# these characters must be separated from ")" by a letsign.
|
|
233
|
+
attribute SepToRightpar Jj%\x2030\x0089\x201a\x0082\x2039\x009b\x2018\x0091\x2019\x0092\x203a\x009b
|
|
234
|
+
after SepToRightpar always ) 56-356
|
|
235
|
+
|
|
236
|
+
prepunc ( 236
|
|
237
|
+
postpunc ) 356
|
|
238
|
+
|
|
239
|
+
always .) 3-356
|
|
240
|
+
always ... 3-3-3
|
|
241
|
+
|
|
242
|
+
always !! 235-235
|
|
243
|
+
always !!! 235-235-235
|
|
244
|
+
always !!!! 235-235-235-235
|
|
245
|
+
always !!!!! 235-235-235-235-235
|
|
246
|
+
|
|
247
|
+
### Context rules - forward translation
|
|
248
|
+
|
|
249
|
+
# Ensure two dashes where appropriate.
|
|
250
|
+
noback context $w["-"]$w @36
|
|
251
|
+
noback context $sw["-"]$sw @36-36
|
|
252
|
+
noback context `["-"]$sw @36-36
|
|
253
|
+
noback context $sw["-"]~ @36-36
|
|
254
|
+
noback context !$sw["-"]~ @36
|
|
255
|
+
noback context `["-"]~ @36-36
|
|
256
|
+
|
|
257
|
+
#ensure letsign between a digit and a letter
|
|
258
|
+
noback context $dy[]$u @56
|
|
259
|
+
noback context $dy$Spm.[]$u @56
|
|
260
|
+
|
|
261
|
+
### context - backward translation
|
|
262
|
+
|
|
263
|
+
# Ensure the correct number of dashes
|
|
264
|
+
nofor context @36[@36-36] "--"
|
|
265
|
+
nofor context [@36-36]@36 "--"
|
|
266
|
+
nofor context $w[@36-36]$w "--"
|
|
267
|
+
nofor context $sw[@36-36]$sw "-"
|
|
268
|
+
nofor context `[@36-36]$sw "-"
|
|
269
|
+
nofor context $sw[@36-36]~ "-"
|
|
270
|
+
nofor context `@36-36~ "-"
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### Pass 2 - forward translation
|
|
274
|
+
|
|
275
|
+
noback pass2 @56-5 @5 # no letsign before letters with accent
|
|
276
|
+
noback pass2 @56-6-5 @6-5 # no letsign before cap letters with accent
|
|
277
|
+
noback pass2 @56-6 @6-56 # Ensure correct order
|
|
278
|
+
|
|
279
|
+
### Pass 2 - backward
|
|
280
|
+
|
|
281
|
+
### Pass 3 - forward translation
|
|
282
|
+
|
|
283
|
+
# Ensure there is only one letsign
|
|
284
|
+
noback pass3 @56-56 @56
|
|
285
|
+
|
|
286
|
+
# Ensure there is only one emphasis sign
|
|
287
|
+
noback pass3 @46-46 @46
|
|
288
|
+
noback pass3 @46-46-46 @46
|
|
289
|
+
|