mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-06 08:40:54 +00:00
code cleanup: remove unnecessary voice option translator
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.
This commit is contained in:
@@ -2,7 +2,6 @@ name Latgalian
|
||||
language ltg
|
||||
maintainer Valdis Vitolins <valdis.vitolins@odo.lv>
|
||||
status testing
|
||||
translator lv // Reuse pronunciation rules from Latvian
|
||||
phonemes lv
|
||||
dictionary lv
|
||||
dictrules 2 // Setting for Latgalian pronunciation
|
||||
|
||||
@@ -3,8 +3,6 @@ name Malay
|
||||
language ms
|
||||
phonemes id
|
||||
|
||||
translator id
|
||||
|
||||
stressLength 160 200 180 180 0 0 220 240
|
||||
stressAmp 16 18 18 18 0 0 22 21
|
||||
intonation 3 // Less intonation, and comma does not raise the pitch.
|
||||
|
||||
@@ -3,7 +3,6 @@ language cmn
|
||||
language zh-cmn
|
||||
language zh
|
||||
|
||||
translator zh
|
||||
phonemes zh
|
||||
dictionary zh
|
||||
words 1
|
||||
|
||||
@@ -2,6 +2,5 @@ name Hakka Chinese
|
||||
language hak
|
||||
maintainer Chen Chien-ting <yoxem.tem98@nctu.edu.tw>
|
||||
status testing
|
||||
translator hak
|
||||
phonemes hak
|
||||
dictionary hak
|
||||
|
||||
@@ -3,7 +3,6 @@ language yue
|
||||
language zh-yue
|
||||
language zh 8
|
||||
|
||||
translator zhy
|
||||
phonemes zhy
|
||||
dictionary zhy
|
||||
|
||||
|
||||
@@ -3,6 +3,5 @@ language ms 1
|
||||
gender female
|
||||
pitch 140 260
|
||||
phonemes id
|
||||
translator id
|
||||
mbrola ma1 ma1_phtrans
|
||||
|
||||
|
||||
Reference in New Issue
Block a user