Don't store the unused phoneme equivalence tables in the phoneme data files.

This commit is contained in:
Reece H. Dunn
2017-01-27 20:44:06 +00:00
parent 6c526be3c8
commit 6a0ea584ea
5 changed files with 3 additions and 89 deletions
+1 -3
View File
@@ -144,9 +144,7 @@ espeak_ng_STATUS LoadPhData(int *srate, espeak_ng_ERROR_CONTEXT *context)
n_phonemes = p[0];
phoneme_tab_list[ix].n_phonemes = p[0];
phoneme_tab_list[ix].includes = p[1];
pw = (int *)p;
phoneme_tab_list[ix].equivalence_tables = Reverse4Bytes(pw[1]);
p += 8;
p += 4;
memcpy(phoneme_tab_list[ix].name, p, N_PHONEME_TAB_NAME);
p += N_PHONEME_TAB_NAME;
phoneme_tab_list[ix].phoneme_tab_ptr = (PHONEME_TAB *)p;