Skip to content

Commit

Permalink
fix bug in biaobei processing
Browse files Browse the repository at this point in the history
  • Loading branch information
yerfor committed May 12, 2022
1 parent 6f5fed7 commit 8e4249e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data_gen/tts/txt_processors/zh.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ def process(cls, txt, pre_align_args):
if ph == '|' or ph == '#':
i += 1
continue
elif ph in [',', '.']:
i += 1
txt_struct[i][1].append(ph)
i += 1
continue
txt_struct[i][1].append(ph)
# return ph_list, txt
txt_struct.insert(0, ['<BOS>', ['<BOS>']])
Expand Down

0 comments on commit 8e4249e

Please sign in to comment.