Browse Source

pt-br: fix voice's warnings "mbrola: Warning: r-... unkown, replaced with _-_"

E.g. for 'port' this goes through following transformations:

1. written 'port' to phonetic [p'o*@-tS] for eSpeak NG
2. espeak [*] was mapped to MBROLA [r] and [@-] was just skipped
resulting [rt] which is not allowed diphone in br1 voice.

Description of fix:
mapping phonetic [*@-] to [r2] (and skipping [@-]) makes [r2-...] which is
in diphone database. That fixed warnings:

mbrola: Warning: r-t unkown, replaced with _-_
mbrola: Warning: r-d unkown, replaced with _-_
mbrola: Warning: r-n unkown, replaced with _-_
mbrola: Warning: r-m unkown, replaced with _-_
mbrola: Warning: r-s unkown, replaced with _-_
master
Valdis Vitolins 7 years ago
parent
commit
fb73fad421
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      phsource/mbrola/ptbr

+ 1
- 0
phsource/mbrola/ptbr View File

0 ; NULL 0 NULL 0 ; NULL 0 NULL
0 g- NULL 0 NULL 0 g- NULL 0 NULL
0 @- NULL 0 NULL 0 @- NULL 0 NULL
0 * @- 0 r2
8 * j 0 r 8 * j 0 r
0 * VWL 0 r 0 * VWL 0 r
0 * NULL 0 r2 0 * NULL 0 r2

Loading…
Cancel
Save