mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-01 22:36:14 +00:00
[1.42.42]
Don't recognize space as a thousands separator if it's tab, newline, or multiple spaces. Don't recognuze space as a thousands separator if not followed by exactly 3 digits. Unrecognized HTML tags should not add a space (eg. <font> <b> inside a word). lang=hu: fixes for when numbers are ordinal. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@236 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+40
-1
@@ -1,4 +1,4 @@
|
||||
//based on "phonemes"
|
||||
|
||||
//====================================================
|
||||
// Tone Numbers
|
||||
//====================================================
|
||||
@@ -101,6 +101,45 @@ phoneme N
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme l
|
||||
liquid
|
||||
lengthmod 2
|
||||
|
||||
CALL vowelstart_l
|
||||
|
||||
IF nextPhW(#i) THEN
|
||||
VowelStart(l/li)
|
||||
ENDIF
|
||||
FMT(l/_l)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme j
|
||||
liquid palatal
|
||||
lengthmod 1
|
||||
|
||||
IF nextPh(isVowel) THEN
|
||||
NextVowelStarts
|
||||
VowelStart(j/j@)
|
||||
VowelStart(j/ja)
|
||||
VowelStart(j/je)
|
||||
VowelStart(j/ji)
|
||||
VowelStart(j/jo)
|
||||
VowelStart(j/ju)
|
||||
EndSwitch
|
||||
|
||||
VowelEnding(j/xj, -30)
|
||||
|
||||
FMT(j/_j)
|
||||
ELSE
|
||||
// no vowel follows
|
||||
Vowelout len=70
|
||||
FMT(j/j_)
|
||||
ENDIF
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
|
||||
phoneme p
|
||||
vls blb stop
|
||||
|
||||
Reference in New Issue
Block a user