You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/runtime/examples/custom_asr/path.sh

18 lines
635 B

# This contains the locations of binarys build required for running the examples.
MAIN_ROOT=`realpath $PWD/../../../`
RUNTIME_ROOT=`realpath $MAIN_ROOT/runtime`
RUNTIME_EXAMPLES=$RUNTIME_ROOT/build/examples
export LC_AL=C
# srilm
export LIBLBFGS=${MAIN_ROOT}/tools/liblbfgs-1.10
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-}:${LIBLBFGS}/lib/.libs
export SRILM=${MAIN_ROOT}/tools/srilm
# kaldi lm
KALDI_DIR=$RUNTIME_ROOT/build/engine/kaldi/
OPENFST_DIR=$RUNTIME_ROOT/fc_patch/openfst-build/src
export PATH=${PATH}:${SRILM}/bin:${SRILM}/bin/i686-m64:$KALDI_DIR/lmbin:$KALDI_DIR/fstbin:$OPENFST_DIR/bin:$SPEECHX_EXAMPLES/ds2_ol/decoder