We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a662e8f commit 741d48bCopy full SHA for 741d48b
nemo2riva/patches/tts/general.py
@@ -102,7 +102,7 @@ def generate_vocab_mapping_arpabet(labels):
102
103
def generate_vocab_mapping_ipa(labels):
104
# Only support English IPA dict
105
- VALID_NON_ALNUM_IPA_TOKENS = ['ˈ', 'ˌ']
+ VALID_NON_ALNUM_IPA_TOKENS = ['ˈ', 'ˌ', 'ː']
106
mapping = []
107
for idx, token in enumerate(labels):
108
if token in VALID_NON_ALNUM_IPA_TOKENS or (str.isalnum(token) and str.islower(token)):
0 commit comments