Browse Source

Don't replace rhotic with rzd. 'rhotic' is used on r-type consonants.

master
Reece H. Dunn 8 years ago
parent
commit
bcdf6ff734
2 changed files with 2 additions and 4 deletions
  1. 1
    1
      src/libespeak-ng/compiledata.c
  2. 1
    3
      src/libespeak-ng/phoneme.c

+ 1
- 1
src/libespeak-ng/compiledata.c View File

{ "unstressed", tPHONEME_FLAG, phUNSTRESSED }, { "unstressed", tPHONEME_FLAG, phUNSTRESSED },
{ "nolink", tPHONEME_FLAG, phNOLINK }, { "nolink", tPHONEME_FLAG, phNOLINK },
{ "brkafter", tPHONEME_FLAG, phBRKAFTER }, { "brkafter", tPHONEME_FLAG, phBRKAFTER },
{ "rhotic", tPHONEME_FLAG, phRHOTIC }, // TODO (deprecated): use 'rzd' instead
{ "rhotic", tPHONEME_FLAG, phRHOTIC },
{ "nonsyllabic", tPHONEME_FLAG, phNONSYLLABIC }, // TODO (deprecated): use 'nsy' instead { "nonsyllabic", tPHONEME_FLAG, phNONSYLLABIC }, // TODO (deprecated): use 'nsy' instead
{ "lengthenstop", tPHONEME_FLAG, phLENGTHENSTOP }, { "lengthenstop", tPHONEME_FLAG, phLENGTHENSTOP },
{ "nopause", tPHONEME_FLAG, phNOPAUSE }, { "nopause", tPHONEME_FLAG, phNOPAUSE },

+ 1
- 3
src/libespeak-ng/phoneme.c View File

case vzd: case vzd:
case fzd: case fzd:
case nzd: case nzd:
// Not supported by eSpeak.
break;
case rzd: case rzd:
phoneme->phflags |= phRHOTIC;
// Not supported by eSpeak.
break; break;
// tongue root // tongue root
case atr: case atr:

Loading…
Cancel
Save