mirror of
https://github.com/2noise/ChatTTS.git
synced 2026-09-01 14:55:37 +08:00
6 lines
160 B
Python
6 lines
160 B
Python
from typing import Callable
|
|
|
|
def normalizer_zh_tn() -> Callable[[str], str]:
|
|
from tn.chinese.normalizer import Normalizer
|
|
return Normalizer().normalize
|