ORI-Muchim commited on
Commit
cbd5e09
·
1 Parent(s): 10b6559

Delete text/cleaners.py

Browse files
Files changed (1) hide show
  1. text/cleaners.py +0 -12
text/cleaners.py DELETED
@@ -1,12 +0,0 @@
1
- import re
2
- from text.korean import latin_to_hangul, number_to_hangul, divide_hangul, korean_to_lazy_ipa, korean_to_ipa
3
-
4
-
5
- def korean_cleaners(text):
6
- '''Pipeline for Korean text'''
7
- text = latin_to_hangul(text)
8
- text = number_to_hangul(text)
9
- text = divide_hangul(text)
10
- if re.match('[\u3131-\u3163]', text[-1]):
11
- text += '.'
12
- return text