mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 06:01:53 +00:00
build: support using cainteoir-engine to create an exception dictionary for en
This commit is contained in:
@@ -16,6 +16,8 @@ src/speak
|
||||
|
||||
# espeak-data
|
||||
|
||||
dictsource/en_extra
|
||||
|
||||
espeak-data/dictsource
|
||||
espeak-data/phsource
|
||||
espeak-data/*_dict
|
||||
|
||||
@@ -44,3 +44,13 @@ espeak-data: espeakedit espeak-data-dir
|
||||
ln -sv $(PWD)/espeak-data $(HOME)/espeak-data
|
||||
src/espeakedit --compile
|
||||
|
||||
##### dictionaries:
|
||||
|
||||
en: all dictsource/en_rules dictsource/en_list
|
||||
rm -f dictsource/en_extra
|
||||
make espeak-data
|
||||
../cainteoir-engine/tests/dictionary.py --exception-dictionary > dictsource/en_extra
|
||||
make espeak-data
|
||||
../cainteoir-engine/tests/dictionary.py | grep -F fail
|
||||
wc -l dictsource/en_extra
|
||||
|
||||
|
||||
Reference in New Issue
Block a user