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,604 @@
|
|
|
1
|
+
# Liblouis: Danish table for 6 dots grade 1.5 (grade 2l) forward and backward translation 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
|
+
# Version: Bue Vester-Andersen, December 2022
|
|
22
|
+
|
|
23
|
+
### Table Metadata
|
|
24
|
+
|
|
25
|
+
#-name: Dansk lille forkortelse 1993
|
|
26
|
+
#-index-name: Danish, partially contracted, 6-dot, 1993
|
|
27
|
+
#-display-name: Danish 6-dot partially contracted braille (1993 standard)
|
|
28
|
+
|
|
29
|
+
#+language: da
|
|
30
|
+
#+type: literary
|
|
31
|
+
#+contraction: partial
|
|
32
|
+
#+grade: 1.5
|
|
33
|
+
#+dots: 6
|
|
34
|
+
#+direction: both
|
|
35
|
+
#+system: ddp
|
|
36
|
+
#+version: 1993
|
|
37
|
+
|
|
38
|
+
# Display opcodes
|
|
39
|
+
include da-dk-octobraille_1993.dis
|
|
40
|
+
|
|
41
|
+
### Spaces
|
|
42
|
+
|
|
43
|
+
# These ctrl-chars have to have a representation, so that they can be properly converted back and forth.
|
|
44
|
+
space \t 2478 CHARACTER TABULATION
|
|
45
|
+
space \n 678 LINE FEED (LF)
|
|
46
|
+
space \v 1368 LINE TABULATION
|
|
47
|
+
space \f 12378 FORM FEED (FF)
|
|
48
|
+
space \r 257 CARRIAGE RETURN (CR)
|
|
49
|
+
space \x00a0 a
|
|
50
|
+
|
|
51
|
+
include spaces.uti
|
|
52
|
+
|
|
53
|
+
### Character definitions
|
|
54
|
+
|
|
55
|
+
# Definition of dot cells
|
|
56
|
+
punctuation ! 235 EXCLAMATION MARK
|
|
57
|
+
punctuation " 2356 QUOTATION MARK
|
|
58
|
+
punctuation ' 4 APOSTROPHE
|
|
59
|
+
punctuation ( 236 LEFT PARENTHESIS
|
|
60
|
+
punctuation ) 356 RIGHT PARENTHESIS
|
|
61
|
+
punctuation , 2 COMMA
|
|
62
|
+
punctuation - 36 HYPHEN-MINUS
|
|
63
|
+
punctuation . 3 FULL STOP
|
|
64
|
+
punctuation / 34 SLASH
|
|
65
|
+
punctuation : 25 COLON
|
|
66
|
+
punctuation ; 23 SEMICOLON
|
|
67
|
+
punctuation ? 26 QUESTION MARK
|
|
68
|
+
lowercase a 1
|
|
69
|
+
lowercase b 12
|
|
70
|
+
lowercase c 14
|
|
71
|
+
lowercase d 145
|
|
72
|
+
lowercase e 15
|
|
73
|
+
lowercase f 124
|
|
74
|
+
lowercase g 1245
|
|
75
|
+
lowercase h 125
|
|
76
|
+
lowercase i 24
|
|
77
|
+
lowercase j 245
|
|
78
|
+
lowercase k 13
|
|
79
|
+
lowercase l 123
|
|
80
|
+
lowercase m 134
|
|
81
|
+
lowercase n 1345
|
|
82
|
+
lowercase o 135
|
|
83
|
+
lowercase p 1234
|
|
84
|
+
lowercase r 1235
|
|
85
|
+
lowercase s 234
|
|
86
|
+
lowercase t 2345
|
|
87
|
+
lowercase u 136
|
|
88
|
+
lowercase v 1236
|
|
89
|
+
lowercase y 13456
|
|
90
|
+
|
|
91
|
+
#use 8 dots for the following chars to avoid conflict with indicators
|
|
92
|
+
lowercase q 123457
|
|
93
|
+
lowercase w 24567
|
|
94
|
+
lowercase x 13467
|
|
95
|
+
lowercase z 13567
|
|
96
|
+
punctuation | 4568 VERTICAL LINE
|
|
97
|
+
punctuation ~ 467 TILDE (changed by pass 2 to not conflict with indicators
|
|
98
|
+
lowercase \x00fc 12567
|
|
99
|
+
|
|
100
|
+
include digits6Dots.uti
|
|
101
|
+
|
|
102
|
+
punctuation \x00a7 346 SECTION SIGN (0xa7)
|
|
103
|
+
|
|
104
|
+
lowercase \x00e5 16 LATIN LETTER A WITH RING ABOVE
|
|
105
|
+
lowercase \x00e6 345 LATIN LETTER AE
|
|
106
|
+
lowercase \x00f8 246 LATIN LETTER O WITH STROKE
|
|
107
|
+
|
|
108
|
+
# Uppercase letters
|
|
109
|
+
base uppercase A a
|
|
110
|
+
base uppercase B b 1
|
|
111
|
+
base uppercase C c 1
|
|
112
|
+
base uppercase D d 14
|
|
113
|
+
base uppercase E e 1
|
|
114
|
+
base uppercase F f 12
|
|
115
|
+
base uppercase G g 124
|
|
116
|
+
base uppercase H h 12
|
|
117
|
+
base uppercase I i 2
|
|
118
|
+
base uppercase J j 24
|
|
119
|
+
base uppercase K k 1
|
|
120
|
+
base uppercase L l 12
|
|
121
|
+
base uppercase M m 13
|
|
122
|
+
base uppercase N n 134
|
|
123
|
+
base uppercase O o 13
|
|
124
|
+
base uppercase P p 123
|
|
125
|
+
base uppercase R r 123
|
|
126
|
+
base uppercase S s 23
|
|
127
|
+
base uppercase T t 234
|
|
128
|
+
base uppercase U u 13
|
|
129
|
+
base uppercase V v 123
|
|
130
|
+
base uppercase Y y 13456
|
|
131
|
+
base uppercase Q q 12345
|
|
132
|
+
base uppercase W w 2456
|
|
133
|
+
base uppercase X x 1346
|
|
134
|
+
base uppercase Z z 1356
|
|
135
|
+
base uppercase \x00dc \x00fc 12567
|
|
136
|
+
base uppercase \x00c5 \x00e5 LATIN LETTER A WITH RING ABOVE
|
|
137
|
+
base uppercase \x00c6 \x00e6 LATIN LETTER AE
|
|
138
|
+
base uppercase \x00d8 \x00f8 LATIN LETTER O WITH STROKE
|
|
139
|
+
|
|
140
|
+
# cover all other Braille patterns
|
|
141
|
+
include braille-patterns.cti
|
|
142
|
+
|
|
143
|
+
# Characters with two or more cells
|
|
144
|
+
|
|
145
|
+
punctuation # 45-3456 NUMBER SIGN
|
|
146
|
+
sign $ 45-256 DOLLAR SIGN
|
|
147
|
+
math % 245-356 PERCENT SIGN
|
|
148
|
+
sign & 6-12346 AMPERSAND
|
|
149
|
+
punctuation * 6-35 ASTERISK
|
|
150
|
+
math + 45-235 PLUS SIGN
|
|
151
|
+
math < 45-134 LESS-THAN SIGN
|
|
152
|
+
math = 45-2356 EQUALS SIGN
|
|
153
|
+
math > 45-234 GREATER-THAN SIGN
|
|
154
|
+
sign @ 45-1 COMMERCIAL AT
|
|
155
|
+
punctuation [ 5-236 LEFT SQUARE BRACKET
|
|
156
|
+
punctuation \\ 45-16 REVERSE SLASH
|
|
157
|
+
punctuation ] 5-356 RIGHT SQUARE BRACKET
|
|
158
|
+
punctuation ^ 45-346 CIRCUMFLEX ACCENT
|
|
159
|
+
punctuation _ 45-36 LOW LINE
|
|
160
|
+
punctuation ` 4 GRAVE ACCENT
|
|
161
|
+
punctuation { 45-246 LEFT CURLY BRACKET
|
|
162
|
+
punctuation } 45-135 RIGHT CURLY BRACKET
|
|
163
|
+
math \x00f7 45-256 DIVISION SIGN
|
|
164
|
+
|
|
165
|
+
# Misc unicode characters
|
|
166
|
+
include da-dk-6miscChars_1993.cti
|
|
167
|
+
|
|
168
|
+
# Litdigits
|
|
169
|
+
include litdigits6Dots.uti
|
|
170
|
+
midendnumericmodechars /,.:^
|
|
171
|
+
|
|
172
|
+
undefined 26
|
|
173
|
+
|
|
174
|
+
### Braille indicators and special characters
|
|
175
|
+
|
|
176
|
+
#hyphen - 36
|
|
177
|
+
|
|
178
|
+
letsign 6
|
|
179
|
+
|
|
180
|
+
# No letsign before capital letters or letters with accents
|
|
181
|
+
|
|
182
|
+
noletsign Ii\x00df\x0149\x0152\x0153
|
|
183
|
+
|
|
184
|
+
# Emphasis opcodes
|
|
185
|
+
emphclass italic
|
|
186
|
+
emphclass underline
|
|
187
|
+
emphclass bold
|
|
188
|
+
|
|
189
|
+
begemphphrase italic 56
|
|
190
|
+
endemphphrase italic after 56
|
|
191
|
+
|
|
192
|
+
begemphphrase bold 56
|
|
193
|
+
endemphphrase bold after 56
|
|
194
|
+
|
|
195
|
+
begemphphrase underline 56
|
|
196
|
+
endemphphrase underline after 56
|
|
197
|
+
|
|
198
|
+
capsletter 46
|
|
199
|
+
begcapsword 456
|
|
200
|
+
endcapsword 6
|
|
201
|
+
multind 6-46 letsign capsletter
|
|
202
|
+
multind 46-6 capsletter letsign
|
|
203
|
+
multind 6-456 letsign begcapsword
|
|
204
|
+
|
|
205
|
+
numsign 3456
|
|
206
|
+
multind 6-3456 letsign numsign
|
|
207
|
+
|
|
208
|
+
#class of none-space characters that demand double dashes
|
|
209
|
+
# Used in context lines later.
|
|
210
|
+
#must be the first class defined.
|
|
211
|
+
attribute charsWDoubleDash .,?!/:"'() # class w
|
|
212
|
+
|
|
213
|
+
### Correct - forward translation
|
|
214
|
+
|
|
215
|
+
# Chars that don't require a space before percent and permille:
|
|
216
|
+
attribute charsBeforePercent "(\x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb #class x
|
|
217
|
+
noback correct `["%"] *
|
|
218
|
+
noback correct !$sx["%"] "\s%"
|
|
219
|
+
noback correct `["\x2030"] *
|
|
220
|
+
noback correct !$sx["\x2030"] "\s\x2030"
|
|
221
|
+
noback correct `["\x0089"] *
|
|
222
|
+
noback correct !$sx["\x0089"] "\s\x2030"
|
|
223
|
+
|
|
224
|
+
# Chars to be treated like digits when switching back to letter mode
|
|
225
|
+
attribute extraDigits \x00bc\x00bd\x00be
|
|
226
|
+
|
|
227
|
+
#Use the "correct" opcode to convert chars that can't be back-translated
|
|
228
|
+
# and make the table more simple.
|
|
229
|
+
|
|
230
|
+
# Dashes
|
|
231
|
+
attribute dashes \x2013\x2014\x0096\x0097\x00ad
|
|
232
|
+
noback correct %dashes "-"
|
|
233
|
+
|
|
234
|
+
attribute quotes \x201e\x0084\x201c\x0093\x201d\x0094\x00ab\x00bb
|
|
235
|
+
noback correct %quotes "\""
|
|
236
|
+
|
|
237
|
+
attribute apostrophes `\x201a\x0082\x2039\x008b\x2018\x0091\x2019\x0092\x203a\x009b\x00b4
|
|
238
|
+
noback correct %apostrophes "'"
|
|
239
|
+
|
|
240
|
+
### Correct - backward translation
|
|
241
|
+
|
|
242
|
+
# characters that may get mangled by the insertion of extra letsigns
|
|
243
|
+
nofor correct "\x2818" "~"
|
|
244
|
+
#nofor correct "\x282f" "&"
|
|
245
|
+
#nofor correct "\x2814" "*"
|
|
246
|
+
|
|
247
|
+
# Try to distinguish between times (\x00d7) and bullit (\x2022),
|
|
248
|
+
# which share the same Braille representation.
|
|
249
|
+
nofor correct `["\x00d7"] "\x2022"
|
|
250
|
+
# nofor correct $d["\s\x00d7\s"]$d * #apparently doesn't work now
|
|
251
|
+
nofor correct ["\x00d7"]!$d "\x2022"
|
|
252
|
+
nofor correct !$d["\x00d7"] "\x2022"
|
|
253
|
+
|
|
254
|
+
nofor correct "\x28a0" ? # Extraneous endcaps signs
|
|
255
|
+
#nofor correct "\x2820" ?
|
|
256
|
+
nofor correct "~\\456/" "|"
|
|
257
|
+
|
|
258
|
+
### Pass 1 - Forward and backward
|
|
259
|
+
|
|
260
|
+
# Remove space between § and numbers.
|
|
261
|
+
noback begnum § 346
|
|
262
|
+
begnum §\s 346
|
|
263
|
+
begnum §§\s 346-346
|
|
264
|
+
always §§ 346-346
|
|
265
|
+
|
|
266
|
+
# Punctuations, math and numbers
|
|
267
|
+
#midnum , 2
|
|
268
|
+
#midnum . 3
|
|
269
|
+
# the following rule is doubtful, but probably does not apply.
|
|
270
|
+
#midnum - 36
|
|
271
|
+
endnum - 36
|
|
272
|
+
#midnum / 34
|
|
273
|
+
#midnum : 25
|
|
274
|
+
nofor midnum ^ 346
|
|
275
|
+
nofor midnum ^ 45-346
|
|
276
|
+
|
|
277
|
+
midnum ^ 45-346
|
|
278
|
+
midnum \x00d7 45-3
|
|
279
|
+
|
|
280
|
+
# various back rules for math signs etc.
|
|
281
|
+
nofor midnum % 0-245-356-0-3456
|
|
282
|
+
nofor endnum % 0-245-356
|
|
283
|
+
nofor endnum \x2030 0-245-356-356
|
|
284
|
+
nofor midnum \s 3456
|
|
285
|
+
nofor midnum \x00d7 45-3-3456
|
|
286
|
+
nofor midnum \x00d7 45-3
|
|
287
|
+
nofor midnum \x00d7 3-3456
|
|
288
|
+
|
|
289
|
+
# Punctuation
|
|
290
|
+
postpunc ! 235
|
|
291
|
+
prepunc " 2356
|
|
292
|
+
postpunc " 2356
|
|
293
|
+
always /\s 6-34-0
|
|
294
|
+
always \s/ 0-6-34
|
|
295
|
+
nofor always / 6-34
|
|
296
|
+
prepunc - 36
|
|
297
|
+
postpunc - 36
|
|
298
|
+
nofor always \s-\s 0-36-36-0
|
|
299
|
+
always :- 25-36
|
|
300
|
+
always ;- 23-36
|
|
301
|
+
always --- 36-36-36
|
|
302
|
+
always ---- 36-36-36-36
|
|
303
|
+
always ----- 36-36-36-36-36
|
|
304
|
+
# Star enclosed by parentheses
|
|
305
|
+
always (*) 236-35-356
|
|
306
|
+
|
|
307
|
+
before punctuation before sign always ( 6-236
|
|
308
|
+
|
|
309
|
+
# these characters must be separated from ")" by a letsign.
|
|
310
|
+
attribute SepToRightpar Jj%'\x2030\x0089\x201a\x0082\x2039\x009b\x2018\x0091\x2019\x0092\x203a\x009b
|
|
311
|
+
after SepToRightpar always ) 6-356
|
|
312
|
+
|
|
313
|
+
prepunc ( 236
|
|
314
|
+
postpunc ) 356
|
|
315
|
+
always .) 3-356
|
|
316
|
+
always ( 6-236
|
|
317
|
+
always ) 6-356
|
|
318
|
+
|
|
319
|
+
# extra back rules for ")"
|
|
320
|
+
nofor after punctuation always ) 356
|
|
321
|
+
nofor always \x00b0 4-356
|
|
322
|
+
nofor always ') 4-6-356
|
|
323
|
+
nofor always ") 2356-356
|
|
324
|
+
nofor endword j) 245-356
|
|
325
|
+
nofor always ) 6-356
|
|
326
|
+
|
|
327
|
+
always ... 3-3-3
|
|
328
|
+
|
|
329
|
+
#inverted exclamation
|
|
330
|
+
always \x00a1 6-256
|
|
331
|
+
|
|
332
|
+
### Contractions ###
|
|
333
|
+
|
|
334
|
+
#Special sequences, urls emails and file names.
|
|
335
|
+
|
|
336
|
+
nocont $
|
|
337
|
+
nocont \x005c
|
|
338
|
+
nocont @
|
|
339
|
+
nocont ://
|
|
340
|
+
nocont www
|
|
341
|
+
|
|
342
|
+
#Words
|
|
343
|
+
word at 1
|
|
344
|
+
word bliver 12
|
|
345
|
+
word den 12346
|
|
346
|
+
word der 23456
|
|
347
|
+
word det 2346
|
|
348
|
+
word de 1456
|
|
349
|
+
word du 145
|
|
350
|
+
word efter 1356
|
|
351
|
+
word eller 15
|
|
352
|
+
word en 126
|
|
353
|
+
word er 156
|
|
354
|
+
word et 346
|
|
355
|
+
word for 124
|
|
356
|
+
word før 246
|
|
357
|
+
word gennem 12456
|
|
358
|
+
word gør 1245
|
|
359
|
+
word han 13456
|
|
360
|
+
word har 125
|
|
361
|
+
word hun 136
|
|
362
|
+
word hvad 2456
|
|
363
|
+
word hvor 34
|
|
364
|
+
word jeg 245
|
|
365
|
+
word kan 13
|
|
366
|
+
word lige 123
|
|
367
|
+
word med 134
|
|
368
|
+
word men 146
|
|
369
|
+
word ned 1246
|
|
370
|
+
word når 1345
|
|
371
|
+
word og 14
|
|
372
|
+
word op 135
|
|
373
|
+
word over 1346
|
|
374
|
+
word på 1234
|
|
375
|
+
word ret 12356
|
|
376
|
+
word rigtig 1235
|
|
377
|
+
word skal 123456
|
|
378
|
+
word som 234
|
|
379
|
+
word så 16
|
|
380
|
+
word te 1256
|
|
381
|
+
word til 2345
|
|
382
|
+
word under 12345
|
|
383
|
+
word ve 3456
|
|
384
|
+
word ved 1236
|
|
385
|
+
word være 345
|
|
386
|
+
|
|
387
|
+
# Common combinations of one word contractions with slash
|
|
388
|
+
word af/på 356-34-1234
|
|
389
|
+
word du/i 145-34-24
|
|
390
|
+
word eller/og 15-34-14
|
|
391
|
+
word fra/til 235-34-2345
|
|
392
|
+
word han/hun 13456-34-136
|
|
393
|
+
word hun/han 136-34-13456
|
|
394
|
+
word i/du 24-34-145
|
|
395
|
+
word og/eller 14-34-15
|
|
396
|
+
word over/under 1346-34-12345
|
|
397
|
+
word på/af 1234-34-356
|
|
398
|
+
word til/fra 2345-34-235
|
|
399
|
+
word under/over 12345-34-1346
|
|
400
|
+
|
|
401
|
+
# no backtrans of ^1 and `2. use contractions
|
|
402
|
+
nofor always eta 346-1
|
|
403
|
+
nofor always etb 346-12
|
|
404
|
+
always etc 346-14
|
|
405
|
+
|
|
406
|
+
# Ensure no one-letter word contraction before or after a dash
|
|
407
|
+
|
|
408
|
+
endword -af 36-1-124
|
|
409
|
+
begword af- 1-124-36
|
|
410
|
+
endword -altid 36-1-2345-145
|
|
411
|
+
begword altid- 1-2345-145-36
|
|
412
|
+
endword -at 36-1-2345
|
|
413
|
+
endword -a 36-6-1
|
|
414
|
+
begword at- 1-2345-36
|
|
415
|
+
endword -og 36-135-1245
|
|
416
|
+
endword -c 36-6-14
|
|
417
|
+
begword og- 135-1245-36
|
|
418
|
+
endword -du 36-145-136
|
|
419
|
+
endword -d 36-6-145
|
|
420
|
+
begword du- 145-136-36
|
|
421
|
+
endword -efter 36-15-124-2345-156
|
|
422
|
+
endword -z 36-6-1356
|
|
423
|
+
begword efter- 15-124-2345-156-36
|
|
424
|
+
midword -efter- 36-1356-36
|
|
425
|
+
endword -e 36-6-15
|
|
426
|
+
endword -for 36-124-1346
|
|
427
|
+
endword -f 36-6-124
|
|
428
|
+
begword for- 124-1346-36
|
|
429
|
+
endword -fra 36-124-1235-1
|
|
430
|
+
begword fra- 124-1235-1-36
|
|
431
|
+
endword -g 36-6-1245
|
|
432
|
+
endword -gennem 36-1245-126-1246-134
|
|
433
|
+
begword gennem- 1245-126-1246-134-36
|
|
434
|
+
endword -ham 36-125-1-134
|
|
435
|
+
begword ham- 125-1-134-36
|
|
436
|
+
endword -han 36-125-1-1345
|
|
437
|
+
endword -y 36-6-13456
|
|
438
|
+
begword han- 125-1-1345-36
|
|
439
|
+
endword -har 36-125-1-1235
|
|
440
|
+
endword -h 36-6-125
|
|
441
|
+
begword har- 125-1-1235-36
|
|
442
|
+
endword -hun 36-125-136-1345
|
|
443
|
+
endword -u 36-6-136
|
|
444
|
+
begword hun- 125-136-1345-36
|
|
445
|
+
endword -j 36-6-245
|
|
446
|
+
endword -kan 36-13-1-1345
|
|
447
|
+
endword -k 36-6-13
|
|
448
|
+
begword kan- 13-1-1345-36
|
|
449
|
+
endword -lige 36-123-24-12456
|
|
450
|
+
endword -l 36-6-123
|
|
451
|
+
begword lige- 123-24-12456-36
|
|
452
|
+
endword -med 36-146-145
|
|
453
|
+
endword -m 36-6-134
|
|
454
|
+
begword med- 146-145-36
|
|
455
|
+
endword -men 36-134-126
|
|
456
|
+
begword men- 134-126-36
|
|
457
|
+
endword -ned 36-1246-145
|
|
458
|
+
begword ned- 1246-145-36
|
|
459
|
+
endword -når 36-1345-16-1235
|
|
460
|
+
endword -n 36-6-1345
|
|
461
|
+
begword når- 1345-16-1235-36
|
|
462
|
+
endword -op 36-135-1234
|
|
463
|
+
endword -o 36-6-135
|
|
464
|
+
begword op- 135-1234-36
|
|
465
|
+
endword -over 36-135-1236-156
|
|
466
|
+
endword -x 36-6-1346
|
|
467
|
+
begword over- 135-1236-156-36
|
|
468
|
+
endword -på 36-1234-16
|
|
469
|
+
endword -p 36-6-1234
|
|
470
|
+
begword på- 1234-16-36
|
|
471
|
+
midword -på- 36-1234-36
|
|
472
|
+
endword -ret 36-1235-346
|
|
473
|
+
begword ret- 1235-346-36
|
|
474
|
+
midword -ret- 36-12356-36
|
|
475
|
+
endword -rigtig 36-1235-35-2345-35
|
|
476
|
+
endword -r 36-6-1235
|
|
477
|
+
begword rigtig- 1235-35-2345-35-36
|
|
478
|
+
midword -rigtig- 36-1235-36
|
|
479
|
+
endword -skal 36-123456-1-123
|
|
480
|
+
begword skal- 123456-1-123-36
|
|
481
|
+
midword -skal- 36-123456-36
|
|
482
|
+
endword -som 36-234-135-134
|
|
483
|
+
endword -s 36-6-234
|
|
484
|
+
begword som- 234-135-134-36
|
|
485
|
+
midword -som- 36-234-36
|
|
486
|
+
endword -så 36-234-16
|
|
487
|
+
endword -å 36-6-16
|
|
488
|
+
begword så- 234-16-36
|
|
489
|
+
endword -til 36-2345-24-123
|
|
490
|
+
endword -t 36-6-2345
|
|
491
|
+
begword til- 2345-24-123-36
|
|
492
|
+
midword -til- 36-2345-36
|
|
493
|
+
endword -under 36-136-1345-23456
|
|
494
|
+
begword under- 136-1345-23456-36
|
|
495
|
+
midword -under- 36-12345-36
|
|
496
|
+
endword -ved 36-1236-15-145
|
|
497
|
+
endword -v 36-6-1236
|
|
498
|
+
begword ved- 1236-15-145-36
|
|
499
|
+
midword -ved- 36-1236-36
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
### Context rules - forward translation
|
|
503
|
+
|
|
504
|
+
# Exclamation at beginning of string
|
|
505
|
+
noback context `["!"] @6-235
|
|
506
|
+
|
|
507
|
+
# Ensure two dashes where appropriate.
|
|
508
|
+
noback context $w["-"]$w @36
|
|
509
|
+
noback context $sw["-"]$sw @36-36
|
|
510
|
+
noback context `["-"]$sw @36-36
|
|
511
|
+
noback context $sw["-"]~ @36-36
|
|
512
|
+
noback context !$sw["-"]~ @36
|
|
513
|
+
noback context `["-"]~ @36-36
|
|
514
|
+
|
|
515
|
+
# Ensure letsign between letter and numsign
|
|
516
|
+
noback context $l[]$D @6
|
|
517
|
+
|
|
518
|
+
# No "nd", "hv", "or", or "st" after a digit and a letsign
|
|
519
|
+
noback context $dy["hv"] @6-125-1236
|
|
520
|
+
noback context $dy$Spm["hv"] @6-125-1236
|
|
521
|
+
noback context $dy["nd"] @6-1345-145
|
|
522
|
+
noback context $dy$Spm["nd"] @6-1345-145
|
|
523
|
+
noback context $dy["or"] @6-135-1235
|
|
524
|
+
noback context $dy$Spm["or"] @6-135-1235
|
|
525
|
+
noback context $dy["st"] @6-234-2345
|
|
526
|
+
noback context $dy$Spm["st"] @6-234-2345
|
|
527
|
+
noback context $dy["te"] @6-2345-15
|
|
528
|
+
noback context $dy$Spm["te"] @6-2345-15
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
#ensure dot 6 between a digit and a letter
|
|
532
|
+
noback context $dy[]$u @6
|
|
533
|
+
noback context $dy$Spm.[]$u @6
|
|
534
|
+
|
|
535
|
+
### context - backward translation
|
|
536
|
+
|
|
537
|
+
# Ensure the correct number of dashes
|
|
538
|
+
nofor context @36[@36-36] "--"
|
|
539
|
+
nofor context [@36-36]@36 "--"
|
|
540
|
+
nofor context $w[@36-36]$w "--"
|
|
541
|
+
nofor context $sw[@36-36]$sw "-"
|
|
542
|
+
nofor context `[@36-36]$sw "-"
|
|
543
|
+
nofor context $sw[@36-36]~ "-"
|
|
544
|
+
nofor context `@36-36~ "-"
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
### Pass 2 - forward translation
|
|
548
|
+
|
|
549
|
+
# Correct chars defined as 8 dots because they include letsign
|
|
550
|
+
noback pass2 @467 @45-6
|
|
551
|
+
noback pass2 @4568 @45-456
|
|
552
|
+
noback pass2 @123457 @6-12345
|
|
553
|
+
noback pass2 @24567 @6-2456
|
|
554
|
+
noback pass2 @13467 @6-1346
|
|
555
|
+
noback pass2 @13567 @6-1356
|
|
556
|
+
noback pass2 @12567 @6-1256
|
|
557
|
+
|
|
558
|
+
noback pass2 @6-5 @5 # no letsign before letters with accent
|
|
559
|
+
noback pass2 @6-46-5 @46-5 # no letsign before cap letters with accent
|
|
560
|
+
noback pass2 _$D[@6-46-6] *
|
|
561
|
+
noback pass2 _$D[@6-46] *
|
|
562
|
+
noback pass2 @6-46-6 @46-6 # Ensure correct order and no double letsign
|
|
563
|
+
noback pass2 @6-46 @46-6 # Ensure correct order
|
|
564
|
+
|
|
565
|
+
### Pass 2 - backward
|
|
566
|
+
|
|
567
|
+
# Insert letsign between number (with extra punctuation) and capsletter sign
|
|
568
|
+
#nofor pass2 @3456$l.$Spm$l.@3$l.@3[]@46 @6
|
|
569
|
+
#nofor pass2 @3456$l.$Spm$l.@3[]@46 @6
|
|
570
|
+
#nofor pass2 @3456$l.$Spm$Spm[]@46 @6
|
|
571
|
+
#nofor pass2 @3456$l.$Spm[]@46 @6
|
|
572
|
+
|
|
573
|
+
## Insert letsign between number (with extra punctuation) and capsword sign
|
|
574
|
+
#nofor pass2 @3456$l.$Spm$l.@3$l.@3[]@456 @6
|
|
575
|
+
#nofor pass2 @3456$l.$Spm$l.@34$l.@34[]@456 @6
|
|
576
|
+
#nofor pass2 @3456$l.$Spm$l.@36$l.@36[]@456 @6
|
|
577
|
+
#nofor pass2 @3456$l.$Spm$l.@3[]@456 @6
|
|
578
|
+
#nofor pass2 @3456$l.$Spm$l.@34[]@456 @6
|
|
579
|
+
#nofor pass2 @3456$l.$Spm$l.@36[]@456 @6
|
|
580
|
+
#nofor pass2 @3456$l.$Spm$Spm[]@456 @6
|
|
581
|
+
#nofor pass2 @3456$l.$Spm[]@456 @6
|
|
582
|
+
#nofor pass2 @3456$l.[]@456 @6
|
|
583
|
+
|
|
584
|
+
### Pass 3 - forward translation
|
|
585
|
+
|
|
586
|
+
# Ensure there is only one letsign
|
|
587
|
+
noback pass3 @6-6 @6
|
|
588
|
+
|
|
589
|
+
# Ensure there is only one emphasis sign
|
|
590
|
+
noback pass3 @56-56 @56
|
|
591
|
+
noback pass3 @56-56-56 @56
|
|
592
|
+
|
|
593
|
+
### Pass 3 - backward translation
|
|
594
|
+
|
|
595
|
+
# Save letters that have been defined with letsign as part of their definitions
|
|
596
|
+
nofor pass3 @6-12345 @6-123457
|
|
597
|
+
nofor pass3 @6-2456 @6-24567
|
|
598
|
+
nofor pass3 @6-1346 @6-13467
|
|
599
|
+
nofor pass3 @6-1356 @13567
|
|
600
|
+
nofor pass3 @6-1256 @6-12567
|
|
601
|
+
|
|
602
|
+
# save ~ and | before inserting extra letsigns and endcapsword in pass 2.
|
|
603
|
+
nofor pass3 @45-6 @467 # Create alternative representation of "~"
|
|
604
|
+
nofor pass3 @45-456 @4568
|