File size: 1,134 Bytes
080eb0f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1e3e7b5
 
080eb0f
1e3e7b5
080eb0f
 
1e3e7b5
080eb0f
 
1e3e7b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
VOICES = {
    # American English
    "EN🇺🇸 Heart 👩": "af_heart",
    "EN🇺🇸 Bella 👩": "af_bella",
    "EN🇺🇸 Michael 👨": "am_michael",
    "EN🇺🇸 Fenrir 👨": "am_fenrir",
    # British English
    "EN🇬🇧 Emma 👩": "bf_emma",
    "EN🇬🇧 George 👨": "bm_george",
    # Japanese
    # "JA🇯🇵 Alpha 👩": "jf_alpha",
    # "JA🇯🇵 Kumo 👨": "jm_kumo",
    # Mandarin Chinese
    "ZH🇨🇳 Xiaoni 👩": "zf_xiaoni",
    "ZH🇨🇳 Yunjian 👨": "zm_yunjian",
    # Spanish
    "ES🇪🇸 Dora 👩": "ef_dora",
    "ES🇪🇸 Alex 👨": "em_alex",
    # French
    "FR🇫🇷 Siwis 👩": "ff_siwis",
    # Hindi
    "HI🇮🇳 Beta 👩": "hf_beta",
    "HI🇮🇳 Omega 👨": "hm_omega",
    # Italian
    "IT🇮🇹 Sara 👩": "if_sara",
    "IT🇮🇹 Nicola 👨": "im_nicola",
    # Brazilian Portuguese
    "PT🇧🇷 Dora 👩": "pf_dora",
    "PT🇧🇷 Santa 👨": "pm_santa",
}

KOKORO_TO_STD_LANG = {
    "a": "en-us",
    "b": "en-gb",
    "e": "es",
    "f": "fr-fr",
    "h": "hi",
    "i": "it",
    "p": "pt-br",
    "j": "ja",
    "z": "zh",
}