Files
ChatTTS/tools/normalizer/zh.py
T
2024-10-15 15:07:22 +00:00

8 lines
188 B
Python

from typing import Callable
def normalizer_zh_tn() -> Callable[[str], str]:
from tn.chinese.normalizer import Normalizer
return Normalizer(remove_interjections=False).normalize