DebasishDhal99
commited on
Commit
•
74b5170
1
Parent(s):
05a2a59
Adding Hungarian a->aw and gy->d
Browse files- hungarian.py +6 -2
hungarian.py
CHANGED
@@ -7,7 +7,9 @@ special_combs = {
|
|
7 |
"Zs" : "Ж", "zs" : "ж",
|
8 |
"Sz" : "С", "sz" : "с",
|
9 |
"Ly" : "y", "ly" : "y",
|
10 |
-
"C" : "Ц", "c"
|
|
|
|
|
11 |
}
|
12 |
|
13 |
hungarian_dict = {
|
@@ -32,7 +34,9 @@ cyrillic_equiv_dict = {
|
|
32 |
"ј" : "j" , "Ј" : "J",
|
33 |
"ю" : "yu", "Ю" : "Yu",
|
34 |
"с" : "s" , "С" : "S",
|
35 |
-
"ц" : "ts", "Ц": "Ts"
|
|
|
|
|
36 |
}
|
37 |
|
38 |
def check_special_comb(word):
|
|
|
7 |
"Zs" : "Ж", "zs" : "ж",
|
8 |
"Sz" : "С", "sz" : "с",
|
9 |
"Ly" : "y", "ly" : "y",
|
10 |
+
"C" : "Ц", "c" : "ц",
|
11 |
+
"Gy" : "Д", "gy" : "д",
|
12 |
+
"A" : "А", "a" : "а" #For the aw sound of Hungarian a sound. The value is the cyrillic а.
|
13 |
}
|
14 |
|
15 |
hungarian_dict = {
|
|
|
34 |
"ј" : "j" , "Ј" : "J",
|
35 |
"ю" : "yu", "Ю" : "Yu",
|
36 |
"с" : "s" , "С" : "S",
|
37 |
+
"ц" : "ts", "Ц" : "Ts",
|
38 |
+
"д" : "d" , "Д" : "D",
|
39 |
+
"а" : "aw", "А" : "Aw"
|
40 |
}
|
41 |
|
42 |
def check_special_comb(word):
|