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:
+12
-4
@@ -567,7 +567,7 @@ phoneme m
|
||||
VowelStart(m/mu)
|
||||
EndSwitch
|
||||
|
||||
IF thisPh(isNotVowel) AND nextPhW(isLiquid) THEN
|
||||
IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
|
||||
FMT(m/mj)
|
||||
ELIF prevPh(isPause) THEN
|
||||
FMT(m/_m)
|
||||
@@ -596,7 +596,7 @@ phoneme n
|
||||
VowelStart(n/nu)
|
||||
EndSwitch
|
||||
|
||||
IF thisPh(isNotVowel) AND nextPhW(isLiquid) THEN
|
||||
IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
|
||||
FMT(n/nj)
|
||||
ELIF prevPh(isPause) OR prevPh(n) THEN
|
||||
FMT(n/_n)
|
||||
@@ -626,7 +626,7 @@ phoneme n.
|
||||
VowelStart(n/nu)
|
||||
EndSwitch
|
||||
|
||||
IF thisPh(isNotVowel) AND nextPhW(isLiquid) THEN
|
||||
IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
|
||||
FMT(n/nj)
|
||||
ELIF prevPh(isPause) OR prevPh(n.) THEN
|
||||
FMT(n/_nr)
|
||||
@@ -658,6 +658,11 @@ phoneme n^
|
||||
IF prevPh(isPause) THEN
|
||||
FMT(n^/_n^)
|
||||
ELIF nextPh(isNotVowel) THEN
|
||||
IF nextPhW(n^) THEN
|
||||
Length 75
|
||||
ELIF prevPhW(n^) THEN
|
||||
Length 100
|
||||
ENDIF
|
||||
FMT(n^/n^_)
|
||||
ENDIF
|
||||
endphoneme
|
||||
@@ -686,7 +691,7 @@ phoneme N
|
||||
VowelEnding(nn/inn, -40)
|
||||
ENDIF
|
||||
|
||||
IF thisPh(isNotVowel) AND nextPhW(isLiquid) THEN
|
||||
IF prevPh(isNotVowel) AND nextPhW(isLiquid) THEN
|
||||
FMT(nn/nnj)
|
||||
ELIF prevPh(isPause) THEN
|
||||
FMT(nn/_nn)
|
||||
@@ -1521,6 +1526,9 @@ include ph_esperanto
|
||||
phonemetable jbo eo
|
||||
include ph_lojban
|
||||
|
||||
phonemetable nci base2
|
||||
include ph_nahuatl
|
||||
|
||||
phonemetable fi base
|
||||
include ph_finnish
|
||||
|
||||
|
||||
Reference in New Issue
Block a user