Browse Source

Fix for issue #120 Allow to decrease the score in the rule by adding -

master
Valdis Vitolins 9 years ago
parent
commit
77d526102d
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/libespeak-ng/translate.h

+ 3
- 1
src/libespeak-ng/translate.h View File

@@ -182,7 +182,9 @@ extern "C"
#define RULE_NOVOWELS 29 // X no vowels up to word boundary
#define RULE_SPELLING 31 // W while spelling letter-by-letter
#define RULE_LAST_RULE 31
#define RULE_DEC_SCORE 33 // <
#define RULE_DEC_SCORE 60 // <
// codes over 32 are handled differently, in copmiledict.c:copy_rule_string(),
// therefore for < number should represent ASCII code

#define DOLLAR_UNPR 0x01
#define DOLLAR_NOPREFIX 0x02

Loading…
Cancel
Save