mirror of
https://github.com/malarinv/tacotron2
synced 2026-03-08 01:32:35 +00:00
text/__init__.py: remove stop token
This commit is contained in:
@@ -37,8 +37,6 @@ def text_to_sequence(text, cleaner_names):
|
|||||||
sequence += _arpabet_to_sequence(m.group(2))
|
sequence += _arpabet_to_sequence(m.group(2))
|
||||||
text = m.group(3)
|
text = m.group(3)
|
||||||
|
|
||||||
# Append EOS token
|
|
||||||
sequence.append(_symbol_to_id['~'])
|
|
||||||
return sequence
|
return sequence
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user