mirror of
https://github.com/2noise/ChatTTS.git
synced 2026-08-29 02:10:59 +08:00
8e6e6c97f7
Co-authored-by: dragon <com888yy@gmail.com> Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
8 lines
188 B
Python
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
|