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 b091fdf commit 3884947Copy full SHA for 3884947
utils/phoneme_utils.py
@@ -106,9 +106,8 @@ def __init__(
106
if not has_assigned:
107
merged_group = sorted(merged_groups[merged_phonemes_inverted_index[phoneme]])
108
merged_from_langs = {
109
- alias.split('/', maxsplit=1)[0]
+ (alias.split('/', maxsplit=1)[0] if '/' in alias else None)
110
for alias in merged_group
111
- if '/' in alias
112
}
113
id_to_phone.append(tuple(merged_group))
114
idx += 1
0 commit comments