Browse Source

Replace 'Length' with 'length'.

master
Reece H. Dunn 8 years ago
parent
commit
22935752fa

+ 2
- 2
phsource/ph_afrikaans View File

unstressed unstressed
length 140 length 140
IF nextPh(r/) THEN IF nextPh(r/) THEN
Length 190
length 190
FMT(vwl_af/r@) FMT(vwl_af/r@)
ENDIF ENDIF
FMT(vwl_af/@) FMT(vwl_af/@)
ipa ə ipa ə
length 140 length 140
IF nextPh(r/) THEN IF nextPh(r/) THEN
Length 190
length 190
FMT(vwl_af/r@) FMT(vwl_af/r@)
ENDIF ENDIF
FMT(vwl_af/I) FMT(vwl_af/I)

+ 4
- 4
phsource/ph_english_sc View File

ipa a: ipa a:
IfNextVowelAppend(r-) IfNextVowelAppend(r-)
IF nextPh(r) THEN IF nextPh(r) THEN
Length 250
length 250
FMT(vowelr/aa_r) FMT(vowelr/aa_r)
ENDIF ENDIF
FMT(vowel/a_3) FMT(vowel/a_3)
VowelStart(w/wi2) VowelStart(w/wi2)
ENDIF ENDIF
IF nextPh(isVFricative) OR nextPh(isPause) THEN IF nextPh(isVFricative) OR nextPh(isPause) THEN
Length 180
length 180
ENDIF ENDIF
FMT(vowel/i_5) FMT(vowel/i_5)
endphoneme endphoneme
ipa ʉː ipa ʉː
length 160 length 160
IF nextPh(isVFricative) THEN IF nextPh(isVFricative) THEN
Length 200
length 200
ENDIF ENDIF
IF nextPh(isPause) THEN IF nextPh(isPause) THEN
Length 200
length 200
FMT(vowel/u#_4) FMT(vowel/u#_4)
ENDIF ENDIF
FMT(vowel/u#) FMT(vowel/u#)

+ 3
- 3
phsource/ph_french View File

FMT(voc/v_) addWav(vocw/v) FMT(voc/v_) addWav(vocw/v)
ENDIF ENDIF
IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
Length 70
length 70
ELIF nextPhW(w/) OR nextPhW(#r) THEN ELIF nextPhW(w/) OR nextPhW(#r) THEN
Length 60
length 60
ENDIF ENDIF
FMT(voc/v) addWav(vocw/v, 60) FMT(voc/v) addWav(vocw/v, 60)
endphoneme endphoneme
phoneme z2 // silent unless followed by vowel phoneme z2 // silent unless followed by vowel
vcd alv frc sibilant vcd alv frc sibilant
IF nextPh(isVowel) OR nextPh(w/) OR nextPh(j) THEN IF nextPh(isVowel) OR nextPh(w/) OR nextPh(j) THEN
Length 70
length 70
FMT(voc/z) addWav(ufric/s, 40) FMT(voc/z) addWav(ufric/s, 40)
ELSE ELSE
ChangePhoneme(NULL) ChangePhoneme(NULL)

+ 1
- 1
phsource/ph_german View File

unstressed flag1 unstressed flag1
length 160 length 160
IF thisPh(isFinalVowel) THEN IF thisPh(isFinalVowel) THEN
Length 210
length 210
ENDIF ENDIF
FMT(vowel/a#_3) // in eSpeak 1.44, this used vowel/V_3 at end-of-word FMT(vowel/a#_3) // in eSpeak 1.44, this used vowel/V_3 at end-of-word
endphoneme endphoneme

+ 4
- 4
phsource/ph_irish View File

unstressed unstressed
length 110 length 110
IF nextPh(i:) THEN IF nextPh(i:) THEN
Length 80
length 80
FMT(vwl_af/r@) FMT(vwl_af/r@)
ENDIF ENDIF
IF nextPh(I) THEN IF nextPh(I) THEN
Length 80
length 80
FMT(vwl_af/r@) FMT(vwl_af/r@)
ENDIF ENDIF
IF nextPh(e:) THEN IF nextPh(e:) THEN
Length 80
length 80
FMT(vwl_af/r@) FMT(vwl_af/r@)
ENDIF ENDIF
IF prevPh(i:) THEN IF prevPh(i:) THEN
Length 60
length 60
FMT(vwl_af/r@) FMT(vwl_af/r@)
ENDIF ENDIF

+ 2
- 2
phsource/ph_italian View File



phoneme l^ phoneme l^
import_phoneme base/l^ import_phoneme base/l^
Length 130
length 130
endphoneme endphoneme


phoneme ts phoneme ts
FMT(voc/v_) addWav(vocw/v) FMT(voc/v_) addWav(vocw/v)
ENDIF ENDIF
IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
Length 70
length 70
ENDIF ENDIF
FMT(voc/v) addWav(vocw/v, 90) FMT(voc/v) addWav(vocw/v, 90)
endphoneme endphoneme

+ 2
- 2
phsource/ph_lithuanian View File

FMT(n^/_n^) FMT(n^/_n^)
ELIF nextPh(isNotVowel) THEN ELIF nextPh(isNotVowel) THEN
IF nextPhW(n^) THEN IF nextPhW(n^) THEN
Length 75
length 75
ELIF prevPhW(n^) THEN ELIF prevPhW(n^) THEN
Length 100
length 100
ENDIF ENDIF
FMT(n^/n^_) FMT(n^/n^_)
ENDIF ENDIF

+ 1
- 1
phsource/ph_romanian View File

ChangePhoneme(;) ChangePhoneme(;)
ENDIF ENDIF
IF prevPh(l;) THEN IF prevPh(l;) THEN
Length 60
length 60
FMT(vwl_ro/li) FMT(vwl_ro/li)
ENDIF ENDIF
IF prevPh(m;) THEN IF prevPh(m;) THEN

+ 29
- 29
phsource/ph_russian View File

FMT(n^/_n^) FMT(n^/_n^)
ELIF nextPh(isNotVowel) THEN ELIF nextPh(isNotVowel) THEN
IF nextPhW(n^) THEN IF nextPhW(n^) THEN
Length 75
length 75
ELIF prevPhW(n^) THEN ELIF prevPhW(n^) THEN
Length 100
length 100
ENDIF ENDIF
FMT(n^/n^_) FMT(n^/n^_)
ENDIF ENDIF
phoneme I^ // "silent i", palatilizes the preceding consonant phoneme I^ // "silent i", palatilizes the preceding consonant
vwl starttype #i endtype #i vwl starttype #i endtype #i
unstressed nonsyllabic unstressed nonsyllabic
Length 70
length 70
IF nextPh(isVowel) THEN IF nextPh(isVowel) THEN
ChangePhoneme(;) ChangePhoneme(;)
ENDIF ENDIF
ChangePhoneme(y) ChangePhoneme(y)
ENDIF ENDIF
vwl starttype #i endtype #i vwl starttype #i endtype #i
Length 50
length 50
FMT(vwl_ru/ii) FMT(vwl_ru/ii)
endphoneme endphoneme




phoneme I# phoneme I#
vwl starttype #i endtype #i vwl starttype #i endtype #i
Length 80
length 80
IF nextVowel(isMaxStress) THEN IF nextVowel(isMaxStress) THEN
ChangePhoneme(I) ChangePhoneme(I)
ENDIF ENDIF


phoneme y phoneme y
vwl starttype #i endtype #i vwl starttype #i endtype #i
Length 100
length 100
FMT(vwl_ru/i#) FMT(vwl_ru/i#)
endphoneme endphoneme




phoneme I phoneme I
vwl starttype #i endtype #i vwl starttype #i endtype #i
Length 80
length 80


IF thisPh(isMaxStress) THEN IF thisPh(isMaxStress) THEN
IF prevPhW(j) THEN IF prevPhW(j) THEN


phoneme I2 phoneme I2
vwl starttype #i endtype #i vwl starttype #i endtype #i
Length 80
length 80
IF thisPh(isMaxStress) THEN IF thisPh(isMaxStress) THEN
ChangePhoneme(e) ChangePhoneme(e)
ENDIF ENDIF


phoneme I3 phoneme I3
vwl starttype #i endtype #i vwl starttype #i endtype #i
Length 80
length 80
IF thisPh(isMaxStress) THEN IF thisPh(isMaxStress) THEN
IF prevPhW(j) THEN IF prevPhW(j) THEN
ChangePhoneme(e) ChangePhoneme(e)


phoneme E phoneme E
vwl starttype #e endtype #e vwl starttype #e endtype #e
Length 100
length 100
FMT(vwl_ru/e) FMT(vwl_ru/e)
endphoneme endphoneme




phoneme E# phoneme E#
vwl starttype #e endtype #e vwl starttype #e endtype #e
Length 100
length 100
IF thisPh(isMaxStress) THEN IF thisPh(isMaxStress) THEN
IF prevPhW(j) THEN IF prevPhW(j) THEN
ChangePhoneme(e) ChangePhoneme(e)


phoneme E2 phoneme E2
vwl starttype #e endtype #e vwl starttype #e endtype #e
Length 80
length 80
IF nextVowel(isMaxStress) THEN IF nextVowel(isMaxStress) THEN
IF prevPh(j) THEN IF prevPh(j) THEN
ChangePhoneme(I3) ChangePhoneme(I3)


phoneme E3 phoneme E3
vwl starttype #e endtype #e vwl starttype #e endtype #e
Length 80
length 80
IF nextVowel(isMaxStress) THEN IF nextVowel(isMaxStress) THEN
ChangePhoneme(I) ChangePhoneme(I)
ENDIF ENDIF


phoneme o phoneme o
vwl starttype #o endtype #o vwl starttype #o endtype #o
Length 100
length 100
ChangeIfNotStressed(V) ChangeIfNotStressed(V)
FMT(vwl_ru/o) FMT(vwl_ru/o)
endphoneme endphoneme


phoneme O phoneme O
vwl starttype #o endtype #o vwl starttype #o endtype #o
Length 80
length 80
IF prevPhW(isPalatal) THEN IF prevPhW(isPalatal) THEN
ChangePhoneme(8) ChangePhoneme(8)
ENDIF ENDIF


phoneme u phoneme u
vwl starttype #u endtype #u vwl starttype #u endtype #u
Length 80
length 80
FMT(vwl_ru/u) FMT(vwl_ru/u)
endphoneme endphoneme


phoneme u# phoneme u#
vwl starttype #u endtype #u vwl starttype #u endtype #u
Length 80
length 80
FMT(vwl_ru/u#) FMT(vwl_ru/u#)
endphoneme endphoneme


phoneme u" phoneme u"
vwl starttype #u endtype #u vwl starttype #u endtype #u
Length 150
length 150
FMT(vwl_ru/u#u) FMT(vwl_ru/u#u)
endphoneme endphoneme


phoneme 8 phoneme 8
vwl starttype #o endtype #o vwl starttype #o endtype #o
Length 100
length 100
ChangeIfNotStressed(V) ChangeIfNotStressed(V)
FMT(vwl_ru/8) FMT(vwl_ru/8)
endphoneme endphoneme


phoneme e phoneme e
vwl starttype #e endtype #e vwl starttype #e endtype #e
Length 100
length 100
IF prevPh(Z) THEN IF prevPh(Z) THEN
ChangeIfNotStressed(y) ChangeIfNotStressed(y)
ChangePhoneme(E) ChangePhoneme(E)


phoneme ju phoneme ju
vwl starttype #u endtype #u vwl starttype #u endtype #u
Length 190
length 190
FMT(vwl_ru/ju) FMT(vwl_ru/ju)
endphoneme endphoneme


phoneme ja phoneme ja
vwl starttype #i endtype #a vwl starttype #i endtype #a
IF thisPh(isMaxStress) THEN IF thisPh(isMaxStress) THEN
Length 200
length 200
FMT(vwl_ru/ja) FMT(vwl_ru/ja)
ELSE ELSE
FMT(vdiph2/ii@) FMT(vdiph2/ii@)
ENDIF ENDIF
ENDIF ENDIF


// Length 200
// length 200
// FMT(vwl_ru/ja) // FMT(vwl_ru/ja)
endphoneme endphoneme


phoneme V# phoneme V#
vwl starttype #a endtype #@ vwl starttype #a endtype #@
unstressed unstressed
Length 80
length 80
// IF nextVowel(isMaxStress) THEN // IF nextVowel(isMaxStress) THEN
// not needed? because V# is only used at end-of-word // not needed? because V# is only used at end-of-word
// ChangePhoneme(I3) // ChangePhoneme(I3)
phoneme Y // will not be used in future phoneme Y // will not be used in future
vwl starttype #u endtype #u vwl starttype #u endtype #u
unstressed unstressed
Length 140
length 140
FMT(vowel/ii#) FMT(vowel/ii#)
endphoneme endphoneme




phoneme A phoneme A
vwl starttype #a endtype #a vwl starttype #a endtype #a
Length 100
length 100
FMT(vwl_ru/a) FMT(vwl_ru/a)
endphoneme endphoneme




phoneme a phoneme a
vwl starttype #a endtype #a vwl starttype #a endtype #a
Length 100
length 100


IF prevPhW(j) THEN IF prevPhW(j) THEN
ELSE ELSE


phoneme V phoneme V
vwl starttype #a endtype #@ vwl starttype #a endtype #@
Length 80
length 80
unstressed unstressed


IF nextVowel(isMaxStress) THEN IF nextVowel(isMaxStress) THEN


phoneme a# phoneme a#
vwl starttype #a endtype #a vwl starttype #a endtype #a
Length 100
length 100
FMT(vowel/a#_3) FMT(vowel/a#_3)
endphoneme endphoneme



+ 1
- 1
phsource/ph_zh_yue View File

IfNextVowelAppend(;) IfNextVowelAppend(;)


IF nextPhW(k) OR nextPhW(N) THEN IF nextPhW(k) OR nextPhW(N) THEN
Length 150
length 150
FMT(vowel/ii) FMT(vowel/ii)
ENDIF ENDIF



+ 3
- 3
phsource/phonemes View File

FMT(n^/_n^) FMT(n^/_n^)
ELIF nextPh(isNotVowel) THEN ELIF nextPh(isNotVowel) THEN
IF nextPhW(n^) THEN IF nextPhW(n^) THEN
Length 75
length 75
ELIF prevPhW(n^) THEN ELIF prevPhW(n^) THEN
Length 100
length 100
ENDIF ENDIF
FMT(n^/n^_) FMT(n^/n^_)
ENDIF ENDIF
FMT(voc/v_) addWav(vocw/v) FMT(voc/v_) addWav(vocw/v)
ENDIF ENDIF
IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN IF thisPh(isWordStart) AND nextPhW(isLiquid) THEN
Length 70
length 70
ENDIF ENDIF
FMT(voc/v) addWav(vocw/v) FMT(voc/v) addWav(vocw/v)
endphoneme endphoneme

+ 0
- 1
src/libespeak-ng/compiledata.c View File



{ "PauseBefore", tINSTRN1, i_PAUSE_BEFORE }, { "PauseBefore", tINSTRN1, i_PAUSE_BEFORE },
{ "PauseAfter", tINSTRN1, i_PAUSE_AFTER }, { "PauseAfter", tINSTRN1, i_PAUSE_AFTER },
{ "Length", tINSTRN1, i_SET_LENGTH }, // TODO (deprecated): use 'length' instead
{ "length", tINSTRN1, i_SET_LENGTH }, { "length", tINSTRN1, i_SET_LENGTH },
{ "LongLength", tINSTRN1, i_LONG_LENGTH }, { "LongLength", tINSTRN1, i_LONG_LENGTH },
{ "LengthAdd", tINSTRN1, i_ADD_LENGTH }, { "LengthAdd", tINSTRN1, i_ADD_LENGTH },

Loading…
Cancel
Save