10 lines
463 B
Bash
10 lines
463 B
Bash
export WENET_DIR=$PWD/../../..
|
|
export BUILD_DIR=${WENET_DIR}/runtime/server/x86/build
|
|
export OPENFST_PREFIX_DIR=${BUILD_DIR}/../fc_base/openfst-subbuild/openfst-populate-prefix
|
|
export PATH=$PWD:${BUILD_DIR}:${BUILD_DIR}/kaldi:${OPENFST_PREFIX_DIR}/bin:$PATH
|
|
export PATH=$PATH:$WENET_DIR/srilm-1.7.3/bin/i686-m64
|
|
|
|
# NOTE(kan-bayashi): Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
|
|
export PYTHONIOENCODING=UTF-8
|
|
export PYTHONPATH=../../:$PYTHONPATH
|