Add license and separate out phonemes2ids library

This commit is contained in:
Michael Hansen 2021-08-10 15:12:08 -04:00
commit f38d847510
5 changed files with 691 additions and 335 deletions

12
bin/espeak-phonemizer Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Directory of *this* script
this_dir="$( cd "$( dirname "$0" )" && pwd )"
src_dir="$(realpath "${this_dir}/..")"
venv="${src_dir}/.venv"
if [[ -d "${venv}" ]]; then
source "${venv}/bin/activate"
fi
export PYTHONPATH="${src_dir}:${PYTHONPATH}"
python3 -m espeak_phonemizer "$@"