Debian Codegraph @

tests/braille-specs/cuneiform-transliterated.yaml

raw symbols SCIP
1 # Test for transliterated Cuneiform
2
3 # Copyright © 2024 Matt Yeater and Paul Geoghegan
4 # Copyright © 2025 by Eric J. Harvey <[email protected]>
5
6 # Copying and distribution of this file, with or without modification,
7 # are permitted in any medium without royalty provided the copyright
8 # notice and this notice are preserved. This file is offered as-is,
9 # without any warranty.
10
11 # Variant with UEB diacritics
12 # ---------------------------
13
14 display: unicode-without-blank.dis
15 table:
16 language: akk-Latn
17 __assert-match: cuneiform-transliterated.utb
18 table: ancient-languages-borger.utb
19 table: ancient-languages-us.utb
20 flags: { testmode: forward }
21 tests:
22 - ["aš-ku-un.", "⠁⠩⠤⠅⠥⠤⠥⠝⠲"]
23 - ["šum-ma da-a-a-nu-um", "⠩⠥⠍⠤⠍⠁ ⠙⠁⠤⠁⠤⠁⠤⠝⠥⠤⠥⠍"]
24 - ["pu-ru-sà-am ip-ru-ús.", "⠏⠥⠤⠗⠥⠤⠎⠘⠡⠁⠤⠁⠍ ⠊⠏⠤⠗⠥⠤⠘⠌⠥⠎⠲"]
25 - ["a-wi-lum", "⠁⠤⠺⠊⠤⠇⠥⠍"]
26 - ["bīt-sú iṣ-ba-at.", "⠃⠈⠤⠊⠞⠤⠎⠘⠌⠥ ⠊⠐⠎⠤⠃⠁⠤⠁⠞⠲"]
27 - ["i-ša-ak-ka-nu.", "⠊⠤⠩⠁⠤⠁⠅⠤⠅⠁⠤⠝⠥⠲"]
28 - ["i-na-ṣa-ar.", "⠊⠤⠝⠁⠤⠐⠎⠁⠤⠁⠗⠲"]
29 - ["i-pa-aq-qí-du.", "⠊⠤⠏⠁⠤⠁⠟⠤⠟⠘⠌⠊⠤⠙⠥⠲"]
30 - ["ni-iš i-lim i-za-kar.", "⠝⠊⠤⠊⠩ ⠊⠤⠇⠊⠍ ⠊⠤⠵⠁⠤⠅⠁⠗⠲"]
31 - ["i-ra-ag-gu-um.", "⠊⠤⠗⠁⠤⠁⠛⠤⠛⠥⠤⠥⠍⠲"]
32 - ["i-še-eb-bi-ru", "⠊⠤⠩⠑⠤⠑⠃⠤⠃⠊⠤⠗⠥"]
33 - ["i-ṣa-am i-na-ak-ki-su", "⠊⠤⠐⠎⠁⠤⠁⠍ ⠊⠤⠝⠁⠤⠁⠅⠤⠅⠊⠤⠎⠥"]
34 - ["ritta-šu i-na-ki-su", "⠗⠊⠞⠞⠁⠤⠩⠥ ⠊⠤⠝⠁⠤⠅⠊⠤⠎⠥"]
35 - ["kaspam i-ša-qá-lu", "⠅⠁⠎⠏⠁⠍ ⠊⠤⠩⠁⠤⠟⠘⠌⠁⠤⠇⠥"]
36
37 # Variant with compact diacritics
38 # -------------------------------
39
40 table:
41 language: akk-Latn
42 variant: compact
43 __assert-match: cuneiform-transliterated-compact.utb
44
45 # Latin characters
46 flags: {testmode: bothDirections}
47 tests:
48 - ['abcdefghijklmnopqrstuvwxyz', '⠁⠃⠉⠙⠑⠋⠛⠓⠊⠚⠅⠇⠍⠝⠕⠏⠟⠗⠎⠞⠥⠧⠺⠭⠽⠵']
49 - ['ABCDEFGHIJKLMNOPQRSTUVWXYZ', '⠨⠠⠁⠃⠉⠙⠑⠋⠛⠓⠊⠚⠅⠇⠍⠝⠕⠏⠟⠗⠎⠞⠥⠧⠺⠭⠽⠵']
50
51 # Characters with diacritics (single code point)
52 - ['ḪḫŠš', '⠨⠶⠓⠶⠓⠨⠩⠩']
53 - ['ʾ', '⠰⠢']
54 - ['ʿ', '⠰⠔']
55 flags: {testmode: forward}
56 tests:
57 - ['ÁáÉéÍíÓóŚśÚú', '⠨⠆⠁⠆⠁⠨⠆⠑⠆⠑⠨⠆⠊⠆⠊⠨⠆⠕⠆⠕⠨⠆⠎⠆⠎⠨⠆⠥⠆⠥']
58 - ['ÀàÈèÌìÒòÙù', '⠨⠒⠁⠒⠁⠨⠒⠑⠒⠑⠨⠒⠊⠒⠊⠨⠒⠕⠒⠕⠨⠒⠥⠒⠥']
59 - ['ĀāĒēĪīŌōŪū', '⠨⠘⠁⠘⠁⠨⠘⠑⠘⠑⠨⠘⠊⠘⠊⠨⠘⠕⠘⠕⠨⠘⠥⠘⠥']
60 - ['ÂâÊêÎîÔôÛû', '⠨⠰⠁⠰⠁⠨⠰⠑⠰⠑⠨⠰⠊⠰⠊⠨⠰⠕⠰⠕⠨⠰⠥⠰⠥']
61 - ['Ɂɂʾˀ', '⠨⠰⠢⠰⠢⠰⠢⠰⠢']
62 - ['ꞺꞻꞼꞽꞾꞿ', '⠨⠳⠁⠳⠁⠨⠳⠊⠳⠊⠨⠳⠥⠳⠥']
63 - ['ʿˤˁ', '⠰⠔⠰⠔⠰⠔']
64
65 # Characters with diacritics (letter plus modifier)
66 flags: {testmode: bothDirections}
67 tests:
68 - ['aV́v́', '⠁⠨⠆⠧⠆⠧']
69 - ['aV̀v̀', '⠁⠨⠒⠧⠒⠧']
70 - ['aV̄v̄', '⠁⠨⠘⠧⠘⠧']
71 - ['aV̂v̂', '⠁⠨⠰⠧⠰⠧']
72
73 flags: {testmode: forward}
74 tests:
75 - ['ÁáÉéÍíÓóÚúV́v́', '⠨⠆⠁⠆⠁⠨⠆⠑⠆⠑⠨⠆⠊⠆⠊⠨⠆⠕⠆⠕⠨⠆⠥⠆⠥⠨⠆⠧⠆⠧']
76 - ['ÀàÈèÌìÒòÙùV̀v̀', '⠨⠒⠁⠒⠁⠨⠒⠑⠒⠑⠨⠒⠊⠒⠊⠨⠒⠕⠒⠕⠨⠒⠥⠒⠥⠨⠒⠧⠒⠧']
77 - ['ĀāĒēĪīŌōŪūV̄v̄', '⠨⠘⠁⠘⠁⠨⠘⠑⠘⠑⠨⠘⠊⠘⠊⠨⠘⠕⠘⠕⠨⠘⠥⠘⠥⠨⠘⠧⠘⠧']
78 - ['ÂâÊêÎîÔôÛûV̂v̂', '⠨⠰⠁⠰⠁⠨⠰⠑⠰⠑⠨⠰⠊⠰⠊⠨⠰⠕⠰⠕⠨⠰⠥⠰⠥⠨⠰⠧⠰⠧']
79 - ['ḆḇḎḏH̱ẖḴḵṮṯX̱x̱', '⠨⠸⠃⠸⠃⠨⠸⠙⠸⠙⠨⠸⠓⠸⠓⠨⠸⠅⠸⠅⠨⠸⠞⠸⠞⠨⠸⠭⠸⠭']
80
81 # Characters with diacritics (backward)
82 flags: {testmode: backward}
83 tests:
84 - ['⠨⠆⠁⠆⠁⠨⠆⠑⠆⠑⠨⠆⠊⠆⠊⠨⠆⠕⠆⠕⠨⠆⠎⠆⠎⠨⠆⠥⠆⠥', 'ÁáÉéÍíÓóŚśÚú']
85 - ['⠨⠒⠁⠒⠁⠨⠒⠑⠒⠑⠨⠒⠊⠒⠊⠨⠒⠕⠒⠕⠨⠒⠥⠒⠥', 'ÀàÈèÌìÒòÙù']
86 - ['⠨⠘⠁⠘⠁⠨⠘⠑⠘⠑⠨⠘⠊⠘⠊⠨⠘⠕⠘⠕⠨⠘⠥⠘⠥', 'ĀāĒēĪīŌōŪū']
87 - ['⠨⠰⠁⠰⠁⠨⠰⠑⠰⠑⠨⠰⠊⠰⠊⠨⠰⠕⠰⠕⠨⠰⠥⠰⠥', 'ÂâÊêÎîÔôÛû']
88 - ['⠨⠸⠃⠸⠃⠨⠸⠙⠸⠙⠨⠸⠓⠸⠓⠨⠸⠅⠸⠅⠨⠸⠞⠸⠞⠨⠸⠭⠸⠭', 'ḆḇḎḏH̱ẖḴḵṮṯX̱x̱']
89
90 # Numerals
91 flags: {testmode: bothDirections}
92 tests:
93 - ['0123456789', '⠼⠚⠁⠃⠉⠙⠑⠋⠛⠓⠊']
94
95 # Subscript numerals
96 flags: {testmode: forward}
97 tests:
98 - ['₀₁₂₃₄₅₆₇₈₉', '⠼⠚⠁⠃⠉⠙⠑⠋⠛⠓⠊']
99 flags: {testmode: backward}
100 tests:
101 - ['⠼⠠⠚⠀⠼⠠⠁⠀⠼⠠⠃⠀⠼⠠⠉⠀⠼⠠⠙⠀⠼⠠⠑⠀⠼⠠⠋⠀⠼⠠⠛⠀⠼⠠⠓⠀⠼⠠⠊', '₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉']
102
103 # Punctuation
104 flags: {testmode: bothDirections}
105 tests:
106 - ['()[]⸢⸣⸤⸥{}', '⠐⠣⠐⠜⠨⠣⠨⠜⠈⠣⠈⠜⠠⠣⠠⠜⠸⠣⠸⠜']
107 flags: {testmode: forward}
108 tests:
109 - ['a.,/!?-=a+a;a', '⠁⠲⠂⠸⠌⠖⠦⠤⠐⠶⠁⠐⠖⠁⠰⠆⠁']
110 - ['⸢⸣⸤⸥⌈⌉⌊⌋{}', '⠈⠣⠈⠜⠠⠣⠠⠜⠈⠣⠈⠜⠠⠣⠠⠜⠸⠣⠸⠜']
111 flags: {testmode: backward}
112 tests:
113 - ['⠁⠲⠂⠸⠌⠖⠦⠤⠐⠶⠁⠐⠖⠀⠁⠆⠀⠁⠒⠀', 'a.,/!?-=a+ a; a: ']
114
115 ## Text from online text sources
116
117 # CDA Entry
118 # From Black, Jeremy, Concise Dictionary of Akkadian.
119 flags: {testmode: forward}
120 tests:
121 - ['pašāḫu(m) “to cool down, rest” G (a/a, also i/i; OAkk, OA imper. also pišaḫ) [SED]', '⠏⠁⠩⠘⠁⠶⠓⠥⠐⠣⠍⠐⠜ ⠦⠞⠕ ⠉⠕⠕⠇ ⠙⠕⠺⠝⠂ ⠗⠑⠎⠞⠴ ⠨⠛ ⠐⠣⠁⠸⠌⠁⠂ ⠁⠇⠎⠕ ⠊⠸⠌⠊⠆ ⠨⠠⠕⠁⠠⠄⠅⠅⠂ ⠨⠠⠕⠁ ⠊⠍⠏⠑⠗⠲ ⠁⠇⠎⠕ ⠏⠊⠩⠁⠶⠓⠐⠜ ⠨⠣⠨⠠⠎⠑⠙⠨⠜']
122 flags: {testmode: backward}
123 tests:
124 - ['⠏⠁⠩⠘⠁⠶⠓⠥⠐⠣⠍⠐⠜⠀⠦⠞⠕⠀⠉⠕⠕⠇⠀⠙⠕⠺⠝⠂⠀⠗⠑⠎⠞⠴⠀⠨⠛⠀⠐⠣⠁⠸⠌⠁⠂⠀⠁⠇⠎⠕⠀⠊⠸⠌⠊⠆⠀⠨⠠⠕⠁⠠⠄⠅⠅⠂⠀⠨⠠⠕⠁⠀⠊⠍⠏⠑⠗⠲⠀⠁⠇⠎⠕⠀⠏⠊⠩⠁⠶⠓⠐⠜⠀⠨⠣⠨⠠⠎⠑⠙⠨⠜', 'pašāḫu(m) "to cool down, rest" G (a/a, also i/i; OAkk, OA imper. also pišaḫ) [SED]']
125
126 # From EBL (Electronic Babylonian Library)
127 # See https://www.ebl.lmu.de/
128 flags: {testmode: forward}
129 tests:
130 - ['86 tārīt ittarrûšu pulḫāti ušmalli', '⠼⠓⠋ ⠞⠘⠁⠗⠘⠊⠞ ⠊⠞⠞⠁⠗⠗⠰⠥⠩⠥ ⠏⠥⠇⠶⠓⠘⠁⠞⠊ ⠥⠩⠍⠁⠇⠇⠊']
131 - ['139 āmiršunu šarbābiš‡ liḫḫarmim‡', '⠼⠁⠉⠊ ⠘⠁⠍⠊⠗⠩⠥⠝⠥ ⠩⠁⠗⠃⠘⠁⠃⠊⠩⠈⠠⠻ ⠇⠊⠶⠓⠶⠓⠁⠗⠍⠊⠍⠈⠠⠻']
132 - ['KišNB1 o 79. [i]-⸢na⸣ ki-iṣ-ṣ[i ši-m]a-a-ti at-ma-nu ⸢GIŠ⸣-[ḪUR-MEŠ]', '⠨⠅⠊⠩⠨⠠⠝⠃⠼⠁ ⠕ ⠼⠛⠊⠲ ⠨⠣⠊⠨⠜⠤⠈⠣⠝⠁⠈⠜ ⠅⠊⠤⠊⠐⠎⠤⠐⠎⠨⠣⠊ ⠩⠊⠤⠍⠨⠜⠁⠤⠁⠤⠞⠊ ⠁⠞⠤⠍⠁⠤⠝⠥ ⠈⠣⠨⠠⠛⠊⠩⠈⠜⠤⠨⠣⠨⠠⠶⠓⠥⠗⠤⠨⠠⠍⠑⠩⠨⠜']
133 flags: {testmode: backward}
134 tests:
135 - ['⠼⠓⠋⠀⠞⠘⠁⠗⠘⠊⠞⠀⠊⠞⠞⠁⠗⠗⠰⠥⠩⠥⠀⠏⠥⠇⠶⠓⠘⠁⠞⠊⠀⠥⠩⠍⠁⠇⠇⠊', '86 tārīt ittarrûšu pulḫāti ušmalli']
136 - ['⠼⠁⠉⠊⠀⠘⠁⠍⠊⠗⠩⠥⠝⠥⠀⠩⠁⠗⠃⠘⠁⠃⠊⠩⠈⠠⠻⠀⠇⠊⠶⠓⠶⠓⠁⠗⠍⠊⠍⠈⠠⠻', '139 āmiršunu šarbābiš‡ liḫḫarmim‡']
137 - ['⠨⠅⠊⠩⠨⠠⠝⠃⠼⠁⠀⠀⠀⠕⠀⠼⠛⠊⠲⠀⠀⠀⠨⠣⠊⠨⠜⠤⠈⠣⠝⠁⠈⠜⠀⠅⠊⠤⠊⠐⠎⠤⠐⠎⠨⠣⠊⠀⠩⠊⠤⠍⠨⠜⠁⠤⠁⠤⠞⠊⠀⠁⠞⠤⠍⠁⠤⠝⠥⠀⠈⠣⠨⠠⠛⠊⠩⠈⠜⠤⠨⠣⠨⠠⠶⠓⠥⠗⠤⠨⠠⠍⠑⠩⠨⠜', 'KišNB1 o 79. [i]-⸢na⸣ ki-iṣ-ṣ[i ši-m]a-a-ti at-ma-nu ⸢GIŠ⸣-[ḪUR-MEŠ]']
138
139 # Text from SEAL (Sources of Early Akkadian Literature)
140 # See https://seal.huji.ac.il/
141 flags: {testmode: forward}
142 tests:
143 - ['ba 6 du-ul-lu ú-šá-az-ba-lu i-gi4-gi4', '⠃⠁ ⠼⠋ ⠙⠥⠤⠥⠇⠤⠇⠥ ⠆⠥⠤⠩⠆⠁⠤⠁⠵⠤⠃⠁⠤⠇⠥ ⠊⠤⠛⠊⠼⠙⠤⠛⠊⠼⠙']
144 - ['i-ḫe-er-ru{x}-u-ni', '⠊⠤⠶⠓⠑⠤⠑⠗⠤⠗⠥⠸⠣⠭⠸⠜⠤⠥⠤⠝⠊']
145 flags: {testmode: backward}
146 tests:
147 - ['⠃⠁⠀⠼⠋⠀⠙⠥⠤⠥⠇⠤⠇⠥⠀⠆⠥⠤⠩⠆⠁⠤⠁⠵⠤⠃⠁⠤⠇⠥⠀⠊⠤⠛⠊⠼⠙⠤⠛⠊⠼⠙', 'ba 6 du-ul-lu ú-šá-az-ba-lu i-gi4-gi4']
148 - ['⠊⠤⠶⠓⠑⠤⠑⠗⠤⠗⠥⠸⠣⠭⠸⠜⠤⠥⠤⠝⠊', 'i-ḫe-er-ru{x}-u-ni']
149
150 # From ORACC (Open Richly Annotated Cuneiform Corpus)
151 # See https://oracc.museum.upenn.edu/
152 flags: {testmode: forward}
153 tests:
154 - ['o 8 ša₂ gišBANŠUR 5 šap-pi-MEŠ KU₃.SI₂₂ ša₂ za-ri-i-ni', '⠕ ⠼⠓ ⠩⠁⠼⠃ ⠛⠊⠩⠨⠠⠃⠁⠝⠩⠥⠗ ⠼⠑ ⠩⠁⠏⠤⠏⠊⠤⠨⠠⠍⠑⠩ ⠨⠠⠅⠥⠼⠉⠲⠨⠠⠎⠊⠼⠃⠃ ⠩⠁⠼⠃ ⠵⠁⠤⠗⠊⠤⠊⠤⠝⠊']
155 flags: {testmode: backward}
156 tests:
157 - ['⠕⠀⠼⠓⠀⠀⠀⠩⠁⠼⠃⠀⠛⠊⠩⠨⠠⠃⠁⠝⠩⠥⠗⠀⠼⠑⠀⠩⠁⠏⠤⠏⠊⠤⠨⠠⠍⠑⠩⠀⠨⠠⠅⠥⠼⠉⠲⠨⠠⠎⠊⠼⠃⠃⠀⠩⠁⠼⠃⠀⠵⠁⠤⠗⠊⠤⠊⠤⠝⠊', 'o 8 ša2 gišBANŠUR 5 šap-pi-MEŠ KU3.SI22 ša2 za-ri-i-ni']
158
159 # Hebrew transliteration
160 flags: {testmode: forward}
161 tests:
162 - ['Qôl qôrēʾ bammid̲bār pannû derek̲ ʾăd̲ōnāi yaššərû bāʿărāb̲āh məsillāh lēʾlōhênû.', '⠨⠟⠰⠕⠇ ⠟⠰⠕⠗⠘⠑⠰⠢ ⠃⠁⠍⠍⠊⠸⠙⠃⠘⠁⠗ ⠏⠁⠝⠝⠰⠥ ⠙⠑⠗⠑⠸⠅ ⠰⠢⠷⠁⠸⠙⠘⠕⠝⠘⠁⠊ ⠽⠁⠩⠩⠄⠗⠰⠥ ⠃⠘⠁⠰⠔⠷⠁⠗⠘⠁⠸⠃⠘⠁⠓ ⠍⠄⠎⠊⠇⠇⠘⠁⠓ ⠇⠘⠑⠰⠢⠇⠘⠕⠓⠰⠑⠝⠰⠥⠲']
163 flags: {testmode: backward}
164 tests:
165 - ['⠨⠟⠰⠕⠇⠀⠟⠰⠕⠗⠘⠑⠰⠢⠀⠃⠁⠍⠍⠊⠸⠙⠃⠘⠁⠗⠀⠏⠁⠝⠝⠰⠥⠀⠙⠑⠗⠑⠸⠅⠀⠰⠢⠷⠁⠸⠙⠘⠕⠝⠘⠁⠊⠀⠽⠁⠩⠩⠄⠗⠰⠥⠀⠃⠘⠁⠰⠔⠷⠁⠗⠘⠁⠸⠃⠘⠁⠓⠀⠍⠄⠎⠊⠇⠇⠘⠁⠓⠀⠇⠘⠑⠰⠢⠇⠘⠕⠓⠰⠑⠝⠰⠥⠲', 'Qôl qôrēʾ bammiḏbār pannû dereḵ ʾăḏōnāi yaššərû bāʿărāḇāh məsillāh lēʾlōhênû.']