mirror of https://github.com/coqui-ai/TTS.git
Add new char to phoneme symbols for en-gb
This commit is contained in:
parent
562d73d3d1
commit
4749bc211e
|
@ -11,52 +11,11 @@ _pad = '_'
|
||||||
_eos = '~'
|
_eos = '~'
|
||||||
_characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!\'(),-.:;? '
|
_characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!\'(),-.:;? '
|
||||||
_punctuations = '!\'(),-.:;? '
|
_punctuations = '!\'(),-.:;? '
|
||||||
_phonemes = ['l',
|
|
||||||
'ɹ',
|
# TODO: include more phoneme characters for other languages.
|
||||||
'ɜ',
|
_phonemes = ['l','ɹ','ɜ','ɚ','k','u','ʔ','ð','ɐ','ɾ','ɑ','ɔ','b','ɛ','t','v','n','m','ʊ','ŋ','s',
|
||||||
'ɚ',
|
'ʌ','o','ʃ','i','p','æ','e','a','ʒ',' ','h','ɪ','ɡ','f','r','w','ɫ','ɬ','d','x','ː',
|
||||||
'k',
|
'ᵻ','ə','j','θ','z']
|
||||||
'u',
|
|
||||||
'ʔ',
|
|
||||||
'ð',
|
|
||||||
'ɐ',
|
|
||||||
'ɾ',
|
|
||||||
'ɑ',
|
|
||||||
'ɔ',
|
|
||||||
'b',
|
|
||||||
'ɛ',
|
|
||||||
't',
|
|
||||||
'v',
|
|
||||||
'n',
|
|
||||||
'm',
|
|
||||||
'ʊ',
|
|
||||||
'ŋ',
|
|
||||||
's',
|
|
||||||
'ʌ',
|
|
||||||
'o',
|
|
||||||
'ʃ',
|
|
||||||
'i',
|
|
||||||
'p',
|
|
||||||
'æ',
|
|
||||||
'e',
|
|
||||||
'a',
|
|
||||||
'ʒ',
|
|
||||||
' ',
|
|
||||||
'h',
|
|
||||||
'ɪ',
|
|
||||||
'ɡ',
|
|
||||||
'f',
|
|
||||||
'r',
|
|
||||||
'w',
|
|
||||||
'ɫ',
|
|
||||||
'd',
|
|
||||||
'x',
|
|
||||||
'ː',
|
|
||||||
'ᵻ',
|
|
||||||
'ə',
|
|
||||||
'j',
|
|
||||||
'θ',
|
|
||||||
'z']
|
|
||||||
|
|
||||||
_phonemes = sorted(list(set(_phonemes)))
|
_phonemes = sorted(list(set(_phonemes)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue