linxiaolong01 commited on
Commit ·
5dc020e
1
Parent(s): 86e21e1
Add some filev4
Browse files- .DS_Store +0 -0
- monotonic_align/.DS_Store +0 -0
- text/cleaners.py +8 -8
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
monotonic_align/.DS_Store
CHANGED
|
Binary files a/monotonic_align/.DS_Store and b/monotonic_align/.DS_Store differ
|
|
|
text/cleaners.py
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
import re
|
| 2 |
from text.japanese import japanese_to_romaji_with_accent, japanese_to_ipa, japanese_to_ipa2, japanese_to_ipa3
|
| 3 |
-
from text.korean import latin_to_hangul, number_to_hangul, divide_hangul, korean_to_lazy_ipa, korean_to_ipa
|
| 4 |
-
from text.mandarin import number_to_chinese, chinese_to_bopomofo, latin_to_bopomofo, chinese_to_romaji, chinese_to_lazy_ipa, chinese_to_ipa, chinese_to_ipa2
|
| 5 |
-
from text.sanskrit import devanagari_to_ipa
|
| 6 |
-
from text.english import english_to_lazy_ipa, english_to_ipa2, english_to_lazy_ipa2
|
| 7 |
-
from text.thai import num_to_thai, latin_to_thai
|
| 8 |
-
from text.shanghainese import shanghainese_to_ipa
|
| 9 |
-
from text.cantonese import cantonese_to_ipa
|
| 10 |
-
from text.ngu_dialect import ngu_dialect_to_ipa
|
| 11 |
|
| 12 |
|
| 13 |
def japanese_cleaners(text):
|
|
|
|
| 1 |
import re
|
| 2 |
from text.japanese import japanese_to_romaji_with_accent, japanese_to_ipa, japanese_to_ipa2, japanese_to_ipa3
|
| 3 |
+
# from text.korean import latin_to_hangul, number_to_hangul, divide_hangul, korean_to_lazy_ipa, korean_to_ipa
|
| 4 |
+
# from text.mandarin import number_to_chinese, chinese_to_bopomofo, latin_to_bopomofo, chinese_to_romaji, chinese_to_lazy_ipa, chinese_to_ipa, chinese_to_ipa2
|
| 5 |
+
# from text.sanskrit import devanagari_to_ipa
|
| 6 |
+
# from text.english import english_to_lazy_ipa, english_to_ipa2, english_to_lazy_ipa2
|
| 7 |
+
# from text.thai import num_to_thai, latin_to_thai
|
| 8 |
+
# from text.shanghainese import shanghainese_to_ipa
|
| 9 |
+
# from text.cantonese import cantonese_to_ipa
|
| 10 |
+
# from text.ngu_dialect import ngu_dialect_to_ipa
|
| 11 |
|
| 12 |
|
| 13 |
def japanese_cleaners(text):
|