Browse Source

build: support using cainteoir-engine to create an exception dictionary for en

master
Reece Dunn 14 years ago
parent
commit
8aaf248f34
2 changed files with 12 additions and 0 deletions
  1. 2
    0
      .gitignore
  2. 10
    0
      Makefile

+ 2
- 0
.gitignore View File

@@ -16,6 +16,8 @@ src/speak

# espeak-data

dictsource/en_extra

espeak-data/dictsource
espeak-data/phsource
espeak-data/*_dict

+ 10
- 0
Makefile View File

@@ -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


Loading…
Cancel
Save