mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
code cleanup: remove dead code related to language 'wo'
This is the only reference to the language.
This commit is contained in:
@@ -1,124 +0,0 @@
|
||||
|
||||
phoneme @ // Schwa, can be stressed
|
||||
vwl starttype #@ endtype #@
|
||||
length 140
|
||||
FMT(vowel/@)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme @:
|
||||
vwl starttype #@ endtype #@
|
||||
length 270
|
||||
FMT(vowel/@)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme i
|
||||
vwl starttype #i endtype #i
|
||||
length 140
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/ii_6)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme i:
|
||||
vwl starttype #i endtype #i
|
||||
length 270
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/i)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme e
|
||||
vwl starttype #e endtype #e
|
||||
length 140
|
||||
FMT(vowel/e)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme e:
|
||||
vwl starttype #e endtype #e
|
||||
length 270
|
||||
FMT(vowel/e)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme E
|
||||
vwl starttype #e endtype #e
|
||||
length 140
|
||||
FMT(vowel/ee_5)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme E:
|
||||
vwl starttype #e endtype #e
|
||||
length 270
|
||||
FMT(vowel/ee_5)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a
|
||||
vwl starttype #a endtype #a
|
||||
length 140
|
||||
FMT(vowel/a#)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a:
|
||||
vwl starttype #a endtype #a
|
||||
length 270
|
||||
FMT(vowel/a_6)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme O
|
||||
vwl starttype #o endtype #o
|
||||
length 140
|
||||
FMT(vowel/oo)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme O:
|
||||
vwl starttype #o endtype #o
|
||||
length 270
|
||||
FMT(vowel/oo)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme o
|
||||
vwl starttype #o endtype #o
|
||||
length 140
|
||||
FMT(vowel/o)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme o:
|
||||
vwl starttype #o endtype #o
|
||||
length 270
|
||||
FMT(vowel/o)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme u
|
||||
vwl starttype #u endtype #u
|
||||
length 140
|
||||
FMT(vowel/u_2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme u:
|
||||
vwl starttype #u endtype #u
|
||||
length 270
|
||||
FMT(vowel/u)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
// Consonants
|
||||
|
||||
phoneme s2 // second part of geminated [s:]
|
||||
import_phoneme consonants/s2
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
@@ -1817,9 +1817,6 @@ include ph_tatar
|
||||
phonemetable vi base1
|
||||
include ph_vietnam
|
||||
|
||||
phonemetable wo base1
|
||||
include ph_wolof
|
||||
|
||||
phonemetable yue base1
|
||||
include ph_yue
|
||||
|
||||
|
||||
@@ -1564,10 +1564,6 @@ Translator *SelectTranslator(const char *name)
|
||||
|
||||
}
|
||||
break;
|
||||
case L('w', 'o'):
|
||||
tr->langopts.stress_rule = STRESSPOSN_1L;
|
||||
tr->langopts.numbers = NUM_AND_UNITS | NUM_HUNDRED_AND | NUM_OMIT_1_HUNDRED | NUM_OMIT_1_THOUSAND | NUM_SINGLE_STRESS;
|
||||
break;
|
||||
case L3('s', 'h', 'n'):
|
||||
tr->langopts.tone_language = 1; // Tone language, use CalcPitches_Tone() rather than CalcPitches()
|
||||
tr->langopts.length_mods0 = tr->langopts.length_mods; // don't lengthen vowels in the last syllable
|
||||
|
||||
Reference in New Issue
Block a user