Add license and separate out phonemes2ids library
This commit is contained in:
parent
297921d683
commit
f38d847510
5 changed files with 691 additions and 335 deletions
12
bin/espeak-phonemizer
Executable file
12
bin/espeak-phonemizer
Executable 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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue