mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
don't replace brackets as that is handled in misaki
This commit is contained in:
parent
906cf77a65
commit
f415ce7109
1 changed files with 0 additions and 1 deletions
|
@ -270,7 +270,6 @@ def normalize_text(text: str,normalization_options: NormalizationOptions) -> str
|
|||
text = text.replace(chr(8216), "'").replace(chr(8217), "'")
|
||||
text = text.replace("«", chr(8220)).replace("»", chr(8221))
|
||||
text = text.replace(chr(8220), '"').replace(chr(8221), '"')
|
||||
text = text.replace("(", "«").replace(")", "»")
|
||||
|
||||
# Handle CJK punctuation and some non standard chars
|
||||
for a, b in zip("、。!,:;?–", ",.!,:;?-"):
|
||||
|
|
Loading…
Add table
Reference in a new issue