blob: 5f5c1402ea3dc3f4e5ec53a9b6f53fc21c5f1b4e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
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
|
// Latin-Syriac
translit_Latin_Syriac {
Rule {
":: NFD (NFC) ;"
// Variable names, derived from the Unicode names.
"$ALEF=\u0710;"
"$ALEF_SUPERSCRIPT=\u0711;"
"$BET=\u0712;"
"$GIMEL=\u0713;"
"$GIMEL_GARSHUNI=\u0714;"
"$DALET=\u0715;"
"$DALET_DOTLESS=\u0716;"
"$HE=\u0717;"
"$VAV=\u0718;"
"$ZAYIN=\u0719;"
"$HET=\u071A;"
"$TET=\u071B;"
"$TET_GARSHUNI=\u071C;"
"$YOD=\u071D;"
"$YOD_HE=\u071E;"
"$KAF=\u071F;"
"$LAMED=\u0720;"
"$MEM=\u0721;"
"$NUN=\u0722;"
"$SAMEKH=\u0723;"
"$FINAL_SAMEKH=\u0724;"
"$AYIN=\u0725;"
"$PE=\u0726;"
"$PE_REVERSED=\u0727;"
"$TSADI=\u0728;"
"$QOF=\u0729;"
"$RESH=\u072A;"
"$SHIN=\u072B;"
"$TAV=\u072C;"
"$PARAGRAPH=\u0700;"
"$letter=[a-zA-Z];"
"$softvowel=[eiyEIY];"
"$vowellike=[$ALEF $AYIN $YOD $VAV $ALEF_SUPERSCRIPT];"
// [Why is this a special case? -liu]
"k''h <> $KAF $HE ;"
// Mark non-final forms in final position as x~ -liu
"s < $SAMEKH } [[:SYRIAC:]&[:LETTER:]] ;"
"s'~' <> $SAMEKH ;"
// Mark final forms in non-final position as x^ -liu
"s < $FINAL_SAMEKH;"
// Main rules
"a<>$ALEF;"
"A>$ALEF;"
"a<$ALEF_SUPERSCRIPT;"
"b<>$BET;"
"B>$BET;"
"c}$softvowel>$SAMEKH;"
"C}$softvowel>$SAMEKH;"
"c>$KAF;"
"C>$KAF;"
"d<>$DALET;"
"D>$DALET;"
"d<$DALET_DOTLESS;"
"e<>$AYIN;"
"E>$AYIN;"
"f>$PE;"
"F>$PE;"
"g<>$GIMEL;"
"G>$GIMEL;"
"g<$GIMEL_GARSHUNI;"
"h<>$HE;"
"H>$HE;"
"i>$YOD;"
"I>$YOD;"
"ih<$YOD_HE;"
"j>$DALET$SHIN;"
"J>$DALET$SHIN;"
"kh<>$HET;"
"kH>$HET;"
"Kh>$HET;"
"KH>$HET;"
"k<>$KAF;"
"K>$KAF;"
"l<>$LAMED;"
"L>$LAMED;"
"m<>$MEM;"
"M>$MEM;"
"n<>$NUN;"
"N>$NUN;"
"o>$VAV;"
"O>$VAV;"
"p<>$PE;"
"P>$PE;"
"p<$PE_REVERSED;"
"q<>$QOF;"
"Q>$QOF;"
"r<>$RESH;"
"R>$RESH;"
"sh<>$SHIN;"
"sH>$SHIN;"
"Sh>$SHIN;"
"SH>$SHIN;"
"th<>$TAV;"
"tH>$TAV;"
"Th>$TAV;"
"TH>$TAV;"
"tS>$TSADI;"
"ts<>$TSADI;"
"Ts>$TSADI;"
"TS>$TSADI;"
"t''<$TET}[$HE $SAMEKH $SHIN];"
"t<>$TET;"
"T>$TET;"
"t<$TET_GARSHUNI;"
"s}$letter>$SAMEKH;"
"s>$FINAL_SAMEKH;"
"S}$letter>$SAMEKH;"
"S>$FINAL_SAMEKH;"
"v<$VAV}$vowellike;"
"u<>$VAV;"
"U>$VAV;"
"v>$VAV;"
"V>$VAV;"
"w>$VAV;"
"W>$VAV;"
"x>$KAF$SAMEKH;"
"X>$KAF$SAMEKH;"
"y<>$YOD;"
"Y>$YOD;"
"z<>$ZAYIN;"
"Z>$ZAYIN;"
"\u00B6<>$PARAGRAPH;"
//Delete any Syriac we didn't recognize
"<[:SYRIAC:];"
":: NFC (NFD) ;"
}
}
|