Spaces:
Running
Running
ORI-Muchim
commited on
Commit
•
8ddf627
1
Parent(s):
e26f054
Update text/korean.py
Browse files- text/korean.py +0 -7
text/korean.py
CHANGED
@@ -92,13 +92,6 @@ def latin_to_hangul(text):
|
|
92 |
return text
|
93 |
|
94 |
|
95 |
-
def divide_hangul(text):
|
96 |
-
text = j2hcj(h2j(text))
|
97 |
-
for regex, replacement in _hangul_divided:
|
98 |
-
text = re.sub(regex, replacement, text)
|
99 |
-
return text
|
100 |
-
|
101 |
-
|
102 |
def hangul_number(num, sino=True):
|
103 |
'''Reference https://github.com/Kyubyong/g2pK'''
|
104 |
num = re.sub(',', '', num)
|
|
|
92 |
return text
|
93 |
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
def hangul_number(num, sino=True):
|
96 |
'''Reference https://github.com/Kyubyong/g2pK'''
|
97 |
num = re.sub(',', '', num)
|