mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 21:58:52 +00:00
cmn now handles all latin characters as English. The old functionality of assuming latin characters are pinyin can be achieved with new language cmn-Latn-pinyin.
39 lines
745 B
Plaintext
39 lines
745 B
Plaintext
name Chinese (Mandarin, latin as English)
|
|
language cmn
|
|
language zh-cmn
|
|
language zh
|
|
|
|
phonemes cmn
|
|
dictionary cmn
|
|
words 1
|
|
pitch 80 118
|
|
|
|
dict_min 100000
|
|
|
|
dictrules 1 // interpret latin characters as English text
|
|
|
|
//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
|