eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213 |
- #!/bin/sh
-
- test_ssml() {
- INPUT=$1
- echo "testing ${INPUT}"
- cp $(dirname $INPUT)/$(basename ${INPUT%.*}).expected expected.txt
- ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} \
- src/espeak-ng -m -q -v en-US --ipa=2 -f ${INPUT} > actual.txt
- diff expected.txt actual.txt || exit 1
- }
-
- for i in `ls tests/ssml/*.ssml` ; do test_ssml $i ; done
|