Debian Codegraph @

tests/braille-specs/de-g0.yaml

raw symbols SCIP
1 # Deutsche Basisschrift
2 #
3 # Copyright © 2020 by Bue Vester-Andersen <[email protected]>
4 # Copyright © 2020,2021 by Deutsche Blindenstudienanstalt e.V. (blista)
5 # Copyright © 2020,2021 by Bert Frees
6 #
7 # Copying and distribution of this file, with or without modification,
8 # are permitted in any medium without royalty provided the copyright
9 # notice and this notice are preserved. This file is offered as-is,
10 # without any warranty.
11 # ----------------------------------------------------------------------------------------------
12
13 display: unicode-without-blank.dis
14 table:
15 language: de
16 grade: 0
17 type: literary
18 dots: 6
19 direction: forward
20 __assert-match: de-g0.utb
21 tests:
22 - [" ", " "]
23 - ["!", "⠖"]
24 - ['"', '⠦']
25 - ["#", "⠈⠼"]
26 - ["$", "⠈⠎"]
27 - ["%", "⠼⠚⠴"]
28 - ["&", "⠐⠥"]
29 - ["'", "⠠"]
30 - ["*", "⠠⠔"]
31 - ["+", "⠈⠖"]
32 - [",", "⠂"]
33 - ["-", "⠤"]
34 - [".", "⠄"]
35 - ["/", "⠐⠂"]
36 - ["0", "⠼⠚"]
37 - ["1", "⠼⠁"]
38 - ["2", "⠼⠃"]
39 - ["3", "⠼⠉"]
40 - ["4", "⠼⠙"]
41 - ["5", "⠼⠑"]
42 - ["6", "⠼⠋"]
43 - ["7", "⠼⠛"]
44 - ["8", "⠼⠓"]
45 - ["9", "⠼⠊"]
46 - [":", "⠒"]
47 - [";", "⠆"]
48 - ["<", "⠈⠪⠄"]
49 - ["=", "⠈⠶"]
50 - [">", "⠈⠕⠂"]
51 - ["?", "⠢"]
52 - ["@", "⠠⠨⠈⠜"]
53 - ["A", "⠁"]
54 - ["B", "⠃"]
55 - ["C", "⠉"]
56 - ["D", "⠙"]
57 - ["E", "⠑"]
58 - ["F", "⠋"]
59 - ["G", "⠛"]
60 - ["H", "⠓"]
61 - ["I", "⠊"]
62 - ["J", "⠚"]
63 - ["K", "⠅"]
64 - ["L", "⠇"]
65 - ["M", "⠍"]
66 - ["N", "⠝"]
67 - ["O", "⠕"]
68 - ["P", "⠏"]
69 - ["Q", "⠟"]
70 - ["R", "⠗"]
71 - ["S", "⠎"]
72 - ["T", "⠞"]
73 - ["U", "⠥"]
74 - ["V", "⠧"]
75 - ["W", "⠺"]
76 - ["X", "⠭"]
77 - ["Y", "⠽"]
78 - ["Z", "⠵"]
79 - ["[", "⠠⠶"]
80 - ['\\', '⠈⠌']
81 - ["^", "⠈⠮"]
82 - ["_", "⠈⠸"]
83 - ["a", "⠁"]
84 - ["b", "⠃"]
85 - ["c", "⠉"]
86 - ["d", "⠙"]
87 - ["e", "⠑"]
88 - ["f", "⠋"]
89 - ["g", "⠛"]
90 - ["h", "⠓"]
91 - ["i", "⠊"]
92 - ["j", "⠚"]
93 - ["k", "⠅"]
94 - ["l", "⠇"]
95 - ["m", "⠍"]
96 - ["n", "⠝"]
97 - ["o", "⠕"]
98 - ["p", "⠏"]
99 - ["q", "⠟"]
100 - ["r", "⠗"]
101 - ["s", "⠎"]
102 - ["t", "⠞"]
103 - ["u", "⠥"]
104 - ["v", "⠧"]
105 - ["w", "⠺"]
106 - ["x", "⠭"]
107 - ["y", "⠽"]
108 - ["z", "⠵"]
109 - ["{", "⠐⠷"]
110 - ["|", "⠐⠤"]
111 - ["~", "⠈⠢⠢", {xfail: extra space}]
112
113 # LATIN-1 SUPPLEMENT: 0080-00FF
114 - ["¡", "⠠⠖"]
115 - ["¢", "⠈⠉"]
116 - ["£", "⠈⠇"]
117 - ["\u00a4", " "]
118 - ["¥", "⠈⠽"]
119 - ["¦", "⠐⠤"]
120 - ["§", "⠬"]
121 - ["\u00a8", " "]
122 - ["©", "⠶⠘⠉⠶"]
123 - ["ª", "⠁"]
124 - ["«", "⠦"]
125 - ["¬", "⠈⠒⠔"]
126 - ["\u00ad", " "]
127 - ["®", "⠠⠶⠘⠗⠶"]
128 - ["\u00af", " "]
129 - ["°", "⠈⠴"]
130 - ["±", "⠈⠖⠤"]
131 - ["²", "⠌⠆"]
132 - ["³", "⠌⠒"]
133 - ["´", "⠠⠴"]
134 - ["µ", "⠰⠍"]
135 - ["\u00b6", " "]
136 - ["\u00b7", " "]
137 - ["\u00b8", " "]
138 - ["¹", "", {xfail: should probably be defined}]
139 - ["º", "⠕"]
140 - ["»", "⠴"]
141 - ["¼", "⠼⠁⠲"]
142 - ["½", "⠼⠁⠆"]
143 - ["¾", "⠼⠉⠲"]
144 - ["¿", "⠠⠢"]
145 - ["À", "⠈⠁"]
146 - ["Á", "⠈⠁"]
147 - ["Â", "⠈⠁"]
148 - ["Ã", "⠈⠁"]
149 - ["Ä", "⠜"]
150 - ["Å", "⠈⠁"]
151 - ["Æ", "⠁⠑"]
152 - ["Ç", "⠈⠉"]
153 - ["È", "⠈⠑"]
154 - ["É", "⠈⠑"]
155 - ["Ê", "⠈⠑"]
156 - ["Ë", "⠈⠑"]
157 - ["Ì", "⠈⠊"]
158 - ["Í", "⠈⠊"]
159 - ["Î", "⠈⠊"]
160 - ["Ï", "⠈⠊"]
161 - ["Ð", "⠈⠙"]
162 - ["Ñ", "⠈⠝"]
163 - ["Ò", "⠈⠕"]
164 - ["Ó", "⠈⠕"]
165 - ["Ô", "⠈⠕"]
166 - ["Õ", "⠈⠕"]
167 - ["Ö", "⠪"]
168 - ["×", "⠈⠦"]
169 - ["Ø", "⠈⠕"]
170 - ["Ù", "⠈⠥"]
171 - ["Ú", "⠈⠥"]
172 - ["Û", "⠈⠥"]
173 - ["Ü", "⠳"]
174 - ["Ý", "⠈⠽"]
175 - ["Þ", "⠈⠞"]
176 - ["ß", "⠮"]
177 - ["à", "⠈⠁"]
178 - ["á", "⠈⠁"]
179 - ["â", "⠈⠁"]
180 - ["ã", "⠈⠁"]
181 - ["ä", "⠜"]
182 - ["å", "⠈⠁"]
183 - ["æ", "⠁⠑"]
184 - ["ç", "⠈⠉"]
185 - ["è", "⠈⠑"]
186 - ["é", "⠈⠑"]
187 - ["ê", "⠈⠑"]
188 - ["ë", "⠈⠑"]
189 - ["ì", "⠈⠊"]
190 - ["í", "⠈⠊"]
191 - ["î", "⠈⠊"]
192 - ["ï", "⠈⠊"]
193 - ["ð", "⠈⠙"]
194 - ["ñ", "⠈⠝"]
195 - ["ò", "⠈⠕"]
196 - ["ó", "⠈⠕"]
197 - ["ô", "⠈⠕"]
198 - ["õ", "⠈⠕"]
199 - ["ö", "⠪"]
200 - ["÷", "⠈⠒"]
201 - ["ø", "⠈⠕"]
202 - ["ù", "⠈⠥"]
203 - ["ú", "⠈⠥"]
204 - ["û", "⠈⠥"]
205 - ["ü", "⠳"]
206 - ["ý", "⠈⠽"]
207 - ["þ", "⠈⠞"]
208 - ["ÿ", "⠈⠽"]
209
210 # Extended Latin A
211 - ["Ā", "⠈⠁"]
212 - ["ā", "⠈⠁"]
213 - ["Ă", "⠈⠁"]
214 - ["ă", "⠈⠁"]
215 - ["Ą", "⠈⠁"]
216 - ["ą", "⠈⠁"]
217 - ["Ć", "⠈⠉"]
218 - ["ć", "⠈⠉"]
219 - ["Ĉ", "⠈⠉"]
220 - ["ĉ", "⠈⠉"]
221 - ["Ċ", "⠈⠉"]
222 - ["ċ", "⠈⠉"]
223 - ["Č", "⠈⠉"]
224 - ["č", "⠈⠉"]
225 - ["Ď", "⠈⠙"]
226 - ["ď", "⠈⠙"]
227 - ["Đ", "⠈⠙"]
228 - ["đ", "⠈⠙"]
229 - ["Ē", "⠈⠑"]
230 - ["ē", "⠈⠑"]
231 - ["Ė", "⠈⠑"]
232 - ["ė", "⠈⠑"]
233 - ["Ę", "⠈⠑"]
234 - ["ę", "⠈⠑"]
235 - ["Ě", "⠈⠑"]
236 - ["ě", "⠈⠑"]
237 - ["Ğ", "⠈⠛"]
238 - ["ğ", "⠈⠛"]
239 - ["Ģ", "⠈⠛"]
240 - ["ģ", "⠈⠛"]
241 - ["Ĥ", "⠈⠓"]
242 - ["ĥ", "⠈⠓"]
243 - ["Ħ", "⠈⠓"]
244 - ["ħ", "⠈⠓"]
245 - ["Ĩ", "⠈⠊"]
246 - ["ĩ", "⠈⠊"]
247 - ["Ī", "⠈⠊"]
248 - ["ī", "⠈⠊"]
249 - ["Į", "⠈⠊"]
250 - ["į", "⠈⠊"]
251 - ["ı", "⠈⠊"]
252 - ["IJ", "⠈⠚"]
253 - ["ij", "⠈⠚"]
254 - ["Ĵ", "⠈⠚"]
255 - ["ĵ", "⠈⠚"]
256 - ["Ķ", "⠈⠅"]
257 - ["ķ", "⠈⠅"]
258 - ["Ĺ", "⠈⠇"]
259 - ["ĺ", "⠈⠇"]
260 - ["Ļ", "⠈⠇"]
261 - ["ļ", "⠈⠇"]
262 - ["Ľ", "⠈⠇"]
263 - ["ľ", "⠈⠇"]
264 - ["Ŀ", "⠈⠇"]
265 - ["ŀ", "⠈⠇"]
266 - ["Ł", "⠈⠇"]
267 - ["ł", "⠈⠇"]
268 - ["Ń", "⠈⠝"]
269 - ["ń", "⠈⠝"]
270 - ["Ņ", "⠈⠝"]
271 - ["ņ", "⠈⠝"]
272 - ["Ň", "⠈⠝"]
273 - ["ň", "⠈⠝"]
274 - ["Ŋ", "⠈⠝"]
275 - ["ŋ", "⠈⠝"]
276 - ["Ō", "⠈⠕"]
277 - ["ō", "⠈⠕"]
278 - ["Ŏ", "⠈⠕"]
279 - ["ŏ", "⠈⠕"]
280 - ["Ő", "⠈⠕"]
281 - ["ő", "⠈⠕"]
282 - ["Œ", "⠕⠑"]
283 - ["œ", "⠕⠑"]
284 - ["Ŕ", "⠈⠗"]
285 - ["ŕ", "⠈⠗"]
286 - ["Ŗ", "⠈⠗"]
287 - ["ŗ", "⠈⠗"]
288 - ["Ř", "⠈⠗"]
289 - ["ř", "⠈⠗"]
290 - ["Ś", "⠈⠎"]
291 - ["ś", "⠈⠎"]
292 - ["Ŝ", "⠈⠎"]
293 - ["ŝ", "⠈⠎"]
294 - ["Ş", "⠈⠎"]
295 - ["ş", "⠈⠎"]
296 - ["Š", "⠈⠎"]
297 - ["š", "⠈⠎"]
298 - ["Ţ", "⠈⠞"]
299 - ["ţ", "⠈⠞"]
300 - ["Ť", "⠈⠞"]
301 - ["ť", "⠈⠞"]
302 - ["Ŧ", "⠈⠞"]
303 - ["ŧ", "⠈⠞"]
304 - ["Ũ", "⠈⠥"]
305 - ["ũ", "⠈⠥"]
306 - ["Ū", "⠈⠥"]
307 - ["ū", "⠈⠥"]
308 - ["Ŭ", "⠈⠥"]
309 - ["ŭ", "⠈⠥"]
310 - ["Ů", "⠈⠥"]
311 - ["ů", "⠈⠥"]
312 - ["Ű", "⠈⠥"]
313 - ["ű", "⠈⠥"]
314 - ["Ų", "⠈⠥"]
315 - ["ų", "⠈⠥"]
316 - ["Ŵ", "⠈⠺"]
317 - ["ŵ", "⠈⠺"]
318 - ["Ŷ", "⠈⠽"]
319 - ["ŷ", "⠈⠽"]
320 - ["Ÿ", "⠈⠽"]
321 - ["Ź", "⠈⠵"]
322 - ["ź", "⠈⠵"]
323 - ["Ż", "⠈⠵"]
324 - ["ż", "⠈⠵"]
325 - ["Ž", "⠈⠵"]
326 - ["ž", "⠈⠵"]
327
328 # Extended Latin B - ["ƒ", "⠈⠋"]
329 - ["Ǎ", "⠈⠁"]
330 - ["ǎ", "⠈⠁"]
331 - ["Ș", "⠈⠎"]
332 - ["ș", "⠈⠎"]
333 - ["Ț", "⠈⠞"]
334 - ["ț", "⠈⠞"]
335 - ["Ẁ", "⠈⠺"]
336 - ["ẁ", "⠈⠺"]
337 - ["Ẃ", "⠈⠺"]
338 - ["ẃ", "⠈⠺"]
339 - ["Ẅ", "⠈⠺"]
340 - ["ẅ", "⠈⠺"]
341 - ["Ỳ", "⠈⠽"]
342 - ["ỳ", "⠈⠽"]
343
344 # GENERAL PUNCTUATION: 2000-206F
345 - ["–", "⠠⠤"]
346 - ["—", "⠠⠤"]
347 - ["‘", "⠠⠦"]
348 - ["’", "⠠⠴"]
349 - ["‚", "⠠⠦"]
350 - ["\u201b", "⠠⠴"]
351 - ["“", "⠦"]
352 - ["”", "⠴"]
353 - ["„", "⠦"]
354 - ["\u201f", "⠴"]
355 - ["†", "⠛⠑⠎⠞⠄"]
356 #??? - ["•", "⠠ ⠭⠣⠬⠣⠣⠠"]
357 - ["…", "⠄⠄⠄"]
358 - ["‰", "⠼⠚⠴⠴"]
359 - ["\u2031", "⠼⠚⠴⠴⠴"]
360 - ["\u2032", "⠈⠔"]
361 - ["\u2033", "⠈⠔⠔"]
362 - ["‹", "⠠⠦"]
363 - ["›", "⠠⠴"]
364
365 # CURRENCY SYMBOLS: 20A0-20CF
366 - ["\u20a0", "⠈⠑"]
367 - ["€", "⠈⠑"]
368
369 # LETTERLIKE SYMBOLS 2100-214F
370 - ["™", "⠠⠶⠘⠞⠍⠶"]
371
372 # NUMBER FORMS: 2150-218F
373 - ["\u2153", "⠼⠁⠒"]
374 - ["\u2154", "⠼⠃⠒"]
375 - ["\u2155", "⠼⠁⠢"]
376 - ["\u2156", "⠼⠃⠢"]
377 - ["\u2157", "⠼⠉⠢"]
378 - ["\u2158", "⠼⠙⠢"]
379 - ["\u2159", "⠼⠁⠖"]
380 - ["\u215a", "⠼⠑⠖"]
381 - ["\u215b", "⠼⠁⠦"]
382 - ["\u215c", "⠼⠉⠦"]
383 - ["\u215d", "⠼⠑⠦"]
384 - ["\u215e", "⠼⠛⠦"]
385
386 # ARROWS: 2190-21FF
387 - ["\u2190", "⠪⠒⠒"]
388 - ["\u2192", "⠒⠒⠕"]
389 - ["\u2194", "⠪⠒⠒⠕"]
390
391 # MATHEMATICAL OPERATORS: 2200-22FF
392 - ["\u2212", "⠈⠤"]
393 - ["\u2215", "⠈⠒"]
394 - ["\u2217", "⠔"]
395 - ["\u223c", "⠈⠢⠢"]
396 - ["\u2245", "⠈⠢⠢"]
397 - ["\u2259", "⠈⠢"]
398 - ["\u2260", "⠈⠔⠶"]
399 - ["\u2261", "⠈⠶⠶"]
400 - ["\u2264", "⠈⠪⠶"]
401 - ["\u2265", "⠈⠕⠶"]
402 - ["\u2266", "⠈⠪⠶"]
403 - ["\u2267", "⠈⠕⠶"]
404 - ["\u22c5", "⠄"]
405 - ["\u22c6", "⠄"]
406
407 # MISCELLANEOUS TECHNICAL: 2300-23FF
408 - ["\u2329", "⠐⠶"]
409 - ["\u232a", "⠐⠶"]
410
411 # MISCELLANEOUS SYMBOLS: 2600-26FF
412 - ["\u2639", "⠠⠨⠒⠤⠦"]
413 - ["\u263a", "⠠⠨⠒⠤⠴"]
414
415 # Pangram
416 - ["Zwölf Boxkämpfer jagen Viktor quer über den großen Sylter Deich", "⠵⠺⠪⠇⠋ ⠃⠕⠭⠅⠜⠍⠏⠋⠑⠗ ⠚⠁⠛⠑⠝ ⠧⠊⠅⠞⠕⠗ ⠟⠥⠑⠗ ⠳⠃⠑⠗ ⠙⠑⠝ ⠛⠗⠕⠮⠑⠝ ⠎⠽⠇⠞⠑⠗ ⠙⠑⠊⠉⠓"]
417
418 # 2.3 Numbers
419 - ["#936", "⠈⠼⠼⠊⠉⠋"]
420 - ["2,5", "⠼⠃⠂⠑"]
421 - ["3.50 Uhr", "⠼⠉⠄⠑⠚ ⠥⠓⠗"]
422 - ["1.234.567.890", "⠼⠁⠄⠃⠉⠙⠄⠑⠋⠛⠄⠓⠊⠚"]
423
424 # Phone number (with spaces, not dots)
425 - ["0041/43/3 33 32 32", "⠼⠚⠚⠙⠁⠐⠂⠼⠙⠉⠐⠂⠼⠉ ⠼⠉⠉ ⠼⠉⠃ ⠼⠉⠃"]
426 - ["'56", "⠼⠠⠑⠋"]
427 - [".303", "⠼⠄⠉⠚⠉"]
428 - ["€ -,25", "⠈⠑⠼⠂⠃⠑", {xfail: "FT/BT"}]
429 - ["3 %", "⠼⠉⠼⠚⠴"]
430 - ["7,5 %", "⠼⠛⠂⠑⠼⠚⠴"]
431 - ["75 ‰", "⠼⠛⠑⠼⠚⠴⠴"]
432 - ["45°", "⠼⠙⠑⠈⠴"]
433 - ["24 °C", "⠼⠃⠙⠈⠴⠉"]
434 - ["§ 4", "⠬⠼⠙"]
435 - ["§ III", "⠬⠊⠊⠊", {xfail: "FT: Prepends 4-"}]
436 - ["§§ 7-11", "⠬⠬⠼⠛⠤⠼⠁⠁"]
437
438 # Percent, permille and degrees with space
439 - ["1 % 2 ‰ 3 °", "⠼⠁⠼⠚⠴ ⠼⠃⠼⠚⠴⠴ ⠼⠉⠈⠴"]
440
441 # Math signs as midnum
442 - [2 \x2217 2, "⠼⠃⠄⠼⠃"]
443 - ["11:25 Uhr", "⠼⠁⠁⠠⠒⠃⠑ ⠥⠓⠗", {xfail: "FT: Colon should apparently be 6-25"}]
444
445 # Numbers in words
446 - ["8fach", "⠼⠓⠠⠋⠁⠉⠓"]
447 - ["68er", "⠼⠋⠓⠠⠑⠗"]
448 - ["32stel", "⠼⠉⠃⠎⠞⠑⠇"]
449 - ["5te", "⠼⠑⠞⠑"]
450
451 # Capitals
452 - ["AUA", "⠁⠥⠁"]
453 - ["ČSSR", "⠈⠉⠎⠎⠗"]
454 - ["U-Bahn", "⠥⠤⠃⠁⠓⠝"]
455 - ["kW kVA hPa", "⠅⠺ ⠅⠧⠁ ⠓⠏⠁"]
456 - ["GmbH ICs KPdSU", "⠛⠍⠃⠓ ⠊⠉⠠⠎ ⠅⠏⠠⠙⠎⠥", {xfail: "BT as '"}]
457
458 # "correct" rules
459 - [" -1", " ⠈⠤⠼⠁"]
460 - ["/-4abc- ", "⠐⠂⠤⠼⠙⠠⠁⠃⠉⠤ "]
461
462 # Computer braille
463 - [":/1234567890`äöü", "⠠⠒⠲⠡⠣⠩⠹⠱⠫⠻⠳⠪⠬⠜⠠⠜⠠⠪⠠⠳", {xfail: "BT"}]
464
465 tests:
466 # These tests can only be expected to pass forwards, not backwards.
467 - ["(", "⠶"]
468 - [")", "⠶"]
469 - ["]", "⠠⠶"]
470 - ["`", "⠠⠦"]
471 - ["}", "⠐⠷"]
472 - ["‚", "⠠⠦"]
473 - ["„", "⠦"]
474 - ["…", "⠄⠄⠄"]
475 - ["†", "⠛⠑⠎⠞⠄"]
476 - ["Š", "⠈⠎"]
477 - ["‹", "⠠⠦"]
478 - ["Ž", "⠈⠵"]
479 #??? - ["•", "⠠ ⠭⠣⠬⠣⠣⠠"]
480 - ["—", "⠠⠤"]
481 - ["š", "⠈⠎"]
482 - ["›", "⠠⠴"]
483 - ["ž", "⠈⠵"]
484 - ["Ÿ", "⠈⠽"]
485 - ["ª", "⠁"]
486 - ["«", "⠦"]
487 - ["±", "⠈⠖⠤"]
488 - ["´", "⠠⠴"]
489 - ["¹", "", {xfail: should probably be defined}]
490 - ["º", "⠕"]
491 - ["»", "⠴"]
492 - ["Á", "⠈⠁"]
493 - ["Ã", "⠈⠁"]
494 - ["Å", "⠈⠁"]
495 - ["Æ", "⠁⠑"]
496 - ["Í", "⠈⠊"]
497 - ["Ó", "⠈⠕"]
498 - ["Õ", "⠈⠕"]
499 - ["Ø", "⠈⠕"]
500 - ["Ú", "⠈⠥"]
501 - ["Ý", "⠈⠽"]
502 - ["á", "⠈⠁"]
503 - ["ã", "⠈⠁"]
504 - ["å", "⠈⠁"]
505 - ["æ", "⠁⠑"]
506 - ["í", "⠈⠊"]
507 - ["ó", "⠈⠕"]
508 - ["õ", "⠈⠕"]
509 - ["ø", "⠈⠕"]
510 - ["ú", "⠈⠥"]
511 - ["ý", "⠈⠽"]
512 - ["ÿ", "⠈⠽"]
513
514 # Misc forward tests
515 - [" -abc", " ⠠⠤⠁⠃⠉"]
516
517 # midnum and endnum tests
518 - ["1(2", "⠼⠁⠠⠶⠼⠃"]
519 - ["1)2", "⠼⠁⠠⠶⠼⠃"]
520 - ["1(", "⠼⠁⠠⠶"]
521 - ["1)", "⠼⠁⠠⠶"]
522 - ["1[2", "⠼⠁⠠⠠⠶⠼⠃"]
523 - ["1]2", "⠼⠁⠠⠠⠶⠼⠃"]
524 - ["1[", "⠼⠁⠠⠠⠶"]
525 - ["1]", "⠼⠁⠠⠠⠶"]
526 - ["1»", "⠼⠁⠠⠴"]
527 - ["1»", "⠼⠁⠠⠴"]
528 - ["1+2", "⠼⠁ ⠈⠖⠼⠃"]
529 - ["1−2", "⠼⠁ ⠈⠤⠼⠃"]
530 - ["1 − 2", "⠼⠁ ⠈⠤⠼⠃"]
531 - ["1±2", "⠼⠁ ⠈⠖⠤⠼⠃"]
532 - ["1 ± 2", "⠼⠁ ⠈⠖⠤⠼⠃"]
533 - ["1=2", "⠼⠁ ⠈⠶⠼⠃"]
534 - ["1≠2", "⠼⠁ ⠈⠔⠶⠼⠃"]
535 - ["1≡2", "⠼⠁ ⠈⠶⠶⠼⠃"]
536
537 display: de-eurobrl6.dis
538 table:
539 language: de
540 grade: 0
541 type: literary
542 dots: 6
543 direction: forward
544 __assert-match: de-g0.utb
545 tests:
546
547 # Emphasis
548
549 # The following tests are related to issue #998: "Issues with emphasis in German when quotation mark
550 # or full-stop precedes/follows" (https://github.com/liblouis/liblouis/issues/998)
551
552 # Quotation marks / brackets included in emphasis or not
553 # ------------------------------------------------------
554
555 # One word
556
557 # When a single word is emphasized including the brackets at the
558 # beginning and end, the word indicator is used.
559 - - "(Test)"
560 - "_=test="
561 - typeform: { italic: "++++++" }
562 xfail: got "=_test=" (word indicator after "(")
563 # When the brackets are not emphasized, the word indicator comes
564 # after the opening bracket (but there is no closing indicator).
565 - - "(Test)"
566 - "=_test="
567 - typeform: { italic: " ++++ " }
568 # When only the opening bracket is emphasized, the word indicator is
569 # used (and no closing indicator).
570 - - "(Test)"
571 - "_=test="
572 - typeform: { italic: "+++++ " }
573 xfail: got "=_test=" (word indicator after "(")
574 # When only the closing bracket is emphasized, the word indicator is
575 # used after the quotation mark.
576 - - "(Test)"
577 - "=_test="
578 - typeform: { italic: " +++++" }
579
580 # Two words
581
582 # When two words are emphasized including the brackets at the
583 # beginning and end, phrase indicators are used.
584 - - "(Test Test)"
585 - "__=test test='."
586 - typeform: { italic: "+++++++++++" }
587 xfail: got "=__test test='." (start indicator after "(")
588 # When the brackets are not emphasized, the opening indicator comes
589 # after the opening bracket and the closing indicator comes before
590 # the closing bracket.
591 - - "(Test Test)"
592 - "=__test test'.="
593 - typeform: { italic: " +++++++++ " }
594 xfail: got "=__test test='." (end indicator after ")")
595 # When only the opening bracket is emphasized, the opening indicator
596 # comes before the opening bracket and the closing indicator comes
597 # before the closing bracket.
598 - - "(Test Test)"
599 - "__=test test'.="
600 - typeform: { italic: "++++++++++ " }
601 xfail: got "=__test test='." (start indicator after "(" and end indicator after ")")
602 # When only the closing bracket is emphasized, the opening indicator
603 # comes after the opening bracket and the closing indicator comes
604 # after the closing bracket.
605 - - "(Test Test)"
606 - "=__test test='."
607 - typeform: { italic: " ++++++++++" }
608
609 # Three Words
610
611 # When three words are emphasized including the brackets at the
612 # beginning and end, phrase indicators are used.
613 - - "(Test Test Test)"
614 - "__=test test test='."
615 - typeform: { italic: "++++++++++++++++" }
616 xfail: got "=__test test test='." (start indicator after "(")
617 # When the brackets are not emphasized, the opening indicator comes
618 # after the opening bracket and the closing indicator comes before
619 # the closing bracket.
620 - - "(Test Test Test)"
621 - "=__test test test'.="
622 - typeform: { italic: " ++++++++++++++ " }
623 xfail: got "=__test test test='." (start indicator after "(" and end indicator after ")")
624
625 # Emphasised letters within words
626 # -------------------------------
627
628 # When letters within a word (with letters preceding and following)
629 # are emphasized, a word indicator comes before the letters and a
630 # closing indicator after the letters. Both indicators start with a
631 # letsign (also in grade 0).
632 - - "Test"
633 - "te'_s'.t"
634 - typeform: { italic: " + " }
635 - - "Test"
636 - "t'_es'.t"
637 - typeform: { italic: " ++ " }
638 # When the first letters of a word are emphasized, a word indicator
639 # comes before the letters and a closing indicator after the
640 # letters. Only the closing indicator needs a letsign.
641 - - "Test"
642 - "_t'.est"
643 - typeform: { italic: "+ " }
644 - - "Test"
645 - "_te'.st"
646 - typeform: { italic: "++ " }
647 # When the last letters of a word are emphasized, a word indicator
648 # comes before the letters, but there's no closing indicator.
649 - - "Test"
650 - "tes'_t"
651 - typeform: { italic: " +" }
652 - - "Test"
653 - "te'_st"
654 - typeform: { italic: " ++" }
655 # When the last letters of a word are emphasized but the full stop
656 # that follows is not, a word indicator comes before the letters,
657 # and there is no closing indicator.
658 - - "Test."
659 - "te'_st."
660 - typeform: { italic: " ++ " }
661
662 # Quotation marks
663
664 # replace ambiguous opening single quotation mark by unambiguous one (‚) inside string
665 - - "Test › Test."
666 - "test '( test."
667 - xfail: not implemented
668 # replace ambiguous opening single quotation mark by unambiguous one (‚) at start of string
669 - - "›Test Test."
670 - "'(test test."
671 # replace ambiguous opening double quotation mark by unambiguous one („) inside string
672 - - "Test » Test."
673 - "test ( test."
674 - xfail: not implemented
675 # replace ambiguous opening double quotation mark by unambiguous one („) at start of string
676 - - "»Test Test."
677 - "(test test."
678 # replace ambiguous single closing quotation mark by unambiguous one
679 - - "Test Test‹."
680 - "test test')."
681 # replace ambiguous double closing quotation mark by unambiguous one
682 - - "Test Test«."
683 - "test test)."
684 # combinations of both single opening and closing quotation mark
685 - - "Test ›Test‹."
686 - "test '(test')."
687 - - "Test ‹Test›"
688 - "test '(test')."
689 - xfail: not implemented
690 - - "›Test‹ Test."
691 - "'(test') test."
692 - - "‹Test› Test"
693 - "'(test') test."
694 - xfail: not implemented
695 # combinations of both double opening and closing quotation mark
696 - - "Test »Test«."
697 - "test (test)."
698 - - "Test «Test»."
699 - "test (test)."
700 - - "»Test« Test."
701 - "(test) test."
702 - - "«Test» Test."
703 - "(test) test."
704 # combinations of both single and double opening and closing mark
705 - - "›Test Test »Test«‹."
706 - "'(test test (test)')."
707 - - "»Test Test ›Test‹«."
708 - "(test test '(test'))."
709 - - "‹Test Test «Test»›"
710 - "'(test test (test)')."
711 - xfail: not implemented
712 - - "«Test Test ‹Test›»"
713 - "(test test '(test'))."
714 - xfail: not implemented
715 # corrections of closing quotation mark with hyphen
716 - - "›Hey!‹-Ruf"
717 - "'(hey+')-ruf"
718 - xfail: not implemented
719 - - "‹Hey!›-Ruf"
720 - "'(hey+')-ruf"
721 - xfail: not implemented
722 - - "»Hey!«-Ruf"
723 - "(hey+)-ruf"
724 - xfail: not implemented
725 - - "«Hey!»-Ruf"
726 - "(hey+)-ruf"
727 - xfail: not implemented
728 - - "widerlich -‹«"
729 - "widerlich'-'))"
730 - xfail: not implemented
731
732 # Case indication
733
734 # All-caps words, roman numerals and abbreviations are marked with dots 45.
735 # One usually also uses grade 0 for these words.
736 # In some books it can be the case that a whole sentence is set in capitals. In this case we don't
737 # want to have an indicator in front of every word.
738 - - "ACHTUNG"
739 - ">achtung"
740 - xfail: not implemented
741 - - "Otto III."
742 - "otto >iii."
743 - xfail: not implemented
744 - - "DRK"
745 - ">drk"
746 - xfail: not implemented
747
748 # Alone standing capital letters are marked with dots 45.
749 # If there is a hyphen, use it as the border, so that e.g. only the U is marked, and not the "B"
750 # of "Bahn" that follows.
751 - - "U-Bahn"
752 - ">u-bahn"
753 - xfail: not implemented
754 - - "T-Shirt"
755 - ">t-shirt"
756 - xfail: not implemented
757 - - "EU-Parlament"
758 - ">eu-parlament"
759 - xfail: not implemented
760 - - "das große M"
761 - "das gro~e >m"
762 - xfail: not implemented
763
764 # Alone standing single capital letter after apostrophe (U+0027) is marked with dots 45.
765 - - "'T."
766 - "'>t."
767 - xfail: not implemented
768 - - "Test 'T."
769 - "test '>t."
770 - xfail: not implemented
771 - - "Test,'T."
772 - "test,'>t."
773 - xfail: not implemented
774 - - "'T Test."
775 - "'>t test."
776 - xfail: not implemented
777 - - "Test 'T Test."
778 - "test '>t test."
779 - xfail: not implemented
780 - - "Test,'T Test."
781 - "test,'>t test."
782 - xfail: not implemented
783 # same for right single quotation mark (U+2019)
784 - - "’T."
785 - "'>t."
786 - xfail: not implemented
787 - - "Test ’T."
788 - "test '>t."
789 - xfail: not implemented
790 - - "Test,’T."
791 - "test,'>t."
792 - xfail: not implemented
793 - - "’T Test."
794 - "'>t test."
795 - xfail: not implemented
796 - - "Test ’T Test."
797 - "test '>t test."
798 - xfail: not implemented
799 - - "Test,’T Test."
800 - "test,'>t test."
801 - xfail: not implemented
802
803 # Lowercase letters like measure-, weight- or currency units, abbreviations (without periods) and
804 # lowercase roman letters are marked with dot 6.
805 # One usually also uses grade 0 for these words.
806 - - "3 kg"
807 - "#c 'kg"
808 - xfail: not implemented
809 # at SBS we drop the space between the number and the measure
810 - - "3 kg"
811 - "#c'kg"
812 - xfail: not implemented
813 - - "blista"
814 - "'blista"
815 - xfail: not implemented
816
817 # No case indication when there are abbreviations with periods.
818 - - "z.B."
819 - "z.b."
820 - - "e.V."
821 - "e.v."
822 - - "evtl."
823 - "evtl."
824 - - "a.a.O."
825 - "a.a.o."
826
827 # Mix of capital and small letters where some capitals are not at the beginning of a word:
828 # - A sequence of capital letters (e.g. ICs) should be indicated with dots 45,
829 # - a following small letter is indicated with dot 6.
830 # - When a capital letter is followed by small letters, it is indicated with dots 46 and there is
831 # no explicit indication for the following lowercase letters (e.g. GmbH)
832 # One also uses grade 0 for these words.
833 - - "GmbH"
834 - "$gmb>h"
835 - xfail: not implemented
836 - - "kW"
837 - "'k>w"
838 - xfail: not implemented
839 - - "ICs"
840 - ">ic's"
841 - xfail: not implemented
842
843 # Hyphens
844
845 # handle hyphen (U+2010) like hyphen-minus (U+002D)
846 - - "Test‐Test"
847 - "test-test"
848 - xfail: not implemented
849 # handle non breaking hyphen (U+2011) like hyphen-minus (U+002D)
850 - - "Test‑Test"
851 - "test-test"
852 - xfail: not implemented
853 # handle figure dash (U+2012) like hyphen-minus (U+002D)
854 - - "Test‒Test"
855 - "test-test"
856 - xfail: not implemented
857 # handle EN DASH (U+2013) between numbers without space like hyphen-minus (U+002D)
858 - - "1900–2000"
859 - "#aijj-#bjjj"
860 - xfail: not implemented
861
862 # Ellipsis
863
864 # replace pseudo-ellipsis with true ellipsis
865 - - "Test. . ."
866 - "test..."
867 - - "Test . . ."
868 - "test ..."
869 - - "Test..."
870 - "test..."
871 - - "Test ..."
872 - "test ..."
873
874 # Downgrade indicators: when a word or passage is translated with grade 0 within a grade 2 context, downgrade
875 # indicators must be added before the word / before and after the passage. Liblouis is instructed to do this
876 # by setting the "downgrade" typeform.
877 - - word
878 - "'.word"
879 - typeform:
880 downgrade: "++++"
881 - - two words
882 - "-.two words'."
883 - typeform:
884 downgrade: "+++++++++"
885
886 # 2.13 Satzzeichen in Wörtern (see page 85 of "Das System der deutschen Brailleschrift")
887 - - "Hundert(e)"
888 - "hundert'=e="
889 - - "Hundert[e]"
890 - "hundert''=e'="
891 - - "Student(inn)en"
892 - "student'=inn'=en"
893 - - "Student[inn]en"
894 - "student''=inn''=en"
895 - - "Haus\"rats\"versicherung"
896 - "haus'(rats')versicherung"
897 - xfail: not implemented
898 - - "Haus'rats'versicherung"
899 - "haus''(rats'')versicherung"
900 - xfail: not implemented