Debian Codegraph @

tables/hu-hu-g1.ctb

raw
1 # liblouis: Hungarian Grade 1 table
2 #
3 # Copyright (C) 2011-2022 Attila Hammer from IT Foundation for the Visually Impaired - Hungary. www.infoalap.hu
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 # Maintained by Attila Hammer [email protected]
22 #
23 # If you found bugs with hungarian grade1 table, report it with following address:
24 # Attila Hammer <[email protected]
25 #If you have a Launchpad account, report table related requests with following bug tracker address: https://bugs.launchpad.net/belin
26
27 #-index-name: Hungarian, uncontracted
28 #-display-name: Hungarian uncontracted braille
29
30 #+language: hu
31 #+type: literary
32 #+contraction: no
33 #+grade: 1
34 # Marked as "direction:both" by Bue Vester-Andersen
35 # as tests run both forward and backward
36 #+direction: both
37
38 # Braille-specs documentation link: https://liblouis.io/braille-specs/hungarian
39
40 include hu-backtranslate-correction.dis
41 include hu-chardefs.cti
42 include hu-exceptionwords.cti
43 include hu-backtranslate-word-corrections.cti
44 include braille-patterns.cti
45 #Braille indicators
46 numsign 3456
47 capsletter 46
48 begcapsword 46-46
49 #Now, not have rule to mark a dot combination the end of capital words part the mixed partialy capital and lowercase letters containing words, following three line rules are commented out
50 #endcapsword 56
51 #noback pass2 $U2-30[@56] @6
52 #noback pass2 $U2-30[@5]$l2-30 @6
53 emphclass italic
54 emphclass underline
55 emphclass bold
56 begemph italic 356
57 endemph italic 236
58 begemph bold 356
59 endemph bold 236
60 begemph underline 356
61 endemph underline 236
62 begcomp 456-346
63 endcomp 456-156
64 # literary forms of the decimal digits
65 include litdigits6Dots.uti
66 attribute notaccentedletters abcdefghijABCDEFGHIJ-
67 attribute accentedletters áéíöőüűúóklmnopqrstuvwxyz
68 include hu-hu-g1_braille_input.cti
69 midendnumericmodechars ,:.-
70 nonumsign 6
71 numericnocontchars abcdefghij
72 #Correcting forward translation when after a number following a hyphen
73 #character, and a literary digit letter (for example a, b, c, etc).
74 #This situation not need putting the dot 6 combination
75 noback pass2 $D[@36-6]%notaccentedletters @36
76 noback pass2 $D[@36-36-6]%notaccentedletters @36-36
77 #Correcting backward translation too, because for example the „#bj-ai”,
78 #„#be-ei” eurobraille output since Liblouis 3.9.0 version producing numbers
79 #the back translation, not the „20-ai”, „25-ei” strings.
80 #wrong backtranslated output is „20-19”, „25-59”
81 nofor pass2 $D[@36-36]%notaccentedletters @36-36-6
82 nofor pass2 $D[@36]%notaccentedletters @36-6
83 #Now, commented out the multind indicator rule with Braille input related
84 #multind 56 nocontractsign endcapsword
85 #Special letter replacements
86 always cs 146 General need replacing cs letters with a combined dot combination
87 always ccs 146-146 General need replacing ccs letters with a combined dot combination
88 always csz 14-156
89 always cszs 146-345
90 always ccsz 14-14-156
91 always gy 1456 General need replacing gy letters with a combined dot combination
92 always ggy 1456-1456 General need replacing ggy letters with a combined dot combination
93 always ly 456
94 always lly 456-456 General need replacing ly letters with a combined dot combination
95 always ny 1246 General need replacing ny letters with a combined dot combination
96 always nny 1246-1246 General need replacing nny letters with a combined dot combination
97 always ty 1256 General need replacing ty letter pairs with a combined dot combination
98 always tty 1256-1256 General need replacing ty letter pairs with a combined dot combination
99 always sz 156 General need replacing sz letters with a combined dot combination
100 always ssz 156-156
101 always zsz 126-156
102 always zs 345 General need replacing zs letters with a combined dot combination
103 always zzs 345-345 General need replacing zs letters with a combined dot combination
104 always " 236 Need this rule to present one left quotation mark if the user firsttyping the " character
105 word "" 236-356
106 always ( 2346 Need this rule to the user always see 2346 dot combination if type first ( character a text
107 always ) 1356 Need this rule to the user always see 1356 dot combination if type first ) character a text
108 always # 123456
109 always $ 5-145
110 always % 3456-245-356
111 always ~ 5-2345
112 always < 5-13
113 always > 46-2
114 always / 5-2
115 always | 5-1245
116 always { 5-2346
117 always } 5-1356
118 always [ 46-2346
119 always ] 46-1356
120 always \\ 5-16
121 always ^ 5-124
122 always ` 5-14
123 noback always Æ 1
124 always lyú 456-346
125 always lysz 456-156
126 always ä 5-1
127 uppercase Ä 5-1
128 noback always \\_ 6 letter sign before Roman page numbers
129 undefined 26