mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
[1.25.09] Say "dot" not "point" for 2. when not followed by another number.
lang=hu, vowel_pause=0x20, fix [A] [a:] endtypes lang=pt, "r" phonemes git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@25 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -567,7 +567,7 @@ int Translator::TranslateNumber_1(char *word, char *ph_out, unsigned int *flags,
|
||||
suppress_null = 1;
|
||||
}
|
||||
|
||||
if(word[n_digits] == langopts.decimal_sep)
|
||||
if((word[n_digits] == langopts.decimal_sep) && isdigit(word[n_digits+1]))
|
||||
{
|
||||
// this "word" ends with a decimal point
|
||||
Lookup("_dpt",ph_append);
|
||||
|
||||
Reference in New Issue
Block a user