Commit
Β·
833d379
1
Parent(s):
55b21e7
Fix Normalization
Browse files- processing_moss_tts.py +1 -1
processing_moss_tts.py
CHANGED
|
@@ -95,7 +95,7 @@ def normalize_text(text: str) -> str:
|
|
| 95 |
text = re.sub(r"\{.*?\}", "", text)
|
| 96 |
|
| 97 |
# Replace decorative symbols with comma
|
| 98 |
-
decorative_chars = "
|
| 99 |
for char in decorative_chars:
|
| 100 |
text = text.replace(char, "οΌ")
|
| 101 |
|
|
|
|
| 95 |
text = re.sub(r"\{.*?\}", "", text)
|
| 96 |
|
| 97 |
# Replace decorative symbols with comma
|
| 98 |
+
decorative_chars = "γγγγοΌοΌγγγγο½"
|
| 99 |
for char in decorative_chars:
|
| 100 |
text = text.replace(char, "οΌ")
|
| 101 |
|