mirror of
https://github.com/wassname/TTS.git
synced 2026-10-30 13:00:27 +08:00
Modify symbols.py not to add _arpanet
This commit is contained in:
1 parent
d4deb2716f
commit
f5a6aa974f
1 file changed
+2
-2
@@ -28,10 +28,10 @@ def make_symbols(
|
||||
sorted(list(set(phonemes))) if unique else sorted(list(phonemes))
|
||||
) # this is to keep previous models compatible.
|
||||
# Prepend "@" to ARPAbet symbols to ensure uniqueness (some are the same as uppercase letters):
|
||||
_arpabet = ["@" + s for s in _phonemes_sorted]
|
||||
# _arpabet = ["@" + s for s in _phonemes_sorted]
|
||||
# Export all symbols:
|
||||
_phonemes = [pad, eos, bos] + list(_phonemes_sorted) + list(punctuations)
|
||||
_symbols += _arpabet
|
||||
# _symbols += _arpabet
|
||||
return _symbols, _phonemes
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user