Debian Codegraph @

tables/ar-ar-comp8.utb

raw
1 # liblouis: Arabic Computer Braille table
2
3 # Based on the official Unified Arabic Braille Project website
4 # <https://mip.qa/braille>: a comprehensive resource containing all
5 # details about Arabic braille, including complete references,
6 # tutorials and awareness articles. It also provides a platform for
7 # suggestions and comments to improve Arabic braille further.
8
9 # Copyright (C) 2018, 2021 by Ikrami Ahmad <[email protected]>
10 # Copyright (C) 2020 Mada, Qatar Assistive Technology Center <[email protected]>
11
12 # This file is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU Lesser General Public
14 # License as published by the Free Software Foundation; either
15 # version 2.1 of the License, or (at your option) any later version.
16
17 # This file is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 # Lesser General Public License for more details.
21
22 # You should have received a copy of the GNU Lesser General Public
23 # License along with this file; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25
26 #-index-name: Arabic, computer
27 #-display-name: Arabic computer braille
28 #-author: Ikrami Ahmad <[email protected]>
29 # with assistance from Hatoon Felemban <[email protected]>
30
31 #+language: ar
32 #+type: computer
33 #+dots: 8
34 # Marked as "direction:both" by Bue Vester-Andersen
35 # as tests run both forward and backward
36 #+direction: both
37
38 include text_nabcc.dis All display opcodes
39 include braille-patterns.cti # unicode braille.
40
41 space \s 0 blank
42 space \t 0 tab
43 space \x000A 0
44 space \x000D 0
45
46 # Arabic characters
47 letter ء 3 # arabic individual hamza (\x0621)
48 letter آ 345 # arabic alef madd (\x0622)
49 letter أ 34 # arabic hamza above alef (\x0623)
50 letter ؤ 1256 # arabic hamza on waw (\x0624)
51 letter إ 46 # arabic hamza below alef (\x0625)
52 letter ئ 13456 # arabic hamza on iaa (\x0626)
53 letter ا 1 # arabic Alef (\x0626)
54 letter ب 12 # arabic baa (\x0628)
55 letter ة 16 # arabic taa marbuta (\x0629)
56 letter ث 1456 # arabic thaa (\x062B)
57 letter ت 2345 # arabic Taa (\x062A)
58 letter ج 245 # arabic jeem (\x062C)
59 letter ح 156 # arabic strong haa (\x062D)
60 letter خ 1346 # arabic Khaa (\x062E)
61 letter د 145 # arabic dal (\x062F)
62 letter ذ 2346 # arabic thal (\x0630)
63 letter ر 1235 # arabic raa (\x0631)
64 letter ز 1356 # arabic zaai (\x0632)
65 letter س 234 # arabic seen (\x0633)
66 letter ش 146 # arabic sheen (\x0634)
67 letter ص 12346 # arabic saad (\x0635)
68 letter ض 1246 # arabic dhaad (\x0636)
69 letter ط 23456 # arabic strong taa (\x0637)
70 letter ظ 123456 # arabic strong thaa (\x0638)
71 letter ع 12356 # arabic ayn (\x0639)
72 letter غ 126 # arabic ghayn (\x063A)
73 letter ف 124 # arabic faa (\x0641)
74 letter ق 12345 # arabic strong qaaf (\x0642)
75 letter ك 13 # arabic kaaf (\x0643)
76 letter ل 123 # arabic laam (\x0644)
77 letter م 134 # arabic meem (\x0645)
78 letter ن 1345 # arabic noon (\x0646)
79 letter ه 125 # arabic soft haa (\x0647)
80 letter و 2456 # arabic waaw (\x0648)
81 letter ى 135 # arabic alef maqsoora (\x0649)
82 letter ي 24 # arabic iaa (\x064A)
83 letter َ 2 # arabic diacritic symbol fathah (\x064E)
84 letter ِ 15 # arabic diacritic symbol kasrah (\x0650)
85 letter ً 23 # arabic diacritic symbol tanween fath (\x064B)
86 letter ٌ 26 # arabic diacritic symbol tanween dham (\x064C)
87 letter ٍ 35 # arabic diacritic symbol tanween kasr (\x064D)
88 letter ُ 136 # arabic diacritic symbol dhamma (\x064F)
89 letter ّ 6 # arabic diacritic symbol shadda (\x0651)
90 letter ْ 25 v# arabic diacritic symbol sukoon (\x0652)
91 sign ـ 5-25 # arabic tatweel (\x0640)
92 always \x0644\x0627 1236 # to join lam and alef together in one cell if they come in one word
93 midendword \x0651 6 # to indicate that Shadda can never come at the beginning of a word
94
95 #additional forms
96 noback letter \x067E 12 #Arabic letter Peh
97 noback letter \x0686 245 # arabic letter gtcheh چ
98 noback letter \x06a4 124 # arabic letter Veh ڤ
99 noback letter \x06af 13 # arabic letter gaf گ
100 noback letter \x0698 1356 # arabic letter zhi
101
102 #the following to correct Shadda symbol, which should be written before the character in Arabic braille code. this will consists of every arabic character followed by the Shadda diacritic symbol, and a dot pattern of the braille shadda followed by the character.
103 noback always ءّ 6-3
104 noback always آّ 6-345
105 noback always أّ 6-34
106 noback always ؤّ 6-1256
107 noback always إّ 6-46
108 noback always ئّ 6-13456
109 noback always اّ 6-1
110 noback always بّ 6-12
111 noback always ةّ 6-16
112 noback always ثّ 6-1456
113 noback always تّ 6-2345
114 noback always جّ 6-245
115 noback always حّ 6-156
116 noback always خّ 6-1346
117 noback always دّ 6-145
118 noback always ذّ 6-2346
119 noback always رّ 6-1235
120 noback always زّ 6-1356
121 noback always سّ 6-234
122 noback always شّ 6-146
123 noback always صّ 6-12346
124 noback always ضّ 6-1246
125 noback always طّ 6-23456
126 noback always ظّ 6-123456
127 noback always عّ 6-12356
128 noback always غّ 6-126
129 noback always فّ 6-124
130 noback always قّ 6-12345
131 noback always كّ 6-13
132 noback always لّ 6-123
133 noback always مّ 6-134
134 noback always نّ 6-1345
135 noback always هّ 6-125
136 noback always وّ 6-2456
137 noback always يّ 6-24
138 noback always لاّ 6-1236
139
140 # Latin numerals
141 digit 0 2458
142 digit 1 18
143 digit 2 128
144 digit 3 148
145 digit 4 1458
146 digit 5 158
147 digit 6 1248
148 digit 7 12458
149 digit 8 1258
150 digit 9 248
151
152 # Arabic numerals
153 digit \x0660 2458 # 0 (٠)
154 digit \x0661 18 # 1 (١)
155 digit \x0662 128 # 2 (٢)
156 digit \x0663 148 # 3 (٣)
157 digit \x0664 1458 # 4 (٤)
158 digit \x0665 158 # 5 (٥)
159 digit \x0666 1248 # 6 (٦)
160 digit \x0667 12458 # 7 (٧)
161 digit \x0668 1258 # 8 (٨)
162 digit \x0669 248 # 9 (٩)
163
164 # English letters backward translation only
165 nofor lowercase a 178
166 nofor lowercase b 1278
167 nofor lowercase c 1478
168 nofor lowercase d 14578
169 nofor lowercase e 1578
170 nofor lowercase f 12478
171 nofor lowercase g 124578
172 nofor lowercase h 12578
173 nofor lowercase i 2478
174 nofor lowercase j 24578
175 nofor lowercase k 1378
176 nofor lowercase l 12378
177 nofor lowercase m 13478
178 nofor lowercase n 134578
179 nofor lowercase o 13578
180 nofor lowercase p 123478
181 nofor lowercase q 1234578
182 nofor lowercase r 123578
183 nofor lowercase s 23478
184 nofor lowercase t 234578
185 nofor lowercase u 13678
186 nofor lowercase v 123678
187 nofor lowercase w 245678
188 nofor lowercase x 134678
189 nofor lowercase y 1345678
190 nofor lowercase z 135678
191 nofor uppercase A 17
192 nofor uppercase B 127
193 nofor uppercase C 147
194 nofor uppercase D 1457
195 nofor uppercase E 157
196 nofor uppercase F 1247
197 nofor uppercase G 12457
198 nofor uppercase H 1257
199 nofor uppercase I 247
200 nofor uppercase J 2457
201 nofor uppercase K 137
202 nofor uppercase L 1237
203 nofor uppercase M 1347
204 nofor uppercase N 13457
205 nofor uppercase O 1357
206 nofor uppercase P 12347
207 nofor uppercase Q 123457
208 nofor uppercase R 12357
209 nofor uppercase S 2347
210 nofor uppercase T 23457
211 nofor uppercase U 1367
212 nofor uppercase V 12367
213 nofor uppercase W 24567
214 nofor uppercase X 13467
215 nofor uppercase Y 134567
216 nofor uppercase Z 13567
217
218 #punctuation symbols
219 punctuation ، 57 # Arabic comma (\x060C)
220 punctuation \x061B 567 # Arabic semiColon
221 punctuation ; 567
222 punctuation : 257
223 punctuation \x061F 236 # arabic question mark ؟
224 punctuation ? 236
225 noback punctuation \x06D4 256 # Arabic Full stop
226 punctuation . 256
227 punctuation , 27
228 punctuation ! 235
229 punctuation " 2356
230 sign # 3456
231 punctuation % 1468
232 sign & 123467
233 noback punctuation ' 3 # apostrophe
234 nofor punctuation ' 37 # apostrophe
235 punctuation ) 3568
236 punctuation ( 2367
237 sign * 358
238 math + 2358
239 math \x2212 368 # − minus
240 math \x00D7 2368 # × multiplication sign
241 math \x00F7 2568 # ÷ division sign
242 math > 1358
243 math < 2468
244 math / 348
245 math = 235678
246 punctuation - 36
247 sign @ 47
248 punctuation ‘ 378
249 punctuation ’ 678
250 punctuation [ 123567
251 sign \\ 347
252 punctuation ] 234568
253 sign ^ 23468
254 sign _ 4567
255 sign ` 34578 # grave accent
256 punctuation { 23567
257 sign | 12568
258 punctuation } 23568
259 math ~ 3458
260 space \x00A0 0 # no-break space
261 punctuation \x00Ad 36 # soft hyphen
262 punctuation « 1234567 # left-pointing double angle quotation mark
263 punctuation » 1234568 # right-pointing double angle quotation mark
264 punctuation \x2018 2356 # smart single left quotation mark
265 punctuation \x2019 2356 # smart single right quotation mark
266 punctuation \x201C 2356 # smart opening double quote
267 punctuation \x201D 2356 # smart closing double quote
268 punctuation \x201E 2356 # smart double low quotation mark
269 punctuation \x201F 2356 # smart double high reverse quotation mark
270
271 sign \x00BF 236 # inverted question mark
272 sign \x200C 9 # ZERO WIDTH NON-JOINER
273 punctuation \x2010 36 # hyphen
274 punctuation \x2011 36 # non-breaking hyphen
275 punctuation \x2013 5-36 # en dash
276 punctuation \x2026 25678 # smart ellipsis
277
278 # adding the standard 8-dot latin letters for proper forward translation
279 include latinLetterDef8Dots.uti
280
281 sign $ 12468
282 sign \x20AC 4-15 # Euro sign
283 sign \x00A2 12467 # ¢ cents sign
284 sign \x00A3 4-123 # £ pounds sign
285 sign \x00A5 4-13456 # ¥ yen sign
286 sign \x00A7 2348 # section sign §
287 sign \x00A9 123468 # © copyright sign
288 sign \x00AE 12358 # ® Registered mark
289 sign \x00B0 123458 # ° degrees sign
290 sign \x00B5 1348 # µ micro sign
291 sign \x00B6 12348 # ¶ pilcrow sign
292
293 include countries.cti