File size: 738 Bytes
8c92a11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "base_config": "config/base.json",  
  "supported_model_type": [
    "Fastspeech2",
    "VITS",
    "VALLE",
    "NaturalSpeech2"
  ],
  "task_type": "tts",
  "preprocess": {
    "language": "en-us", //  espeak supports 100 languages https://github.com/espeak-ng/espeak-ng/blob/master/docs/languages.md
    // linguistic features
    "extract_phone": true,
    "phone_extractor": "espeak", // "espeak, pypinyin, pypinyin_initials_finals, lexicon (only for language=en-us right now)"
    "lexicon_path": "./text/lexicon/librispeech-lexicon.txt",
    // Directory names of processed data or extracted features
    "phone_dir": "phones",
    "use_phone": true,
    "add_blank": true
  },
  "model": {
      "text_token_num": 512,
  }

}