Debian Codegraph @

tests/braille-specs/de-g2-sbs.yaml

raw symbols SCIP
1 # Tests for quirks in the Deutsche Kurzschrift
2 #
3 # Copyright © 2022 Swiss Library for the Blind, Visually Impaired and Print Disabled
4 #
5 # Copying and distribution of this file, with or without modification,
6 # are permitted in any medium without royalty provided the copyright
7 # notice and this notice are preserved. This file is offered as-is,
8 # without any warranty.
9 # ----------------------------------------------------------------------------------------------
10
11 # These tests were ported from
12 # https://github.com/sbsdev/dtbook2sbsform/tree/master/test_xsl. The
13 # original tests check the xml to sbsform conversion. Only a subset of
14 # them is concerned with braille translation. This subset has been
15 # ported to liblouis YAML tests.
16
17 # The tests mostly deal with quirks from German Kurzschrift, i.e.
18 # grade 2. There are a few tests in grade 0.
19
20 display: de-eurobrl6.dis
21 table:
22 locale: de
23 grade: 2
24 type: literary
25 dots: 6
26 __assert-match: de-g2.ctb
27 tests:
28 # Falsche Kursiv-Ankündigung beim Gebrauch von nbsp statt gewöhnlichem Leerzeichen
29 - - "bla blo"
30 - "__bla blo'."
31 - typeform: { italic: "+++++++" }
32
33 # Falsche Übersetzungen bei mixed emphasis
34 - - "experimentalprotektorverhalten"
35 - "_xp7imct:'.pro(kt?v7h:tc"
36 - typeform: { italic: "++++++++++++ " }
37 - - "experimentalprotektorverhalten"
38 - "xp7imct:'_pro(kt?'.v7h:tc"
39 - typeform: { italic: " +++++++++ " }
40 - - "experimentalprotektorverhalten"
41 - "xp7imct:pro(kt?'_v7h:tc"
42 - typeform: { italic: " +++++++++" }
43
44 # Falsches Resultat bei Wortersatzstrich -xxx, wenn direkt nach Tag
45 - - "-losenheim"
46 - "'-losch3m"
47 - xfail: tbh, not sure if this test makes any sense without any context
48
49 # Acronym tests
50 - - "Foo"
51 - "$foo"
52 - typeform: { acronym: "+++" }
53 xfail: here we should enable capitalization for the acronym
54 - - "NATO"
55 - ">nato"
56 - typeform: { acronym: "++++" }
57 xfail: here we should enable capitalization for the acronym
58 - - "USA"
59 - ">usa"
60 - typeform: { acronym: "+++" }
61 xfail: here we should enable capitalization for the acronym
62 - - "Haha USA"
63 - "haha >usa"
64 - typeform: { acronym: " +++" }
65 xfail: here we should enable capitalization for the acronym
66
67 # Block boondary tests
68 - - "Mist, dachte er, wie komme ich hier raus?"
69 - "_mi}, d<( 7, __2 kxe # hr r1s?'."
70 - typeform: { italic: "++++ ++++++++++++++++++++++++" }
71 xfail: got "_mi}, d<( 7, __2 kxe # hr r1s'.?" (end indicator before "?")
72 - - "ABCs"
73 - ">abc's"
74 - typeform: { abbrev: "+++ " }
75 xfail: here we should enable capitalization for the abbrev
76
77 # Braillequirks
78 - - "Italy stands the other side!"
79 - "_it:'y ,}s the oth7 side+"
80 - typeform: { italic: "+++++ " }
81 - - "Forever intervene!"
82 - "f?ev7 *t7vce+"
83 # test for stick!!!«
84 - - "»Sun-­block on a stick!!!«"
85 - "(s/- blo$ on 'a }i$+++)"
86 # test for abbr AM
87 - - "AM- und der FM-Skala,"
88 - "am- u r >fm-sk:a,"
89 - typeform: { abbrev: "++ ++ " }
90 xfail: here we should enable capitalization for the abbrev
91 # test for em with subelements
92 - - "US-Justizministerium"
93 - "__>us-justizministerium'."
94 - typeform: { abbrev: "++ " }
95 xfail: here we should enable capitalization for the abbrev
96 # test for whitespace swallowed with adjacing inlines
97 - - "Mein Mann. Ihr"
98 - "__m6 m+n.'. $i"
99 - typeform: { abbrev: "++++++++++ ",
100 vform: " +++"}
101 xfail: here we should enable capitalization for the abbrev
102
103 # Swallow white space whith embed new lines
104 - - "Gedanken – Strich —"
105 - "&dkc'- }r#'-"
106 - xfail: tbh, not sure if swallowing white space should be liblouis responsibilty
107 - - "Gedanken\n— Strich"
108 - "&dkc'- }r#"
109 - xfail: tbh, not sure if swallowing white space should be liblouis responsibilty
110 - - "Gedanken\n — Strich"
111 - "&dkc'- }r#"
112 - xfail: tbh, not sure if swallowing white space should be liblouis responsibilty
113 - - "Gedanken\n — Strich"
114 - "&dkc'- }r#"
115 - xfail: tbh, not sure if swallowing white space should be liblouis responsibilty
116 # test 2 for Apostroph (pt. 6) vor Einzelbuchstaben mit Punkt innerhalb abbr
117 - - "A. B. D. E. F. G. H. I. J."
118 - "a.b.d.e.f.g.h.i.j."
119 - typeform: { abbrev: "++++++++++++++++++++++++++"}
120 xfail: whitespace should be trimmed inside abbrevs. Not implemented
121 # em innerhalb Anführungszeichen liefern falsches Resultat
122 - - "»Test«"
123 - "(_te})"
124 - typeform: { italic: " ++++ "}
125 # Single word mixed emphasis em before
126 - - "Menschenversuch"
127 - "_mc5c'.v7su4"
128 - typeform: { italic: "++++++++ "}
129
130 # Single word mixed emphasis em after
131 - - "Liebegang"
132 - "l0;'_g+g"
133 - typeform: { italic: " ++++"}
134
135 # Single word mixed emphasis em inside
136 - - "LiebeMenschenversuch"
137 - "l0;'_mc5c'.v7su4"
138 - typeform: { italic: " ++++++++ "}
139 # Falsches Resultat bei gemischtem Bruch, wenn Zeilenumbruch vorkommt
140 - - "4\n1/2"
141 - "#d#a;"
142 - xfail: fractions are not implemented
143 # Quotes w/o context
144 - - " (»Bsp.!«"
145 - " =(bsp.+)"
146 - typeform: { abbrev: " ++++ "}
147 # Quotes with phone number
148 - - "079 160 22 22«"
149 - "#jgi.afj.bb.bb')"
150 - xfail: the phone number needs special treatment which isn't implemented
151 # Leading zeros in time indication
152 - - "11:05"
153 - "#aa':#je"
154 - typeform: { time: "+++++"}
155 xfail: typeform time is not implemented and maybe shouldn't be
156 # Many quoted paras
157 - - "»Okay. Aber ich würde es auch gar nicht wissen; bin erst ein paar Jahre in den USA.«"
158 - "(oka'y. a # 8e % | gar n w~c; b* 7} 6 paar jre * e >;usa.)"
159 - typeform: { abbrev: " +++ "}
160 xfail: we should enable capitalization inside abbrev
161 - - "Sie hatte von Anfang an den Akzent bemerkt, der den Ausländer verriet, und fragte: »Na, und woher kommst du?«"
162 - "s he v +f+g + e akzct ;m7kt, r e 1sl`nd7 -r0t, u frag(: (na, u woh7 kx} du?)"
163 # Wort "ich" am Ende von Inlines mit nachfolgendem Satzzeichen
164 - - "Ich, ich; ich: ich? ich! (ich) »ich«."
165 - "_i4, _i4; _i4: _i4? _i4+ =_i4= (_i4)."
166 - typeform: { italic: "+++ +++ +++ +++ +++ ",
167 bold: " +++ +++ "}
168 xfail: '"ich: ich?" seen as one emphasised phrase (and last "ich" translated to "#")'
169 # Emphasis: Wortgrenzenerkennung bei "-" und "/"
170 - - "Wort, Wort, Wort. Zwei Wörter, eins/zwei, eins-­zwei."
171 - "_w?t, _w?t, _w?t. __zw3 w9rt7'., __6s!,zw3'., __6s-mzw3'.."
172 - typeform: { italic: "++++ ++++ +++++++++++ ++++++++++ ",
173 bold: " ++++ +++++++++ "}
174 xfail: '"Wort. Zwei Wörter" is seen as one emphasized phrase'
175 # line break before ndash
176 - - "word\n– word"
177 - "w?d'- w?d"
178 - xfail: tbh, not sure if swallowing white space should be liblouis responsibilty
179
180 # Abbrev tests
181 - - "A4"
182 - ">a#d"
183 - typeform: { abbrev: "++"}
184 xfail: we should enable capitalization inside abbrev
185 - - "RTÉ"
186 - ">rt\"%"
187 - typeform: { abbrev: "+++"}
188 xfail: we should enable capitalization inside abbrev
189 - - "C2D"
190 - ">c#b>d"
191 - typeform: { abbrev: "+++"}
192 xfail: we should enable capitalization inside abbrev
193 - - "C"
194 - ">c"
195 - typeform: { abbrev: "+"}
196 xfail: we should enable capitalization inside abbrev
197 - - "c2d"
198 - "'c#b'd"
199 - typeform: { abbrev: "+++"}
200 xfail: we should enable capitalization inside abbrev
201 - - "GmbH"
202 - "$gmb>h"
203 - typeform: { abbrev: "++++"}
204 xfail: we should enable capitalization inside abbrev
205 - - "kHz"
206 - "'k$hz"
207 - typeform: { abbrev: "+++"}
208 xfail: we should enable capitalization inside abbrev
209 - - "USA"
210 - ">usa"
211 - typeform: { abbrev: "+++"}
212 xfail: we should enable capitalization inside abbrev
213 - - "cd"
214 - "'cd"
215 - typeform: { abbrev: "++"}
216 - - "3a"
217 - "#c'a"
218 - typeform: { abbrev: " +"}
219 - - "Nr. 2"
220 - "nr.#b"
221 - typeform: { abbrev: "++++ "}
222 xfail: space trimming inside abbrev not implemented
223 - - "z. B."
224 - "z.b."
225 - typeform: { abbrev: "+++++"}
226 xfail: space trimming inside abbrev not implemented
227 - - "w. z. b. w."
228 - "w.z.b.w."
229 - typeform: { abbrev: "+++++++++++"}
230 xfail: space trimming inside abbrev not implemented
231 - - "etc."
232 - "et'c."
233 - typeform: { abbrev: "++++"}
234 - - "a."
235 - "a."
236 - typeform: { abbrev: "++"}
237 - - "wrt."
238 - "wrt."
239 - - "h."
240 - "h."
241 - - "p."
242 - "p."
243 # whitespace inside abbr needs to be trimmed (why?)
244 - - "DM 50"
245 - ">dm#ej"
246 - typeform: { abbrev: "+++ "}
247 xfail: not implemented
248 # abbrev inside em
249 - - "es lebe das Format A4"
250 - "__% lbe d f?mat >a#d'."
251 - typeform: { italic: "+++++++++++++++++++++",
252 abbrev: " + "}
253 xfail: we should enable capitalization inside abbrev
254 - - "es lebe das Format A4"
255 - "% lbe d f?mat >a#d"
256 - typeform: { abbrev: " + "}
257 xfail: we should enable capitalization inside abbrev
258 # Eszett
259 - - "ß"
260 - "'~"
261 - - "»ß«"
262 - "('~)"
263 - - "(ß)"
264 - "='~="
265 - - "weßir"
266 - "we'~ir"
267
268 # Ich tests
269 - ["ich", "#"]
270 - ["ich.", "#."]
271 - ["ich,", "i4,"]
272 - ["ich;", "i4;"]
273 - ["ich:", "i4:"]
274 - ["ich!", "i4+"]
275 - ["ich?", "i4?"]
276
277 # "ich" inside em
278 - - "ich, "
279 - "_i4, "
280 - typeform: { italic: "+++ "}
281 # "ich" inside em
282 - - "ich) "
283 - "_i4= "
284 - typeform: { italic: "+++ "}
285 # "ich" inside em
286 - - "(ich) "
287 - "_=i4= "
288 - typeform: { italic: "++++ "}
289 xfail: got "=_i4=" (word indicator after "(")
290 - - "mich) "
291 - "_m#= "
292 - typeform: { italic: "++++ "}
293
294 # "ich" inside em
295 - - "ich"
296 - "_#"
297 - typeform: { italic: "+++"}
298 # "ich" inside em
299 - - "ich."
300 - "_#."
301 - typeform: { italic: "++++"}
302 # "ich" inside em
303 - - "ich,"
304 - "_i4,"
305 - typeform: { italic: "++++"}
306 # "ich" inside em
307 - - "ich;"
308 - "_i4;"
309 - typeform: { italic: "++++"}
310 # "ich" inside em
311 - - "ich:"
312 - "_i4:"
313 - typeform: { italic: "++++"}
314 # "ich" inside em
315 - - "ich!"
316 - "_i4+"
317 - typeform: { italic: "++++"}
318 # "ich" inside em
319 - - "ich?"
320 - "_i4?"
321 - typeform: { italic: "++++"}
322 # Allcaps "ich"
323 - ["ICH", "#"]
324 - ["ICH.", "#."]
325 - ["ICH,", "i4,"]
326 - ["ICH;", "i4;"]
327 - ["ICH!", "i4+"]
328 - ["ICH?", "i4?"]
329 # All-Caps ich inside em
330 - ["ICH", "_#", {typeform: { italic: "+++"}}]
331 - - "ICH."
332 - "_#."
333 - typeform: { italic: "+++ "}
334 - - "ICH,"
335 - "_i4,"
336 - typeform: { italic: "+++ "}
337 - - "ICH;"
338 - "_i4;"
339 - typeform: { italic: "+++ "}
340 - - "ICH!"
341 - "_i4+"
342 - typeform: { italic: "+++ "}
343 - - "ICH?"
344 - "_i4?"
345 - typeform: { italic: "+++ "}
346 # Capitalized "ich"
347 - ["Ich", "#"]
348 - ["Ich.", "#."]
349 - ["Ich,", "i4,"]
350 - ["Ich;", "i4;"]
351 - ["Ich!", "i4+"]
352 - ["Ich?", "i4?"]
353 # Capitalized ich inside em
354 - ["Ich", "_#", {typeform: { italic: "+++"}}]
355 - ["Ich.", "_#.", {typeform: { italic: "++++"}}]
356 - ["Ich,", "_i4,", {typeform: { italic: "++++"}}]
357 - ["Ich;", "_i4;", {typeform: { italic: "++++"}}]
358 - ["Ich!", "_i4+", {typeform: { italic: "++++"}}]
359 - ["Ich?", "_i4?", {typeform: { italic: "++++"}}]
360 # Minus tests
361 - ["−10 Grad", "\"-#aj grad"]
362 - [" -10 Grad", " \"-#aj grad"]
363 - ["(-10 Grad)", "=\"-#aj grad="]
364 - - " −10 Grad"
365 - " __\"-#aj grad'."
366 - typeform: { bold: " ++++++++"}
367 - ["−10 Grad", "\"-#aj grad"]
368 - ["5-10 Grad", "#e-#aj grad"]
369
370 # Mixed emphasis tests
371 - - "kursivblo"
372 - "_kursiv'.blo"
373 - typeform: { italic: "++++++ "}
374 - - "blakursiv"
375 - "bla'_kursiv"
376 - typeform: { italic: " ++++++"}
377 - - "blakursivblo"
378 - "bla'_kursiv'.blo"
379 - typeform: { italic: " ++++++ "}
380 - - "kursiv...blo"
381 - "_kursiv'....blo"
382 - typeform: { italic: "++++++ "}
383 - - "bla...kursiv"
384 - "bla...'_kursiv"
385 - typeform: { italic: " ++++++"}
386 - - "bla...kursiv...blo"
387 - "bla...'_kursiv'....blo"
388 - typeform: { italic: " ++++++ "}
389
390 # Punctuation tests
391 # Punctuation after numbers
392 - - " 2? 2! 2; (2) »2« "
393 - " _#b'? _#b'+ _#b'; =_#b'= (_#b') "
394 - typeform: { italic: " + + + + + "}
395 xfail: whole string seen as one emphasised phrase ("__" before first "2" and ".'" after last "2")
396
397 - ["»Am 10?«", "(am #aj'?)"]
398
399 # Wortersatzstrich Tests
400 - - "-tragen"
401 - "'-tgc"
402 - xfail: tbh not sure if this test is valid w/o any context
403 # Roman numbers
404 - - "Henry IV."
405 - "hcr'y >iv."
406 - xfail: roman numbers not implemented
407 - - "Auf Seite iii beginnt das Vorwort."
408 - "1 s3( 'iii ;g*nt d ,?w?t."
409 - xfail: roman numbers not implemented
410
411 # originally from https://github.com/sbsdev/sbs-braille-tables/blob/master/tests/g2.yaml
412 # Wortersatzstrich initial
413 - - " -bla "
414 - " '-bla "
415 - - " (-bla) "
416 - " ='-bla= "
417 - - " [-bla] "
418 - " '='-bla'= "
419 - - " ›-bla‹ "
420 - " '('-bla') "
421 - - " »-bla« "
422 - " ('-bla) "
423
424 # Minuszeichen nach ( [ › »
425 - - " -4 "
426 - " \"-#d "
427 - - " (-4) "
428 - " =\"-#d'= "
429 - - " [-4] "
430 - " '=\"-#d''= "
431 - - " ›-4‹ "
432 - " '(\"-#d') "
433 - - " »-4« "
434 - " (\"-#d') "
435
436 # Übersetzung von 'n' als Wort (zwischen Blanks)
437 - - "rock'n'roll"
438 - "ro$'n'roq"
439 - - "rock 'n' roll"
440 - "ro$ ''n' roq"
441
442 # Fractions as characters (Fragezeichen)
443 - - ¼?
444 - "#a/'?"
445 - - ½?
446 - "#a;'?"
447 - - ¾?
448 - "#c/'?"
449 - - ⅓?
450 - "#a:'?"
451 - - ⅔?
452 - "#b:'?"
453 - - ⅕?
454 - "#a?'?"
455 - - ⅖?
456 - "#b?'?"
457 - - ⅗?
458 - "#c?'?"
459 - - ⅘?
460 - "#d?'?"
461 - - ⅙?
462 - "#a+'?"
463 - - ⅚?
464 - "#e+'?"
465 - - ⅛?
466 - "#a('?"
467 - - ⅜?
468 - "#c('?"
469 - - ⅝?
470 - "#e('?"
471 - - ⅞?
472 - "#g('?"
473
474 # Fractions as characters (Komma)
475 - - ¼,
476 - "#a/',"
477 - - ½,
478 - "#a;',"
479 - - ¾,
480 - "#c/',"
481 - - ⅓,
482 - "#a:',"
483 - - ⅔,
484 - "#b:',"
485 - - ⅕,
486 - "#a?',"
487 - - ⅖,
488 - "#b?',"
489 - - ⅗,
490 - "#c?',"
491 - - ⅘,
492 - "#d?',"
493 - - ⅙,
494 - "#a+',"
495 - - ⅚,
496 - "#e+',"
497 - - ⅛,
498 - "#a(',"
499 - - ⅜,
500 - "#c(',"
501 - - ⅝,
502 - "#e(',"
503 - - ⅞,
504 - "#g(',"
505
506 # Wortersatzstrich
507 - - " -tragen"
508 - " '-tgc"
509 - # http://redmine.sbszh.ch/issues/1505
510 - Arbeits und blah, -losenheim
511 - ")bs u blah, '-losch3m"
512 - - " -losenheim"
513 - " '-losch3m"
514
515 # Pfeilsymbole erscheinen fälschlicherweise IMMER mit Leerzeichen davor und dahinter
516 # http://redmine.sbszh.ch/issues/2456
517 - - Abgase → Umweltverschmutzung
518 - abgase ::o umwytv75mutzu
519 - - Siehe Kapitel 3 (→ Kaufvertrag)
520 - "s0he kapity #c =::o k1fv7tg="
521
522 # Automatische Korrektur des Abstands zwischen Operator und Zahl
523 # http://redmine.sbszh.ch/issues/2326
524 - - Kaufpreis × 4
525 - 'k1fpr3s "(#d'
526
527 # Plus
528 - - 222 + 222 222+222 222 +222 wort + wort wort + 222
529 - '#bbb "+#bbb #bbb "+#bbb #bbb "+#bbb w?t "+ w?t w?t "+#bbb'
530
531 # Minus
532 - - 222 − 222 222−222 222 −222 wort − wort wort − 222
533 - '#bbb "-#bbb #bbb "-#bbb #bbb "-#bbb w?t "- w?t w?t "-#bbb'
534
535 # Malkreuz
536 - - 222 × 222 222×222 222 ×222 wort × wort wort × 222
537 - '#bbb "(#bbb #bbb "(#bbb #bbb "(#bbb w?t "( w?t w?t "(#bbb'
538
539 # Geteilt durch
540 - - 222 ÷ 222 222÷222 222 ÷222 wort ÷ wort wort ÷ 222
541 - '#bbb ":#bbb #bbb ":#bbb #bbb ":#bbb w?t ": w?t w?t ":#bbb'
542
543 # Gleich
544 - - 222 = 222 222=222 222 =222 wort = wort wort = 222
545 - '#bbb "=#bbb #bbb "=#bbb #bbb "=#bbb w?t "= w?t w?t "=#bbb'
546
547 # Punkt 6 Apo bei Frage-/Ausrufezeichen in Klammern
548 # http://redmine.sbszh.ch/issues/2324
549 - - "(?) (!)"
550 - "='?= ='+="
551
552 # Korrektur des Trademark-Symbols
553 # http://redmine.sbszh.ch/issues/2270
554 - - foo™
555 - "foo'=>tm="
556
557 # Übersetzung bei Wörtern mit Stern `*`
558 # http://redmine.sbszh.ch/issues/2187
559 - - Martell
560 - m)(q
561 - - Martell*
562 - m)(q'*
563
564 # Fragezeichen nach Klammer fälschlicherweise ohne Pt. 6 Apo
565 # http://redmine.sbszh.ch/issues/2186
566 - - bla (45-55) blo
567 - "bla =#de-#ee'= blo"
568 - - bla ?-55 blo
569 - "bla '?-#ee blo"
570 - - bla (?-55) blo
571 - "bla ='?-#ee'= blo"
572
573 # Punctuation after numbers
574 - - »Am 10?«
575 - "(am #aj'?)"
576
577 # Minus tests
578 - - "−10 Grad"
579 - "\"-#aj grad"
580 - - " -10 Grad"
581 - " \"-#aj grad"
582 - - "(-10 Grad)"
583 - "=\"-#aj grad="
584 - # using a unicode minus
585 - "−10 Grad"
586 - "\"-#aj grad"
587 - - "5-10 Grad"
588 - "#e-#aj grad"
589
590 # Braillequirks
591 - # test for !«
592 - "»Ich bin Bergfahrer!«"
593 - "(# b* b7g,r7+)"
594 - # test for !
595 - "And we look farther on!"
596 - "+d we look f)th7 on+"
597 - # test for stick!!!«
598 - "»Sun-­block on a stick!!!«"
599 - "(s/- blo$ on 'a }i$+++)"
600 - # test for und/oder
601 - "Substanz und/oder deren"
602 - "sub}+z u!,o d7c"
603 - # Swallow white space whith embed new lines
604 - "Gedanken – Strich —"
605 - "&dkc'- }r#'-"
606 - xfail: tbh, not sure if swallowing white space should be liblouis responsibilty
607 - # Swallow white space whith embed new lines
608 - "Gedanken
609 — Strich"
610 - "&dkc'- }r#"
611 - # Swallow white space whith embed new lines
612 - "Gedanken
613 — Strich"
614 - "&dkc'- }r#"
615 - # Swallow white space whith embed new lines
616 - "Gedanken
617 — Strich"
618 - "&dkc'- }r#"
619 - xfail: tbh, not sure if swallowing white space should be liblouis responsibilty
620 - # test für Einzelbuchstaben mit Punkt
621 - "A. B. C. D. E. F. G. H. I. J."
622 - "a. b. 'c. d. e. f. g. h. i. j."
623 - # Apostroph (pt. 6) erscheint zweimal bei Apostroph + Einzelbuchstabe
624 # http://redmine.sbszh.ch/issues/show/929
625 - "wie geht's"
626 - "2 g=t's"
627 - # Problem bei Schrägstrich: Kürzungen
628 # http://redmine.sbszh.ch/issues/show/1005
629 - "Produktion/Test"
630 - "qduktion!,te}"
631 - # Einzelbuchstaben mit Akzenten erhalten fälschlicherweise einen Pt.6
632 # http://redmine.sbszh.ch/issues/show/1010
633 - "à la carte"
634 - "\"[ la 'c)("
635 - xfail: not sure if this test case is correct, now that we only use detailed accents in the swiss table
636 - # Leerschläge vor und nach Schrägstrich werden getilgt
637 # http://redmine.sbszh.ch/issues/show/1011
638 - "wort / wort"
639 - "w?t !, w?t"
640 # Check if unicode chars are eaten by liblouis
641 - - "╞"
642 - "'_"
643 - xfail: tbh don't know how this was working downstream
644 - - "╡"
645 - "'."
646 - xfail: tbh don't know how this was working downstream
647
648 - # Gross, schliess, etc
649 - Groß schließ Großmutter
650 - g~ 5~ g~mutt7
651
652 # ach
653 - - ach achtung flaches dach
654 - a4 a4tu fl<% d<
655
656 # al
657 - - alter al, kalter kanal
658 - :t7 al, k:t7 k+al
659
660 # ar
661 - - eine ar arvenwald gart fast gar
662 - "6e ar )vcw:d g)t fa} gar"
663
664 # be
665 - - be bereitet unbequeme hiebe
666 - "be ;r3(t /;'qu{e h0be"
667
668 # ck
669 - - das ck in kuckuck
670 - "d 'ck * ku$u$"
671
672 # dies
673 - - dies ist dieses paradies
674 - d0s } 0% p)ad0s
675
676 # eh
677 - - ehrlich eh reh dreht
678 - ehr_ eh reh dr=t
679
680 # ent
681 - - entgehen rentner dokument
682 - ~g=c rctn7 dokumct
683
684 # falls
685 - - ebenfalls fallstrick falls einzelfallstudie
686 - ebcf fq}ri$ fqs 6zyfq}udie
687
688 # heit
689 - - einheit schönheitskönigin heiter hoheit
690 - 6h 59nhsk9n>* h3t7 hoh3t
691
692 # ie
693 - - liegt knie ieri
694 - l0gt kn0 i7i
695
696 # ig
697 - - igel figur leipzig
698 - igy f>ur l3pz>
699
700 # ihr
701 - - ihr ihretwegen ihrige mihrab
702 - i ietwgc i>e mihrab
703
704 # keit
705 - - dankbarkeit heiterkeitserfolg keitel
706 - dkb)k h3t7ks7fg k3ty
707
708 # lich
709 - - licht sonnenlicht fröhlich
710 - l#t sonnc_t fr9h_
711
712 # ll
713 - - llewellyn halle hell
714 - lleweq'yn haqe heq
715
716 # mal
717 - - mal zumal damaliges maximal
718 - "mal ,zm dam>% ma'ximal"
719
720 # mm
721 - - mm kamm klemmt
722 - mm kax klext
723
724 # möcht
725 - - möcht möchten hinmöchtest möchtegern
726 - "m94t 4c h*4e} 4eg7n"
727
728 # nis
729 - - nisse ärgernis hemmnis ergebnislos
730 - "ni~e `rg7x hexx 7&bxlos"
731
732 # or
733 - - or orden pforte chor
734 - or ?dc pf?( 4or
735
736 # sam
737 - - samt einsamkeit sparsam sam
738 - samt 6~k sp)~ sam
739
740 # schaft
741 - - schaft bürgschaft kundschafter herrschaft
742 - 5aft b8rg5 k/d57 rr5aft
743
744 # sein
745 - - sein seine seinerseits dasein
746 - 9 9e 97s3ts das6
747
748 # ss
749 - - kasse nuss
750 - ka~e nu~
751
752 # te
753 - - te teppich protest betete
754 - "te tepp# q(} ;(("
755
756 # ung
757 - - ungarn heilung zeitungen
758 - /g)n h3lu ztuc
759
760 # ver
761 - - verein sport-verein unverantwortlich pulver -versuch
762 - "-6 sp?t-v76 /v7+tw?t_ pulv7 '-v7su4"
763
764 # war
765 - - war waren warst spielwaren
766 - ) )c )} ,0w)c
767
768 # Misc quirks
769 - - "bli 8:"
770 - "bli #h':"
771 - - "bli 8!"
772 - "bli #h'+"
773 - - "bli 8?"
774 - "bli #h'?"
775 - - "bli 8;"
776 - "bli #h';"
777 - - "bli 8,"
778 - "bli #h,"
779 - - "bli 8."
780 - "bli #h."
781
782 # im tests
783 - - "Bla im Blo"
784 - "bla - blo"
785 - - "Heim-Kino"
786 - "h3m-k*o"
787 - - "Das Im-Buch-Lesen"
788 - "d im-bu4-l%c"
789 - - "Das Konzentriert-Im-Buch-Lesen"
790 - "d konzctr0rt-im-bu4-l%c"
791
792 # line break before ndash
793 # Bug #1212
794 - - "word
795 – word"
796 - "w?d'- w?d"
797
798 # originally from https://github.com/sbsdev/sbs-braille-tables/blob/master/tests/accents.yaml
799 # Reduced accents
800 - - "Àà Ââ Çç Èè Éé Êê Ëë Ìì Îî Ïï Òò Ôô Ùù Ûû Œœ"
801 - '"a"a "a"a "c"c "e"e "e"e "e"e "e"e "i"i "i"i "i"i "o"o "o"o "u"u "u"u oeoe'
802 # Reduced accents
803 - - "Áá Ãã Åå Ææ Āā Ăă Ąą Ćć Ĉĉ Ċċ Čč Ďď Đđ Ðð Ēē Ėė Ęę Ěě Ğğ Ģģ"
804 - '"a"a "a"a "a"a "a"a "a"a "a"a "a"a "c"c "c"c "c"c "c"c "d"d "d"d "d"d "e"e "e"e "e"e "e"e "g"g "g"g'
805 - xfail: Ææ is translated as ae
806 - - "Ĥĥ Ħħ Íí Ĩĩ Īī Įį IJij Ĵĵ Ķķ Ĺĺ Ļļ Ľľ Ŀŀ Łł Ńń Ññ Ņņ Ňň Ŋŋ"
807 - '"h"h "h"h "i"i "i"i "i"i "i"i "j"j "j"j "k"k "l"l "l"l "l"l "l"l "l"l "n"n "n"n "n"n "n"n "n"n'
808 - - "İı"
809 - '"i"i'
810 - xfail: lowercasing turns İ into i, removing the accent, see the FIXME in latinLowercase.uti
811 - - "Ōō Óó Õõ Øø Ŏŏ Őő Ŕŕ Ŗŗ Řř Śś Ŝŝ Şş Šš Șș Ţţ Ťť Ŧŧ Țț"
812 - '"o"o "o"o "o"o "o"o "o"o "o"o "r"r "r"r "r"r "s"s "s"s "s"s "s"s "s"s "t"t "t"t "t"t "t"t'
813 - - "Ũũ Ūū Úú Ŭŭ Ůů Űű Ųų Ŵŵ Ŷŷ Źź Żż Žž Ǎǎ Ẁẁ Ẃẃ Ẅẅ Ỳỳ Ýý Þþ Ÿÿ"
814 - '"u"u "u"u "u"u "u"u "u"u "u"u "u"u "w"w "y"y "z"z "z"z "z"z "a"a "w"w "w"w "w"w "y"y "y"y "t"t "y"y'
815
816 # originally from https://github.com/sbsdev/sbs-braille-tables/blob/master/tests/v-form.yaml
817 # v-forms
818 - - Sie
819 - $s
820 - xfail: v-forms not implemented
821 - - Euerem
822 - $27{
823 - xfail: v-forms not implemented
824
825 table:
826 locale: de
827 grade: 1
828 type: literary
829 dots: 6
830 __assert-match: de-g1.ctb
831 tests:
832 # v-forms
833 - - Sie
834 - $s0
835 - xfail: v-forms not implemented
836 - - Euerem
837 - $2erem
838 - xfail: v-forms not implemented
839
840 table:
841 locale: de
842 grade: 0
843 type: literary
844 dots: 6
845 __assert-match: de-g0.utb
846 tests:
847 # originally from https://github.com/sbsdev/sbs-braille-tables/blob/master/tests/g0.yaml
848 # test for text starting with space followed by dash
849 - - " -steigen"
850 - " '-steigen"
851 - xfail: fix not yet upstream
852 # test for <em> starting or ending with dash
853
854 # This test case is splitting hair. It is not handled in the
855 # Systematik. You need a ' in front of - at the beginning of the
856 # word, otherwise it reads as "ver". You also need a ' in front of _
857 # in the middle of a word otherwise it reads as "lich". So to be on
858 # the safe side there should be a ' in front of the - and the _, but
859 # the second ' would be redundant.
860 - - "auffallen und -steigen "
861 - "auf'_fallen und '-_steigen " # or to be on the safe side: "auf'_fallen und '-'_steigen"
862 - typeform: { italic: " ++++++ ++++++++ "}
863 xfail: "' missing in front of emphasis indicator"
864 - - "hin- und hergehen "
865 - "_hin- und _her'.gehen "
866 - typeform: { italic: "++++ +++ "}
867
868 # v-forms
869 - - Sie
870 - $sie
871 - xfail: v-forms not implemented
872 - - Euerem
873 - $euerem
874 - xfail: v-forms not implemented
875
876 # Roman numbers Contraction 0
877 - - "Seite VI"
878 - "seite >vi"
879 - xfail: roman numbers not implemented
880 - - "Seite VI)"
881 - "seite >vi="
882 - xfail: roman numbers not implemented
883 - - "Seite VI,"
884 - "seite >vi,"
885 - xfail: roman numbers not implemented
886 - - "Seite VI."
887 - "seite >vi."
888 - xfail: roman numbers not implemented
889 - - "Seite VIff."
890 - "seite >vi'ff."
891 - xfail: roman numbers not implemented
892 - - "Seite VIUIUIUI "
893 - "seite >vi'uiuiui"
894 - xfail: roman numbers not implemented
895
896
897