Add new char to phoneme symbols for en-gb

pull/10/head
Eren Golge 2019-01-17 15:48:37 +01:00
parent 562d73d3d1
commit 4749bc211e
1 changed files with 5 additions and 46 deletions

View File

@ -11,52 +11,11 @@ _pad = '_'
_eos = '~'
_characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!\'(),-.:;? '
_punctuations = '!\'(),-.:;? '
_phonemes = ['l',
'ɹ',
'ɜ',
'ɚ',
'k',
'u',
'ʔ',
'ð',
'ɐ',
'ɾ',
'ɑ',
'ɔ',
'b',
'ɛ',
't',
'v',
'n',
'm',
'ʊ',
'ŋ',
's',
'ʌ',
'o',
'ʃ',
'i',
'p',
'æ',
'e',
'a',
'ʒ',
' ',
'h',
'ɪ',
'ɡ',
'f',
'r',
'w',
'ɫ',
'd',
'x',
'ː',
'',
'ə',
'j',
'θ',
'z']
# 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','ː',
'','ə','j','θ','z']
_phonemes = sorted(list(set(_phonemes)))