Add phoneme counts
This commit is contained in:
parent
38f1f4e126
commit
297921d683
3 changed files with 92 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ class Phonemizer:
|
|||
espeakCHARS_AUTO = 0
|
||||
espeakPHONEMES = 0x100
|
||||
|
||||
LANG_SWITCH_FLAG = re.compile(r"\([^)]+\)")
|
||||
LANG_SWITCH_FLAG = re.compile(r"\([^)]*\)")
|
||||
|
||||
DEFAULT_CLAUSE_BREAKERS = {",", ";", ":", ".", "!", "?"}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue