Debian Codegraph @

tables/fil-g2.ctb

raw
1 # liblouis: Filipino Braille Code (Grade 2)
2 #
3 # -----------
4 #-name: Filipino braille, grado 2
5 #-index-name: Filipino, contracted
6 #-display-name: Filipino contracted braille
7 #
8 #+language: fil
9 #+language: tlg
10 #+type: literary
11 #+contraction: full
12 #+grade: 2
13 #+direction: forward
14 #+system: fbc
15 #+version: 2014
16 #
17 # Referenced documentation of Filipino Braille code at: http://liblouis.io/braille-specs/filipino/
18 #
19 # Copyright (C) 2023 Allan Mesoga [email protected]
20 #
21 # This file is part of liblouis.
22 #
23 # liblouis is free software: you can redistribute it and/or modify it
24 # under the terms of the GNU Lesser General Public License as
25 # published by the Free Software Foundation, either version 2.1 of the
26 # License, or (at your option) any later version.
27 #
28 # liblouis is distributed in the hope that it will be useful, but
29 # WITHOUT ANY WARRANTY; without even the implied warranty of
30 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31 # Lesser General Public License for more details.
32 #
33 # You should have received a copy of the GNU Lesser General Public
34 # License along with liblouis. If not, see
35 # <http://www.gnu.org/licenses/>.
36 #
37 # Maintained by Allan R. Mesoga [email protected]
38 # Reviewed by Joyce C. Lopez [email protected]
39
40 include en-ueb-g1.ctb
41
42 # Delimiters
43
44 multind 56-6 nocontractsign capsletter
45
46 seqdelimiter -—
47 seqdelimiter ‐ \x2010
48 seqdelimiter ‑ \x2011
49 seqdelimiter – \x2013
50 seqdelimiter — \x2014
51 seqdelimiter ― \x2015
52
53 seqbeforechars ([{"“'‘
54 seqafterchars )]}"”'’.,;:.!?…
55 seqafterpattern 'd
56 seqafterpattern 'll
57 seqafterpattern 're
58 seqafterpattern 's
59 seqafterpattern 't
60 seqafterpattern 've
61 seqafterpattern ’d
62 seqafterpattern ’ll
63 seqafterpattern ’re
64 seqafterpattern ’s
65 seqafterpattern ’t
66 seqafterpattern ’ve
67 #TODO: all caps words (see lou_translateString.c:inSequence()
68 seqafterpattern 'D
69 seqafterpattern 'LL
70 seqafterpattern 'RE
71 seqafterpattern 'S
72 seqafterpattern 'T
73 seqafterpattern 'VE
74 seqafterexpression '([DSTdst]|ll|[rv]e|LL|[RV]E)
75 seqafterpattern ’D
76 seqafterpattern ’LL
77 seqafterpattern ’RE
78 seqafterpattern ’S
79 seqafterpattern ’T
80 seqafterpattern ’VE
81 seqafterexpression ’([DSTdst]|ll|[rv]e|LL|[RV]E)
82
83 # 7 Punctuation
84 # - 7.1.3 could be read as contraction
85 match %[^_]|%[^_~]%<*[([{] ; %[^_]|[)}\]]%>*%[^_~] 56-23
86 # or a word-initial groupsign
87 match %[^_~]%<* . %a 56-256
88 match %[^_~]%<* : %a 56-25
89 match %[^_~]%<* ; %a 56-23
90
91 # 10.1 Alphabetic Wordsigns
92 # - 10.1.1 standing alone
93 # - 10.1.2 followed by 'd, 'll, 're, 's, 't, 've and standing alone
94 # - 2.6.4
95
96 # must be before contractions?
97 match %[^_~]%<* sa (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1356
98 match %[^_~]%<* bakit (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 12
99 match %[^_~]%<* kanya (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 14
100 match %[^_~]%<* dahil (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 145
101 match %[^_~]%<* paano (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 124
102 match %[^_~]%<* gaano (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1245
103 match %[^_~]%<* hindi (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 125
104 match %[^_~]%<* ito (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1346
105 match %[^_~]%<* ikaw (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 24
106 match %[^_~]%<* hakbang (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 245
107 match %[^_~]%<* kaya (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13
108 match %[^_~]%<* lamang (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 123
109 match %[^_~]%<* mga (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 134
110 match %[^_~]%<* ngayon (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1345
111 match %[^_~]%<* para (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1234
112 match %[^_~]%<* kailan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 12345
113 match %[^_~]%<* rin (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1235
114 match %[^_~]%<* sang-ayon (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 234
115 match %[^_~]%<* tayo (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345
116 match %[^_~]%<* upang (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 136
117 match %[^_~]%<* bagaman (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1236
118 match %[^_~]%<* wala (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2456
119 match %[^_~]%<* yaman (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13456
120
121 contraction b
122 contraction c
123 contraction d
124 contraction f
125 contraction g
126 contraction h
127 contraction i
128 contraction j
129 contraction k
130 contraction l
131 contraction m
132 contraction n
133 contraction p
134 contraction q
135 contraction r
136 contraction s
137 contraction t
138 contraction u
139 contraction v
140 contraction w
141 contraction x
142 contraction y
143 contraction z
144
145 contraction B
146 contraction C
147 contraction D
148 contraction F
149 contraction G
150 contraction H
151 contraction I
152 contraction J
153 contraction K
154 contraction L
155 contraction M
156 contraction N
157 contraction P
158 contraction Q
159 contraction R
160 contraction S
161 contraction T
162 contraction U
163 contraction V
164 contraction W
165 contraction X
166 contraction Y
167 contraction Z
168
169 # Strong Wordsign
170
171 match %[^_~]%<* ako (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 246
172 match %[^_~]%<* anak (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 156
173 match %[^_~]%<* araw (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 345
174 match %[^_~]%<* at (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 3456
175 match %[^_~]%<* ay (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 12346
176 match %[^_~]%<* hanggang (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 12356
177 match %[^_~]%<* ibig (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 34
178 match %[^_~]%<* kanila (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 16
179 match %[^_~]%<* maging (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 146
180 match %[^_~]%<* na (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 23456
181 match %[^_~]%<* naging (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1246
182 match %[^_~]%<* tunay (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1256
183
184
185 # Strong Groupsign
186
187 always an 156
188 always ang 2346
189 always ar 345
190 always aw 246
191 always en 26
192 always er 12456
193 always han 12356
194 always in 35
195 always mahal 123456
196 always mag 146
197 always nag 1246
198 always ng 126
199 always pag 1456
200 always tu 1256
201
202 # Beginning and Middle
203
204 begmidword ba 23
205 begmidword ka 25
206 begmidword da 256
207 begmidword pa 235
208
209 # Lower Word
210
211 lowword ba 23
212 lowword ka 25
213 lowword pa 235
214
215 # Middle of Word
216
217 midword ha 236
218 midword ga 2356
219 midword umi 356
220
221 # Beginning of Word
222
223 begword kina 36
224 begword napaka 4-1345
225 begword pinaka 4-1234
226
227 # Miscellaneous
228 # Word or End of Word
229
230 prfword ban 12-156
231 prfword baw 12-246
232 prfword gan 1245-156
233
234 # Miscellaneous
235 # Part Word
236
237 partword kara 25-1235-1
238
239 # Miscellaneous
240 # Always
241
242 always bang 12-2346
243 always batang 23-2345-2346
244 always bar 12-345
245 always dang 145-2346
246 always dar 145-345
247 always gang 1245-2346
248 always inin 35-24-1345
249 always kar 13-345
250 always karan 25-1235-156
251 always manana 134-1-45-1345
252 always manganga 134-1-45-126
253 always mangungu 134-1-46-126
254 always nanganga 1345-1-45-126
255 always nangungu 1345-1-46-126
256 always par 1234-345
257 always wawasto 2456-1-5-2456
258
259 # Miscellaneous
260 # End of Word
261
262 endword bat 12-3456
263 endword hat 125-3456
264 endword gat 1245-3456
265 endword pat 1234-3456
266
267 # Miscellaneous
268 # Stand Alone
269
270 match %[^_~]%<* bat (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 12-1-2345
271 match %[^_~]%<* hat (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 125-1-2345
272 match %[^_~]%<* gat (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1245-1-2345
273 match %[^_~]%<* gata (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1245-1-2345-1
274 match %[^_~]%<* kara (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 25-1235-1
275 match %[^_~]%<* kanyang (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 14-126
276 match %[^_~]%<* tata (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345-1-2345-1
277 match %[^_~]%<* tatae (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345-1-2345-1-15
278 match %[^_~]%<* kanilang (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 16-126
279 match %[^_~]%<* paa (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1234-1-1
280 match %[^_~]%<* pat (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1234-1-2345
281 match %[^_~]%<* tayong (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345-126
282 match %[^_~]%<* ugaling (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 5-136-126
283
284 # Dot ffive Words
285
286 always alam 5-12346
287 always binata 5-12
288 always dalaga 5-145
289 always ewan 5-15
290 always hapon 5-125
291 always isip 5-24
292 always halaman 5-245
293 always kailangan 5-13
294 always larawan 5-123
295 always mabuti 5-134
296 always noon 5-1345
297 always opo 5-135
298 always patuloy 5-1234
299 always kislap 5-12345
300 always roon 5-1235
301 always sabi 5-156
302 always sinta 5-34
303 always subalit 5-234
304 always talaga 5-2345
305 always ugali 5-136
306 always buhay 5-1236
307 always wasto 5-2456
308 always eksamin 5-1346
309 always ayaw 5-13456
310 always salita 5-1356
311
312 # Middle and End of Word
313
314 midendword at 3456
315 midendword ing 346
316 midendword syon 4-234
317 midendword siyon 4-1356
318
319 # Short Form Words
320 # LetterB
321
322 match %[^_~]%<* babae (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 12-12
323 match %[^_~]%<* bulag (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 12-123
324 match %[^_~]%<* braille (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 12-1235-123
325
326 # Letter D
327
328 match %[^_~]%<* damdamin (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 145-145
329 match %[^_~]%<* datapwat (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 145-2456-2345
330 match %[^_~]%<* dapat (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 256-1234
331
332 # Letter H
333
334 match %[^_~]%<* halimbawa (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 125-1-123
335 match %[^_~]%<* halos (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 125-123
336 match %[^_~]%<* oras (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 125-1235
337
338 # Letter I
339
340 match %[^_~]%<* isang (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 24-234
341 match %[^_~]%<* inaasahan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 35-234
342
343 # Letter K
344
345 match %[^_~]%<* kalayaan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-123
346 match %[^_~]%<* kasalukuyan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-234
347 match %[^_~]%<* kasaysayan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-234-13456
348 match %[^_~]%<* karanasan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-1235
349 match %[^_~]%<* karapatan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-1234
350 match %[^_~]%<* kundi (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-145
351 match %[^_~]%<* kung (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-1245
352 contraction kg
353 contraction KG
354 match %[^_~]%<* kultura (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-2345-1235
355 match %[^_~]%<* kuwento (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 13-2456
356
357 # Letter L
358
359 match %[^_~]%<* lalaki (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 123-123
360 match %[^_~]%<* lipunan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 123-1234-1345
361
362 # Letter M
363
364 match %[^_~]%<* magiging (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 146-1245
365 match %[^_~]%<* marahil (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 134-345
366 match %[^_~]%<* marami (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 134-1235
367 contraction mr
368 contraction MR
369 match %[^_~]%<* mamamayan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 134-134
370 contraction mm
371 contraction MM
372
373 # Letter N
374
375 match %[^_~]%<* nagiging (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1246-1245
376
377 # Letter P
378
379 match %[^_~]%<* pagiging (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1456-1245
380 match %[^_~]%<* palaisipan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1234-123
381 match %[^_~]%<* palibhasa (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1234-125
382 contraction ph
383 contraction PH
384 match %[^_~]%<* pamahalaan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1234-134
385 contraction pm
386 contraction PM
387 match %[^_~]%<* pangungusap (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1234-234-1234
388 contraction psp
389 contraction PSP
390 match %[^_~]%<* panitikan (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 1234-1345
391
392 # Letter S
393
394 match %[^_~]%<* sangguni (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 234-1245
395 contraction sg
396 contraction SG
397 match %[^_~]%<* suliranin (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 234-123
398 match %[^_~]%<* samantala (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 234-134
399 contraction sm
400 contraction SM
401 match %[^_~]%<* salawikain (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 234-2456
402
403 # Letter T
404
405 match %[^_~]%<* tayog (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345-1245
406 match %[^_~]%<* talakay (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345-13
407 match %[^_~]%<* talata (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345-123
408 match %[^_~]%<* tagumpay (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345-1234
409 match %[^_~]%<* trabaho (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2345-1235
410
411 # Letter W
412
413 match %[^_~]%<* watawat (['’]([DSTdst]|ll|[rv]e|LL|[RV]E))?%>*%[^_~] 2456-2456
414
415 # Repeatition A
416
417 begmidword mama 45-134
418 begmidword nana 45-1345
419 begmidword nganga 45-126
420 begmidword rara 45-1235
421 begmidword sasa 45-234
422 begmidword tata 45-2345
423 begmidword wawa 45-2456
424 begmidword yaya 45-13456
425
426 midword bababa 456-12
427 midword dadada 456-145
428 midword gagaga 456-1245
429 midword hahaha 456-125
430 midword kakaka 456-13
431 midword lalala 456-123
432 begword mamama 456-134
433 begmidword nanana 456-1345
434 midword nganganga 456-126
435 midword papapa 456-1234
436 midword rarara 456-1235
437 midword sasasa 456-234
438 midword tatata 456-2345
439 midword wawawa 456-2456
440 midword yayaya 456-13456
441
442 # Repeatition I
443
444 always bibi 16-12
445 always didi 16-145
446 always gigi 16-1245
447 always hihi 16-125
448 always kiki 16-13
449 always lili 16-123
450 always mimi 16-134
451 always nini 16-1345
452 midendword ngingi 16-126
453 partword pipi 16-1234
454 always riri 16-1235
455 always sisi 16-234
456 always titi 16-2345
457 always wiwi 16-2456
458 always yiyi 16-13456
459
460 # Repeatition U
461
462 midword bubu 46-12
463 midword dudu 46-145
464 midword gugu 46-1245
465 midword huhu 46-125
466 midword kuku 46-13
467 midword lulu 46-123
468 midword mumu 46-134
469 midword nunu 46-1345
470 midword ngungu 46-126
471 midword pupu 46-1234
472 midword ruru 46-1235
473 midword susu 46-234
474 midword wuwu 46-2456
475 midword yuyu 46-13456
476
477 midword bububu 56-12
478 midword dududu 56-145
479 midword gugugu 56-1245
480 midword huhuhu 56-125
481 midword kukuku 56-13
482 midword lululu 56-123
483 midword mumumu 56-134
484 midword nununu 56-1345
485 midword ngungungu 56-126
486 midword pupupu 56-1234
487 midword rururu 56-1235
488 midword sususu 56-234
489 midword tututu 56-2345
490 midword wuwuwu 56-2456
491 midword yuyuyu 56-13456