Browse Source

Allow 'apr liquid' to be used together in a phoneme.

master
Reece H. Dunn 8 years ago
parent
commit
901bc0d1ba
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      src/libespeak-ng/compiledata.c

+ 6
- 2
src/libespeak-ng/compiledata.c View File

@@ -2020,8 +2020,12 @@ int CompilePhoneme(int compile_phoneme)
switch (item_type)
{
case tPHONEME_TYPE:
if (phoneme_out->type != phINVALID)
error("More than one phoneme type: %s", item_string);
if (phoneme_out->type != phINVALID) {
if (phoneme_out->type == phFRICATIVE && keyword == phLIQUID)
; // apr liquid => ok
else
error("More than one phoneme type: %s", item_string);
}
phoneme_out->type = keyword;
break;
case tPHONEME_FLAG:

Loading…
Cancel
Save