[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:
jonsd
2007-05-26 11:34:31 +00:00
parent 42303257fd
commit 2ae90a2548
22 changed files with 220 additions and 154 deletions
+1 -1
View File
@@ -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);