ar: move default stress rule from code to config file

This commit is contained in:
Valdis Vitolins
2018-09-11 18:02:27 +03:00
parent f86540308c
commit 26b067a68b
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
name Arabic
language ar
phonemes ar
stressRule 4
-1
View File
@@ -506,7 +506,6 @@ Translator *SelectTranslator(const char *name)
tr->transpose_max = 0x65f;
tr->transpose_map = NULL;
tr->letter_bits_offset = OFFSET_ARABIC;
tr->langopts.stress_rule = STRESSPOSN_3R;
tr->langopts.numbers = NUM_SWAP_TENS | NUM_AND_UNITS | NUM_HUNDRED_AND | NUM_OMIT_1_HUNDRED | NUM_AND_HUNDRED | NUM_THOUSAND_AND | NUM_OMIT_1_THOUSAND;
tr->langopts.param[LOPT_UNPRONOUNCABLE] = 1; // disable check for unpronouncable words
tr->encoding = ESPEAKNG_ENCODING_ISO_8859_6;