-
Notifications
You must be signed in to change notification settings - Fork 0
/
hebrew_dict.py
190 lines (190 loc) · 5.03 KB
/
hebrew_dict.py
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
#!/usr/bin/python
# -*- coding: utf-8 -*-
hebrew = {
u'HEBREW ACCENT QADMA' : u'֨',
u'HEBREW POINT PATAH' : u'ַ',
u'HEBREW LETTER FINAL KAF' : u'ך',
u'HEBREW ACCENT MERKHA' : u'֥',
u'HEBREW LETTER YOD' : u'י',
u'HEBREW ACCENT GERESH MUQDAM' : u'֝',
u'HEBREW ACCENT MAHAPAKH' : u'֤',
u'HEBREW POINT SHEVA' : u'ְ',
u'HEBREW LIGATURE YIDDISH VAV YOD' : u'ױ',
u'HEBREW MARK UPPER DOT' : u'ׄ',
u'HEBREW LETTER NUN' : u'נ',
u'HEBREW LETTER QOF' : u'ק',
u'HEBREW LETTER BET' : u'ב',
u'HEBREW ACCENT MUNAH' : u'֣',
u'HEBREW MARK MASORA CIRCLE' : u'֯',
u'HEBREW ACCENT GERESH' : u'֜',
u'HEBREW POINT SIN DOT' : u'ׂ',
u'HEBREW ACCENT ZAQEF QATAN' : u'֔',
u'HEBREW LETTER FINAL TSADI' : u'ץ',
u'HEBREW POINT QUBUTS' : u'ֻ',
u'HEBREW ACCENT SEGOL' : u'֒',
u'HEBREW ACCENT ZARQA' : u'֘',
u'HEBREW LETTER ZAYIN' : u'ז',
u'HEBREW ACCENT REVIA' : u'֗',
u'HEBREW POINT HATAF SEGOL' : u'ֱ',
u'HEBREW LETTER SHIN' : u'ש',
u'HEBREW LETTER AYIN' : u'ע',
u'HEBREW ACCENT ETNAHTA' : u'֑',
u'HEBREW ACCENT OLE' : u'֫',
u'HEBREW LETTER TSADI' : u'צ',
u'HEBREW PUNCTUATION SOF PASUQ' : u'׃',
u'HEBREW ACCENT ILUY' : u'֬',
u'HEBREW LETTER MEM' : u'מ',
u'HEBREW POINT SEGOL' : u'ֶ',
u'HEBREW LETTER LAMED' : u'ל',
u'HEBREW ACCENT DARGA' : u'֧',
u'HEBREW PUNCTUATION PASEQ' : u'׀',
u'HEBREW POINT HATAF PATAH' : u'ֲ',
u'HEBREW LETTER FINAL MEM' : u'ם',
u'HEBREW ACCENT TEVIR' : u'֛',
u'HEBREW ACCENT YERAH BEN YOMO' : u'֪',
u'HEBREW LETTER VAV' : u'ו',
u'HEBREW ACCENT ATNAH HAFUKH' : u'֢',
u'HEBREW LETTER TET' : u'ט',
u'HEBREW LETTER DALET' : u'ד',
u'HEBREW ACCENT DEHI' : u'֭',
u'HEBREW LETTER KAF' : u'כ',
u'HEBREW PUNCTUATION GERSHAYIM' : u'״',
u'HEBREW LETTER HET' : u'ח',
u'HEBREW ACCENT YETIV' : u'֚',
u'HEBREW POINT HATAF QAMATS' : u'ֳ',
u'HEBREW LETTER PE' : u'פ',
u'HEBREW ACCENT QARNEY PARA' : u'֟',
u'HEBREW ACCENT TELISHA GEDOLA' : u'֠',
u'HEBREW POINT RAFE' : u'ֿ',
u'HEBREW LETTER FINAL NUN' : u'ן',
u'HEBREW POINT TSERE' : u'ֵ',
u'HEBREW POINT HOLAM HASER FOR VAV' : u'ֺ',
u'HEBREW ACCENT ZAQEF GADOL' : u'֕',
u'HEBREW ACCENT TELISHA QETANA' : u'֩',
u'HEBREW LETTER SAMEKH' : u'ס',
u'HEBREW POINT SHIN DOT' : u'ׁ',
u'HEBREW LETTER ALEF' : u'א',
u'HEBREW LETTER GIMEL' : u'ג',
u'HEBREW POINT METEG' : u'ֽ',
u'HEBREW LETTER HE' : u'ה',
u'HEBREW ACCENT PASHTA' : u'֙',
u'HEBREW LIGATURE YIDDISH DOUBLE YOD' : u'ײ',
u'HEBREW LIGATURE YIDDISH DOUBLE VAV' : u'װ',
u'HEBREW MARK LOWER DOT' : u'ׅ',
u'HEBREW LETTER RESH' : u'ר',
u'HEBREW ACCENT SHALSHELET' : u'֓',
u'HEBREW LETTER FINAL PE' : u'ף',
u'HEBREW PUNCTUATION GERESH' : u'׳',
u'HEBREW POINT QAMATS QATAN' : u'ׇ',
u'HEBREW PUNCTUATION NUN HAFUKHA' : u'׆',
u'HEBREW ACCENT PAZER' : u'֡',
u'HEBREW ACCENT MERKHA KEFULA' : u'֦',
u'HEBREW POINT HIRIQ' : u'ִ',
u'HEBREW PUNCTUATION MAQAF' : u'־',
u'HEBREW ACCENT GERSHAYIM' : u'֞',
u'HEBREW ACCENT ZINOR' : u'֮',
u'HEBREW POINT DAGESH OR MAPIQ' : u'ּ',
u'HEBREW POINT QAMATS' : u'ָ',
u'HEBREW LETTER TAV' : u'ת',
u'HEBREW ACCENT TIPEHA' : u'֖',
u'HEBREW POINT HOLAM' : u'ֹ',
}
LIGATURE = {
u"YIDDISH VAV YOD" : u"ױ",
u"YIDDISH DOUBLE YOD" : u"ײ",
u"YIDDISH DOUBLE VAV" : u"װ",
}
POINT = {
u"PATAH" : u"ַ",
u"SHEVA" : u"ְ",
u"SIN DOT" : u"ׂ",
u"QUBUTS" : u"ֻ",
u"HATAF SEGOL" : u"ֱ",
u"SEGOL" : u"ֶ",
u"HATAF PATAH" : u"ֲ",
u"HATAF QAMATS" : u"ֳ",
u"RAFE" : u"ֿ",
u"TSERE" : u"ֵ",
u"HOLAM HASER FOR VAV" : u"ֺ",
u"SHIN DOT" : u"ׁ",
u"METEG" : u"ֽ",
u"QAMATS QATAN" : u"ׇ",
u"HIRIQ" : u"ִ",
u"DAGESH OR MAPIQ" : u"ּ",
u"QAMATS" : u"ָ",
u"HOLAM" : u"ֹ",
}
PUNCTUATION = {
u"SOF PASUQ" : u"׃",
u"PASEQ" : u"׀",
u"GERSHAYIM" : u"״",
u"GERESH" : u"׳",
u"NUN HAFUKHA" : u"׆",
u"MAQAF" : u"־",
}
ACCENT = {
u"QADMA" : u"֨",
u"MERKHA" : u"֥",
u"GERESH MUQDAM" : u"֝",
u"MAHAPAKH" : u"֤",
u"MUNAH" : u"֣",
u"GERESH" : u"֜",
u"ZAQEF QATAN" : u"֔",
u"SEGOL" : u"֒",
u"ZARQA" : u"֘",
u"REVIA" : u"֗",
u"ETNAHTA" : u"֑",
u"OLE" : u"֫",
u"ILUY" : u"֬",
u"DARGA" : u"֧",
u"TEVIR" : u"֛",
u"YERAH BEN YOMO" : u"֪",
u"ATNAH HAFUKH" : u"֢",
u"DEHI" : u"֭",
u"YETIV" : u"֚",
u"QARNEY PARA" : u"֟",
u"TELISHA GEDOLA" : u"֠",
u"ZAQEF GADOL" : u"֕",
u"TELISHA QETANA" : u"֩",
u"PASHTA" : u"֙",
u"SHALSHELET" : u"֓",
u"PAZER" : u"֡",
u"MERKHA KEFULA" : u"֦",
u"GERSHAYIM" : u"֞",
u"ZINOR" : u"֮",
u"TIPEHA" : u"֖",
}
MARK = {
u"UPPER DOT" : u"ׄ",
u"MASORA CIRCLE" : u"֯",
u"LOWER DOT" : u"ׅ",
}
LETTER = {
u"FINAL KAF" : u"ך",
u"YOD" : u"י",
u"NUN" : u"נ",
u"QOF" : u"ק",
u"BET" : u"ב",
u"FINAL TSADI" : u"ץ",
u"ZAYIN" : u"ז",
u"SHIN" : u"ש",
u"AYIN" : u"ע",
u"TSADI" : u"צ",
u"MEM" : u"מ",
u"LAMED" : u"ל",
u"FINAL MEM" : u"ם",
u"VAV" : u"ו",
u"TET" : u"ט",
u"DALET" : u"ד",
u"KAF" : u"כ",
u"HET" : u"ח",
u"PE" : u"פ",
u"FINAL NUN" : u"ן",
u"SAMEKH" : u"ס",
u"ALEF" : u"א",
u"GIMEL" : u"ג",
u"HE" : u"ה",
u"RESH" : u"ר",
u"FINAL PE" : u"ף",
u"TAV" : u"ת",
}