mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-01 06:27:54 +00:00
Option "language <name>"already causes SelectTranslator(<name>) to be called. Having two options to do almost the same thing is unnecessary and confusing. In the long term, all options from SelectTranslator() should have a switch case in LoadVoice() so they are user configurable (see #218). If needed, a new option (maybe called "LoadOptions") could be added to load an existing voice or language file. Changes language configuration files for: hak, cmn, yue, ltg, ms, mb-ma1. No changes to users.
37 lines
666 B
Plaintext
37 lines
666 B
Plaintext
name Chinese (Mandarin)
|
|
language cmn
|
|
language zh-cmn
|
|
language zh
|
|
|
|
phonemes zh
|
|
dictionary zh
|
|
words 1
|
|
pitch 80 118
|
|
|
|
dict_min 100000
|
|
|
|
//for some dialects
|
|
|
|
//[en]: replace ng with n
|
|
//[zh]: ��������ng���n
|
|
//replace 0 N n
|
|
|
|
//[en]: replace rfx consonants
|
|
//[zh]: ��������r���l��z��er���e
|
|
//replace 0 ts.h tsh
|
|
//replace 0 ts. ts
|
|
//replace 0 s. s
|
|
//replace 0 i. i[
|
|
//replace 0 z. l
|
|
//replace 0 z. z
|
|
//replace 0 @r @
|
|
|
|
//[en]: replace beginning n or l
|
|
//[zh]: ����nl��n���l��l���n
|
|
//replace 2 n l
|
|
//replace 2 l n
|
|
|
|
//[en]: replace beginning w with v
|
|
//[zh]: w���v
|
|
//replace 0 w v
|