Debian Codegraph @

tables/sot-za-g2.ctb

raw
1 # liblouis: Sesotho/Setswana/Sepedi braille code (grade 2)
2
3 #-index-name: Sesotho, contracted
4 #-display-name: Sesotho contracted braille
5
6 #-copyright: 2019, Greg Kearney
7 #-copyright: 2019, 2021, South African Braille Authority
8 #-license: LGPLv2.1
9
10 # Copyright (C) 2019 Greg Kearney <[email protected]>
11 # Copyright (C) 2019, 2021 South African Braille Authority <http://www.sabrailleauthority.org.za>
12 #
13 # This file is part of liblouis.
14 #
15 # liblouis is free software: you can redistribute it and/or modify it
16 # under the terms of the GNU Lesser General Public License as
17 # published by the Free Software Foundation, either version 2.1 of
18 # the License, or (at your option) any later version.
19 #
20 # liblouis is distributed in the hope that it will be useful, but
21 # WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 # Lesser General Public License for more details.
24 #
25 # You should have received a copy of the GNU Lesser General Public
26 # License along with liblouis. If not, see
27 # <http://www.gnu.org/licenses/>.
28
29 #+language: st
30 #+type: literary
31 #+contraction: full
32 #+grade: 2
33
34 #+system: ubc-sotho
35 # "UBC" stands for "Unified Braille Code" and is a generalization of UEB.
36 # See https://sabrailleauthority.org.za/unified-braille-code-ubc.
37
38 # Sesotho, Setswana and Sepedi are three of the 11 official languages
39 # of South Africa and are mutually intelligible. Sesotho (or South
40 # Sotho) is spoken primarily in the Free State province of South
41 # Africa and is also an official language of Lesotho. Setswana is
42 # widely spoken in the northern provinces of South Africa and in
43 # Botswana. Sepedi is widely spoken in the northeastern provinces of
44 # South Africa.
45 #
46 # The languages use the roman alphabet and have one diacritic letter,
47 # š (s with caron).
48 #
49 # The languages all use the same braille code. It was developed over
50 # 30 years ago and after the adoption of the UEB in South Africa, the
51 # code was also unified according to the principles of the UEB. The
52 # code was developed around the structure of the language, therefore
53 # it is quite simple and does not require any complex rules. It has
54 # around 80 contractions and achieves a high degree of contraction,
55 # around 27%. We do not use additional codes such as Nemeth or
56 # computer braille codes; we use our unified Sotho code also for
57 # technical material.
58
59 # This table does bidirectional translation.
60 #+direction: both
61
62 # This table is maintained by Christo de Klerk <[email protected]>
63 #-author: Christo de Klerk <[email protected]>
64 #-maintainer: Christo de Klerk <[email protected]>
65
66 # Begin entries
67
68 # Some sign definitions which might otherwise conflict with Sesotho contractions:
69 sign \x0024 56-4-234 $
70 sign \x00b0 56-45-245 °
71 sign \x00a7 56-45-234 § section
72 sign \x2122 56-45-2345 ™
73 sign \x25cb 56-1246-123456 ○ circle
74
75 include sot-za-g1.ctb
76 include IPA-unicode-range.uti
77
78 multind 56-6 nocontractsign capsletter
79
80 seqdelimiter -—
81 seqdelimiter ‐ \x2010
82 seqdelimiter ‑ \x2011
83 seqdelimiter – \x2013
84 seqdelimiter — \x2014
85 seqbeforechars ([{"“'‘
86 seqafterchars )]}"”'’.,;:.!?…
87
88 noback correct "’" "'"
89 noback correct "ʼn" "'n"
90
91 attribute 1 AEIOUYÊËaeiouyêë vowels
92 attribute 2 BCDFGHJKLMNPQRSTVWXZbcdfghjklmnpqrstvwxz consonants
93 attribute 3 +=*,.;:?!"'“”‘’ punctuation with only lower dots (except hyphens)
94
95 # Shape symbols require a grade 1 indicator (Section 3.22.1)
96 contraction \x25a0 ■ filled (solid) square
97 contraction \x25a1 □ square
98 contraction \x25a7 ▧ shaded square (upper left to lower right)
99 contraction \x25b2 ▲ filled (solid) (equilateral) triangle
100 contraction \x25b3 △ regular (equilateral) triangle
101 contraction \x25cb ○ circle
102 contraction \x25cd ◍ shaded circle
103
104 # Single character word contractions
105 contraction b
106 contraction B
107 word bona 12
108 contraction c
109 contraction C
110 word gagwe 14
111 contraction f
112 contraction F
113 word feela 124
114 contraction g
115 contraction G
116 word gantši 1245
117 contraction h
118 contraction H
119 word hore 125
120 contraction j
121 contraction J
122 word jaaka 245
123 contraction k
124 contraction K
125 word kwa 13
126 contraction l
127 contraction L
128 word lena 123
129 contraction m
130 contraction M
131 word motho 134
132 contraction n
133 contraction N
134 word nna 1345
135 contraction r
136 contraction R
137 word ruri 1235
138 contraction s
139 contraction S
140 word sa 234
141 contraction t
142 contraction T
143 word tsebe 2345
144 contraction w
145 contraction W
146 word wena 2456
147 contraction x
148 contraction X
149 word gomme 1346
150 contraction y
151 contraction Y
152 word yena 13456
153 contraction z
154 contraction Z
155 word gore 1356
156 word ngwana 23456
157
158 # Group signs
159 always ka 12346
160 always ke 123456
161 always na 12356
162 always re 2346
163 always ng 23456
164 always ba 126
165 always le 146
166 always ma 1456
167 always se 156
168 always di 1246
169 always bo 12456
170 always go 1256
171 always lo 246
172 always ga 34
173 always la 346
174 always mo 16
175 always me 345
176
177 # Lower signs
178 noback match %[^_]|%[^_~]%<*[([{] be %[^_]|[)}\\]]%>*%[^_~] 23
179 begmidword be 23
180 begmidword ph 25
181 noback match %[^_]|%[^_~]%<*[([{] ye %[^_]|[)}\\]]%>*%[^_~] 256
182 begword ye 256
183 noback match %[^_]|%[^_~]%<*[([{] wa %[^_]|[)}\\]]%>*%[^_~] 26
184 partword wa 26
185 noback match %[^_]|%[^_~]%<*[([{] fo %[^_]|[)}\\]]%>*%[^_~] 235
186 begmidword fo 235
187 noback match %[^_]|%[^_~]%<*[([{] ge %[^_]|[)}\\]]%>*%[^_~] 2356
188 midword ge 2356
189 noback match %[^_]|%[^_~]%<*[([{] ya %[^_]|[)}\\]]%>*%[^_~] 35
190 partword ya 35
191 begmidword th 356
192
193 # Dot 4 contractions
194 always še 4-156
195
196 # Dot 5 contractions
197 always batho 5-12
198 always empa 5-15
199 always fale 5-124
200 always gape 5-1245
201 always hobane 5-125
202 always jale 5-245
203 always kgakala 5-13
204 always maabane 5-134
205 always neng 5-1345
206 always pele 5-1234
207 always tsa 5-234
208 always tša 5-2345
209 always eupša 5-136
210 always gantsi 5-1346
211 always yona 5-13456
212 always ngata 5-23456
213 always gonne 5-1256
214 always mongwe 5-16
215
216 # Dots 45 contractions
217 always hae 45-125
218 always jalo 45-245
219 always mosadi 45-134
220 always ngwe 45-1345
221 always pela 45-1234
222 always tše 45-2345
223 always tšwe 45-234
224
225 # Dots 456 contractions
226 always fela 456-124
227 always godimo 456-1245
228 always hape 456-125
229 always jwalo 456-245
230 always kwana 456-13
231 always mono 456-134
232 always nako 456-1345
233 always pelo 456-1234
234 always rona 456-1235
235 always tšwa 456-234
236 always tswe 456-2345
237
238 # Shortforms
239 contraction HM
240 contraction hm
241 word hodimo 125-134
242 contraction JW
243 contraction jw
244 word jwale 245-2456