Browse Source

Merge branch 'upstream' into development

Conflicts:
	dictsource/dict_phonemes
master
Reece H. Dunn 11 years ago
parent
commit
b64beb8b23
5 changed files with 35 additions and 34 deletions
  1. 11
    10
      dictsource/en_list
  2. 3
    3
      dictsource/en_rules
  3. 1
    1
      dictsource/ta_rules
  4. 2
    17
      phsource/ph_tamil
  5. 18
    3
      src/compiledict.cpp

+ 11
- 10
dictsource/en_list View File

@@ -500,16 +500,16 @@ _17 s'Ev@nti:n
?7 _17 s'@v@nti:n
_18 'eIti:n
_19 n'aInti:n
_2X tw'Ent2i
_3X T'3:ti
?5 _3X T'IRti
_4X f'o@ti
_5X f'Ifti
_6X s'Iksti
_7X s'Ev@nti
?7 _7X s'@v@nti
_8X 'eIti
_9X n'aInti
_2X tw'Ent2i||
_3X T'3:ti||
?5 _3X T'IRti||
_4X f'o@ti||
_5X f'Ifti||
_6X s'Iksti||
_7X s'Ev@nti||
?7 _7X s'@v@nti||
_8X 'eIti||
_9X n'aInti||

_0C h'Vndr@d
_0M1 T'aUz@nd
@@ -4735,6 +4735,7 @@ Zoë zoUi
Acura akjUr@
Advil advIl
Allgemeine alg@maIm@
Andagakavi anda#ga#kka#v%i // a Tamil keyboard
Andromeda andr'0mId@
Aquino a#ki:noU
Asimov azI#m0f

+ 3
- 3
dictsource/en_rules View File

@@ -3293,8 +3293,8 @@ _it_separ) ate (_ @t
_t) ia i:@
XC) ia (_ i@
&) iac (_ =Iak
&) ian (_S1 n
&) ians (_S2 nz
&) ian (_NS1 n
&) ians (_NS2 nz

C) iar aI3
?8 C) iar aIa#
@@ -4842,7 +4842,7 @@ multip) ly laI
?!3 _h) or (o 0r
orr (_ o@
or (r 0
?3 or (r O:
?3 or (r O@
bb) or (n 3
f) oreign 0r@n
f) or (ever 3

+ 1
- 1
dictsource/ta_rules View File

@@ -3966,6 +3966,7 @@ _பெனசீர்_) ப (ுட்டோ b


//sort
_மனோ) ப்ப (ல bbV
_குங்) ப fV#
_நீர்) ப pV#
_ப்ரூ) ப fV#
@@ -4756,7 +4757,6 @@ _கூட்டு) ப்பி (ரார்த்தனை pp
_வடை) ப்பி (ரிய pp
_கஜ) ப்ப (ிருஷ்ட bb
L03) ப்பி (ரேத pp
L03) ப்பி (ரேத pp
L03) ப்பி (ரேரணை pp
_ஹ) ப்ப (ிள bb
_க்ள) ப்ப (ுகள bb

+ 2
- 17
phsource/ph_tamil View File

@@ -165,22 +165,7 @@ phoneme z.
endphoneme

phoneme r
liquid rhotic
lengthmod 3
IF thisPh(isWordEnd) THEN
CALL base/r/
ENDIF
IF prevPhW(isVowel) THEN
IF nextPhW(isNotVowel) THEN
ChangePhoneme(**)
ENDIF

ChangePhoneme(*)
ENDIF
CALL base/r
ipa ɾ
import_phoneme base/r
endphoneme



+ 18
- 3
src/compiledict.cpp View File

@@ -915,7 +915,7 @@ static char rule_phonemes[80];
static char group_name[LEN_GROUP_NAME+1];
static int group3_ix;

#define N_RULES 2000 // max rules for each group
#define N_RULES 3000 // max rules for each group



@@ -1681,6 +1681,7 @@ static int compile_dictrules(FILE *f_in, FILE *f_out, char *fname_temp)
int count=0;
int different;
int wc;
int err_n_rules=0;
const char *prev_rgroup_name;
unsigned int char_code;
int compile_mode=0;
@@ -1726,6 +1727,7 @@ static int compile_dictrules(FILE *f_in, FILE *f_out, char *fname_temp)
count += n_rules;
}
n_rules = 0;
err_n_rules = 0;

if(compile_mode == 2)
{
@@ -1808,9 +1810,22 @@ static int compile_dictrules(FILE *f_in, FILE *f_out, char *fname_temp)
{
case 1: // .group
prule = compile_rule(buf);
if((prule != NULL) && (n_rules < N_RULES))
if(prule != NULL)
{
rules[n_rules++] = prule;
if(n_rules < N_RULES)
{
rules[n_rules++] = prule;
}
else
{
if(err_n_rules == 0)
{
fprintf(stderr, "\nExceeded limit of rules (%d) in group '%s'\n", N_RULES, group_name);
error_count++;
err_n_rules = 1;
}
}

}
break;


Loading…
Cancel
Save