We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdfde98 commit 1ea6ed5Copy full SHA for 1ea6ed5
text/symbols.py
@@ -7,11 +7,12 @@
7
from text import cmudict
8
9
_pad = '_'
10
-_eos = '~'
11
-_characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!\'(),-.:;? '
+_punctuation = '!\'(),.:;? '
+_special = '-'
12
+_letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
13
14
# Prepend "@" to ARPAbet symbols to ensure uniqueness (some are the same as uppercase letters):
15
_arpabet = ['@' + s for s in cmudict.valid_symbols]
16
17
# Export all symbols:
-symbols = [_pad, _eos] + list(_characters) + _arpabet
18
+symbols = [_pad] + list(_special) + list(_punctuation) + list(_letters) + _arpabet
0 commit comments