Debian Codegraph @

tables/fi.utb

raw
1 # Finnish 6-dot braille based on the official specification document
2 #
3 # -----------
4 #-index-name: Finnish
5 #-display-name: Finnish braille
6 #-name: Suomenkielinen 6-pisteen pistekirjoitustaulukko
7 #
8 #+language: fi
9 #+language: sv-FI
10 #+type: literary
11 #+contraction: no
12 #+dots: 6
13 #+direction: forward
14 #
15 #-authority: Finnish delegation for braille <[email protected]>
16 #-maintainer: Sami Määttä <[email protected]>
17 #-maintainer: Finnish delegation for braille <[email protected]>
18 #-author: Sami Määttä <[email protected]>
19 #-author: Kirsi Ylänne <[email protected]>
20 #-author: Jukka Eerikäinen (created by)
21 #-copyright: 2014, 2015, 2024, Accessibility Library Celia, <https://www.celia.fi/en>
22 #-updated: 2024-06-17
23 #
24 # Based on the official documentation "Pistekirjoituksen perusteet" on the website (in Finnish) https://www.pistekirjoitus.fi/julkaisut/pistekirjoituksen-perusteet/.
25 # Also based on the mathematical braille on the website "Matematiikan, fysiikan ja kemian pistemerkinnät" and "Matematiikan, fysiikan ja kemian merkinnät elektronisissa oppikirjoissa" (in Finnish) https://www.pistekirjoitus.fi/julkaisut/matematiikka-ja-tietotekniikka/.
26 # On GitHub: https://github.com/liblouis/braille-specs/tree/master/finnish.
27 #
28 # TODO: Please add a reference to official documentation about
29 # the implemented braille code. Preferably submit the documents
30 # to https://github.com/liblouis/braille-specs.
31 # -----------
32 #
33 # This file is part of liblouis.
34 #
35 # liblouis is free software: you can redistribute it and/or modify it
36 # under the terms of the GNU Lesser General Public License as
37 # published by the Free Software Foundation, either version 2.1 of the
38 # License, or (at your option) any later version.
39 #
40 # liblouis is distributed in the hope that it will be useful, but
41 # WITHOUT ANY WARRANTY; without even the implied warranty of
42 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
43 # Lesser General Public License for more details.
44 #
45 # You should have received a copy of the GNU Lesser General Public
46 # License along with liblouis. If not, see
47 # <http://www.gnu.org/licenses/>.
48
49 # Includes
50 space \x00a0 a
51 include spaces.uti
52 include latinLetterDef6Dots.uti
53 include digits6Dots.uti
54 include litdigits6Dots.uti
55 include braille-patterns.cti
56
57 # Finnish-specific letters
58 lowercase \x00E5 16 å
59 lowercase \x00E4 345 ä
60 lowercase \x00F6 246 ö
61
62 # Common foreign-language letters that have single sign
63 lowercase \x00E9 123456 é
64 lowercase \x00DF 2346 ß
65 lowercase \x00FC 1256 ü
66 lowercase \x0153 246 œ
67 lowercase \x00E6 345 æ
68
69 # Other foreign letters with double sign
70 # From UTF-8 table. Does not include every possible letter-diacritic-combination.
71 # For foreign letters with no single specified sign, a generic "foreign letter" sign is used before the braille sign for the base letter.
72 lowercase \x00E0 45-1 à
73 lowercase \x00E1 45-1 á
74 lowercase \x00E2 45-1 â
75 lowercase \x00E3 45-1 ã
76 lowercase \x00E7 45-14 ç
77 lowercase \x00E8 45-15 è
78 lowercase \x00EA 45-15 ê
79 lowercase \x00EB 45-15 ë
80 lowercase \x00EC 45-24 ì
81 lowercase \x00ED 45-24 í
82 lowercase \x00EE 45-24 î
83 lowercase \x00EF 45-24 ï
84 lowercase \x00F0 45-145 ð
85 lowercase \x00F1 45-1345 ñ
86 lowercase \x00F2 45-135 ò
87 lowercase \x00F3 45-135 ó
88 lowercase \x00F4 45-135 ô
89 lowercase \x00F5 45-135 õ
90 lowercase \x00F8 45-135 ø
91 lowercase \x00F9 45-136 ù
92 lowercase \x00FA 45-136 ú
93 lowercase \x00FB 45-136 û
94 lowercase \x00FD 45-13456 ý
95 lowercase \x00FE 45-145 þ
96 lowercase \x00FF 45-13456 ÿ
97 lowercase \x0161 45-234 š
98
99 # Uppercase letters
100 base uppercase \x00C0 \x00E0 Àà
101 base uppercase \x00C1 \x00E1 Áá
102 base uppercase \x00C2 \x00E2 Ââ
103 base uppercase \x00C3 \x00E3 Ãã
104 base uppercase \x00C4 \x00E4 Ää
105 base uppercase \x00C5 \x00E5 Åå
106 base uppercase \x00C6 \x00E6 Ææ
107 base uppercase \x00C7 \x00E7 Çç
108 base uppercase \x00C8 \x00E8 Èè
109 base uppercase \x00C9 \x00E9 Éé
110 base uppercase \x00CA \x00EA Êê
111 base uppercase \x00CB \x00EB Ëë
112 base uppercase \x00CC \x00EC Ìì
113 base uppercase \x00CD \x00ED Íí
114 base uppercase \x00CE \x00EE Îî
115 base uppercase \x00CF \x00EF Ïï
116 base uppercase \x00D0 \x00F0 Ðð
117 base uppercase \x00D1 \x00F1 Ññ
118 base uppercase \x00D2 \x00F2 Òò
119 base uppercase \x00D3 \x00F3 Óó
120 base uppercase \x00D4 \x00F4 Ôô
121 base uppercase \x00D5 \x00F5 Õõ
122 base uppercase \x00D6 \x00F6 Öö
123 base uppercase \x00D8 \x00F8 Øø
124 base uppercase \x00D9 \x00F9 Ùù
125 base uppercase \x00DA \x00FA Úú
126 base uppercase \x00DB \x00FB Ûû
127 base uppercase \x00DC \x00FC Üü
128 base uppercase \x00DD \x00FD Ýý
129 base uppercase \x00DE \x00FE Þþ
130 base uppercase \x0152 \x0153 Œœ
131 base uppercase \x1E9E \x00DF ẞß
132 base uppercase \x0160 \x0161 Šš
133
134 # Punctuation
135 # For purposes of this table intended for general literary texts, some mathematical symbols and operators, such as < and > are considered as general punctuation. For reasoning, see section "General symbols" below.
136 punctuation . 3
137 punctuation , 2
138 punctuation : 25
139 punctuation ; 23
140 punctuation ! 256
141 punctuation ! 256
142 punctuation ? 26
143 punctuation ? 26
144 punctuation ( 236
145 punctuation ) 356
146 punctuation [ 12356
147 punctuation ] 23456
148 punctuation { 1246
149 punctuation } 12456
150 punctuation < 126
151 punctuation > 156
152 punctuation / 34
153 punctuation ' 5
154 punctuation \x0027 5 '
155 punctuation " 56
156 punctuation \x0022 56 "
157 punctuation \x201D 56 ” # left-pointing bould angle quotation
158 punctuation \x00BB 56 # right-pointing double angle quotation
159
160 # General symbols
161 # For purposes of this table intended for general literary texts, some mathematical symbols and operators, such as + and % are considered as general symbols.
162 # This is because in Finnish braille, mathematical symbols are always preceded with space. Hence, if "+" was considered a mathematical symbol, expressions such as "my grade from the exam was B+" would be incorrectly translated to "B +". In table intended for mathematical textbooks, the preference would lean towards mathematical way of writing, and "+" would be considered a math symbol.
163 sign \\ 146
164 sign | 456
165 sign / 34
166 sign + 235
167 sign % 1456
168 sign = 2356
169 sign ~ 45
170 sign @ 4
171 sign & 12346
172 sign \x00A3 123 £
173 sign $ 2346
174 sign \x20AC 4-15 €
175 sign \x00A2 4-14 ¢
176 sign * 35
177 sign \x00A7 3456 §
178 sign # 3456
179 sign _ 346
180 sign ^ 346
181 sign \x2022 3 • Bullet sign
182 sign \x00B7 3 · Interpunct
183 sign - 36 Hyphen, not a dash. Hyphens are spaced as in print text.
184 sign \x2013 36 – En-dash, not a hyphen.
185 sign \x2014 36 – Em-dash, not a hyphen.
186 sign ← 126-36 # left arrow
187 sign → 36-156 # right arrow
188 sign ↑ 34-156 # up arrow
189 sign ↓ 16-156 # down arrow
190 sign ↖ 126-26 # north west arrow (not strictly in the standards)
191 sign ↗ 35-156 # north east arrow
192 sign ↘ 26-156 # south east arrow
193 sign ↙ 126-35 # south west arrow (not strictly in the standards)
194 sign ↔ 126-36-156 # left right arrow
195 sign ⇐ 126-36-36 # leftwards double arrow
196 sign ⇒ 36-36-156 # rightwards double arrow
197 sign ⇑ 34-34-156 # upwards double arrow (not in the standards)
198 sign ⇓ 16-16-156 # downwards double arrow (not in the standards)
199 sign ⇖ 126-26-26 # North West Double Arrow (not in the standards)
200 sign ⇗ 35-35-156 # North East Double Arrow (not in the standards)
201 sign ⇘ 26-26-156 # South East Double Arrow (not in the standards)
202 sign ⇙ 126-35-35 # South West Double Arrow (not in the standards)
203 sign ↦ 456-36-156 # right arrow from bar
204 sign ↤ 126-36-456 # left arrow from bar
205
206 # Additional general symbols
207 # These are not covered by the specification document, but reflect the conventions.
208 sign \x00A9 236-14-356 © Copyright symbol
209 sign \x00AE 236-1235-356 ® Registered trademark symbol
210 sign \x2122 2345-134 ™ Trademark symbol
211 noback sign \x25CF 35 # 9679 black circle
212
213 # Undefined characters
214 # Not covered by the specification document, but conventionally replaced with an asterisk.
215 undefined 35
216
217 # Mathematical symbols - these are ONLY used in mathematical context
218 # Thus, these may have special rules
219 math \x2212 36 − Minus sign, not a hyphen
220 math \x2030 25-1456 ‰ Per mille sign
221 math \x221E 123456 ∞ Infinity sign
222 math \x221A 146 √ Root sign
223 math \x00B0 356 ° Degree symbol
224 math \x2219 3 ∙ Bullet operator
225 math \x22C5 3 ⋅ Dot operator
226 math \x00D7 3 × Multiplication sign
227 math \x00F7 25 ÷ Division sign; Obelus
228 math ± 235-36 # plus minus sign
229 math ∓ 36-235 # minus plus sign
230 decpoint , 2 Decimal comma
231
232 # Vulgar fractions
233 # This is not the mathematically correct notation for fractions; rather, the fractions are converted to division-like notation to ease reading of literary texts, cookbooks et cetera. For _mathematical_ texts, another table must be written.
234 math \x00BC 3456-1-0-34-3456-145 ¼
235 math \x00BD 3456-1-0-34-3456-12 ½
236 math \x00BE 3456-14-0-34-3456-145 ¾
237 math \x2153 3456-1-0-34-3456-14 ⅓
238 math \x2154 3456-12-0-34-3456-14 ⅔
239 math \x2155 3456-1-0-34-3456-15 ⅕
240 math \x2156 3456-12-0-34-3456-15 ⅖
241 math \x2157 3456-14-0-34-3456-15 ⅗
242 math \x2158 3456-145-0-34-3456-15 ⅘
243 math \x2159 3456-1-0-34-3456-124 ⅙
244 math \x215A 3456-15-0-34-3456-124 ⅚
245 math \x215B 3456-1-0-34-3456-125 ⅛
246 math \x215C 3456-14-0-34-3456-125 ⅜
247 math \x215D 3456-15-0-34-3456-125 ⅝
248 math \x215E 3456-1245-0-34-3456-125 ⅞
249
250
251 # Braille indicators
252 numsign 3456
253 capsletter 6
254 begcapsword 6-6
255 endcapsword 56
256
257 # Emphasis
258 emphclass italic
259 emphclass underline
260 emphclass bold
261
262 begemphphrase underline 346-346
263 endemphphrase underline before 346
264 begemphword underline 346
265 endemphword underline 346
266 lenemphphrase underline 3
267
268 begemphphrase bold 346-346
269 endemphphrase bold before 346
270 begemphword bold 346
271 endemphword bold 346
272 lenemphphrase bold 3
273
274 begemphphrase italic 46-46
275 endemphphrase italic before 46
276 begemphword italic 46
277 endemphword italic 46
278 lenemphphrase italic 3
279
280 # Longer number expressions
281 midnum . 3
282 midnum : 25
283
284 # Context rules for transition from digits to letters
285 attribute digitletter abcdefhjiklmnopqrstuvwxyz\x00E5\x00E4\x00F6
286 noback context $d[]%digitletter @56
287
288 # Second power
289 # Powers are generally marked using power sign. However, if the power is two, the number is omitted.
290 noback context ["^2\s"] @346-0
291 noback context ["^2"]$p @346
292
293 # Numbers and mathematical symbols
294 # Slash is always preceded by space within number expressions.
295 noback context $d[]"/" @0
296 # Degree sign is always preceded by space, even when it's adjacent to preceding digit in print text.
297 noback context $d[]"\x00B0" @0 Degree sign
298 # Mathematical symbols and operators are always preceded by space.
299 noback context $d[]$m @0
300 # Dashes, not a hyphen. Dashes always have spaces around them.
301 noback context !$s["\x2013"]!$s @0-36-0
302 noback context !$s["\x2014"]!$s @0-36-0
303
304 # Lowercase Greek alphabet
305 lowercase α 46-1 # alpha
306 lowercase β 46-12 # beta
307 lowercase γ 46-1245 # gamma
308 lowercase δ 46-145 # delta
309 lowercase ε 46-15 # epsilon
310 lowercase ζ 46-1356 # zeta
311 lowercase η 46-345 # eta
312 lowercase θ 46-1456 # theta
313 lowercase ι 46-24 # iota
314 lowercase κ 46-13 # kappa
315 lowercase λ 46-123 # lambda
316 lowercase μ 46-134 # mu
317 lowercase ν 46-1345 # nu
318 lowercase ξ 46-1346 # xi
319 lowercase ο 46-135 # omicron
320 lowercase π 46-1234 # pi
321 lowercase ρ 46-1235 # rho
322 lowercase ς 46-234 # sigma
323 lowercase τ 46-2345 # tau
324 lowercase υ 46-13456 # upsilon
325 lowercase φ 46-124 # fii
326 lowercase χ 46-125 # chi
327 lowercase ψ 46-12346 # psi
328 lowercase ω 46-245 # omega
329
330 # Uppercase Greek letter alphabet
331 letter \x0391 456-1 # Α Capital Alpha
332 letter \x0392 456-12 # Β Capital Beta
333 letter \x0393 456-1245 # Γ Capital Gamma
334 letter \x0394 456-145 # Δ Capital Delta
335 letter \x0395 456-15 # Ε Capital Epsilon
336 letter \x0396 456-1356 # Ζ Capital Zeta
337 letter \x0397 456-345 # Η Capital Eta
338 letter \x0398 456-1456 # Θ Capital Theta
339 letter \x0399 456-24 # Ι Capital Iota
340 letter \x039A 456-13 # Κ Capital Kappa
341 letter \x039B 456-123 # Λ Capital Lambda
342 letter \x039C 456-134 # Μ Capital Mu
343 letter \x039D 456-1345 # Ν Capital Nu
344 letter \x039E 456-1346 # Ξ Capital Xi
345 letter \x039F 456-135 # Ο Capital Omicron
346 letter \x03A0 456-1234 # Π Capital Pi
347 letter \x03A1 456-1235 # Ρ Capital Rho
348 letter \x03A3 456-234 # Σ Capital Sigma
349 letter \x03A4 456-2345 # Τ Capital Tau
350 letter \x03A5 456-13456 # Υ Capital Upsilon
351 letter \x03A6 456-124 # Φ Capital Phi
352 letter \x03A7 456-125 # Χ Capital Chi
353 letter \x03A8 456-13456 # Ψ Capital Psi
354 letter \x03A9 456-245 # Ω Capital Omega