paddlespeech.t2s.frontend.tone_sandhi 模块
- class paddlespeech.t2s.frontend.tone_sandhi.ToneSandhi[来源]
基础:
object方法
modified_tone(word, pos, finals)word: 分词 pos: 词性 finals: 带调韵母, [final1, ..., finaln]
pre_merge_for_modify(seg)seg: [(单词, 位置), ...]