git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@160 d46cf337-b52f-0410-862d-fd96e6ae7743

This commit is contained in:
jonsd
2008-03-06 16:30:43 +00:00
parent eab1faff96
commit 7fa68cab0b
6 changed files with 38 additions and 36 deletions
+2 -1
View File
@@ -396,6 +396,7 @@ static char nullstring[] = {0};
else
{
EncodePhonemes(phonetic,encoded_ph,bad_phoneme);
printf("Encode: [%s] = %.2x %.2x %.2x\n",phonetic,encoded_ph[0],encoded_ph[1],encoded_ph[2]);
if(strchr(encoded_ph,phonSWITCH) != 0)
{
flag_codes[n_flag_codes++] = BITNUM_FLAG_ONLY_S; // don't match on suffixes (except 's') when switching languages
@@ -1544,7 +1545,7 @@ int CompileDictionary(const char *dsource, const char *dict_name, FILE *log, cha
fclose(f_in);
fseek(f_out,4,SEEK_SET);
fwrite(&offset_rules,4,1,f_out);
Write4Bytes(f_out,offset_rules);
fclose(f_out);
translator->LoadDictionary(dict_name,0);