mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
Speed increase. Added the "sonic" routines by Bill Cox to reduce the length of eSpeak's sound output data, so as to make the speaking speed faster. Ordinal numbers: Some languages (el,es) use the ordinal form of hundreds and tens part of a number, as well as the units part. Added language option NUM2_MULTIPLE_ORDINAL. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@254 d46cf337-b52f-0410-862d-fd96e6ae7743
196 lines
2.7 KiB
Plaintext
196 lines
2.7 KiB
Plaintext
|
|
|
|
//========================================================
|
|
// Norwegian
|
|
//=========================================================
|
|
|
|
|
|
// Vowels
|
|
//=======
|
|
|
|
phoneme @ // close schwa
|
|
vowel starttype #@ endtype #@
|
|
unstressed
|
|
length 120
|
|
FMT(vowel/@_4)
|
|
endphoneme
|
|
|
|
phoneme a# // open schwa
|
|
vowel starttype #@ endtype #a
|
|
unstressed
|
|
length 120
|
|
FMT(vowel/@_low)
|
|
endphoneme
|
|
|
|
phoneme I
|
|
vowel starttype #i endtype #i
|
|
length 100
|
|
IfNextVowelAppend(;)
|
|
FMT(vowel/ii_3)
|
|
endphoneme
|
|
|
|
phoneme i:
|
|
vowel starttype #i endtype #i
|
|
length 230
|
|
IfNextVowelAppend(;)
|
|
IF prevPh(w) THEN
|
|
VowelStart(w/wi2)
|
|
ENDIF
|
|
FMT(vowel/i)
|
|
endphoneme
|
|
|
|
phoneme y
|
|
vowel starttype #u endtype #u
|
|
length 120
|
|
FMT(vowel/yy)
|
|
endphoneme
|
|
|
|
phoneme y:
|
|
vowel starttype #u endtype #u
|
|
length 260
|
|
FMT(vowel/y_4)
|
|
endphoneme
|
|
|
|
phoneme W
|
|
vowel starttype #@ endtype #@
|
|
length 120
|
|
FMT(vowel/oe_2)
|
|
endphoneme
|
|
|
|
phoneme Y:
|
|
vowel starttype #@ endtype #@
|
|
length 260
|
|
FMT(vwl_no/y#)
|
|
endphoneme
|
|
|
|
|
|
phoneme E
|
|
vowel starttype #e endtype #e
|
|
length 120
|
|
ChangeIfDiminished(@)
|
|
FMT(vowel/e_mid)
|
|
endphoneme
|
|
|
|
phoneme E:
|
|
vowel starttype #e endtype #e
|
|
length 270
|
|
FMT(vowel/ee_1)
|
|
endphoneme
|
|
|
|
phoneme e:
|
|
vowel starttype #e endtype #e
|
|
length 250
|
|
FMT(vowel/e_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme a
|
|
vowel starttype #a endtype #a
|
|
length 120
|
|
FMT(vwl_no/&)
|
|
endphoneme
|
|
|
|
phoneme a:
|
|
vowel starttype #a endtype #a
|
|
length 270
|
|
FMT(vwl_no/&)
|
|
endphoneme
|
|
|
|
phoneme A
|
|
vowel starttype #a endtype #a
|
|
length 130
|
|
FMT(vowel/aa)
|
|
endphoneme
|
|
|
|
phoneme A:
|
|
vowel starttype #a endtype #a
|
|
length 280
|
|
FMT(vowel/aa)
|
|
endphoneme
|
|
|
|
phoneme O
|
|
vowel starttype #o endtype #o
|
|
length 120
|
|
FMT(vowel/oo)
|
|
endphoneme
|
|
|
|
phoneme o:
|
|
vowel starttype #o endtype #o
|
|
length 270
|
|
FMT(vowel/o_2)
|
|
endphoneme
|
|
|
|
phoneme U
|
|
vowel starttype #u endtype #u
|
|
length 120
|
|
FMT(vowel/uu_bck)
|
|
endphoneme
|
|
|
|
phoneme u:
|
|
vowel starttype #u endtype #u
|
|
length 240
|
|
FMT(vowel/u_bck)
|
|
endphoneme
|
|
|
|
|
|
phoneme u-
|
|
vowel starttype #u endtype #u
|
|
ipa ʉ
|
|
length 120
|
|
FMT(vwl_no/u#)
|
|
endphoneme
|
|
|
|
phoneme u-:
|
|
vowel starttype #u endtype #u
|
|
ipa ʉː
|
|
length 260
|
|
FMT(vwl_no/u#2)
|
|
endphoneme
|
|
|
|
|
|
// Diphthongs
|
|
//===========
|
|
phoneme AI
|
|
vowel starttype #a endtype #i
|
|
length 270
|
|
IfNextVowelAppend(;)
|
|
FMT(vdiph/0i_2)
|
|
endphoneme
|
|
|
|
phoneme aI
|
|
vowel starttype #a endtype #i
|
|
length 270
|
|
IfNextVowelAppend(;)
|
|
FMT(vdiph/ai_3)
|
|
endphoneme
|
|
|
|
phoneme OI
|
|
vowel starttype #o endtype #i
|
|
length 270
|
|
IfNextVowelAppend(;)
|
|
FMT(vdiph/ooi)
|
|
endphoneme
|
|
|
|
phoneme u-I
|
|
vowel starttype #u endtype #i
|
|
ipa ʉɪ
|
|
length 270
|
|
IfNextVowelAppend(;)
|
|
FMT(vdiph/yi)
|
|
endphoneme
|
|
|
|
phoneme Yy
|
|
vowel starttype #@ endtype #u
|
|
length 270
|
|
FMT(vwl_no/y#y)
|
|
endphoneme
|
|
|
|
|
|
phoneme aU
|
|
vowel starttype #a endtype #u
|
|
length 270
|
|
FMT(vwl_no/au-)
|
|
endphoneme
|
|
|
|
|