Browse Source

[hebrew] Fix numbers reading

Example for number reading after fix:
23 -> esR,imv,eSal'oS
23.4 -> esR,imv,eSal'oS nekud'a aRb'a?
23.45 -> esR,imv,eSal'oS nekud'a aRba?,imv,eXam'eS
23.456 -> esR,imv,eSal'oS nekud'a aRb'a? Xam'eS S'eS?
master
Eyal Cohen 4 weeks ago
parent
commit
cf22f498fd
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/libespeak-ng/tr_languages.c

+ 1
- 0
src/libespeak-ng/tr_languages.c View File

case L('h','e'): // Hebrew case L('h','e'): // Hebrew
{ {
tr->langopts.param[LOPT_APOSTROPHE] = 2; // bit 1 Apostrophe at end of word is part of the word, for words like בָּגָאז׳ tr->langopts.param[LOPT_APOSTROPHE] = 2; // bit 1 Apostrophe at end of word is part of the word, for words like בָּגָאז׳
tr->langopts.numbers = NUM_SINGLE_STRESS | NUM_DFRACTION_2 | NUM_AND_UNITS | NUM_HUNDRED_AND | NUM_SINGLE_AND;
} }
break; break;
case L('g', 'a'): // irish case L('g', 'a'): // irish

Loading…
Cancel
Save