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.
18 lines
635 B
18 lines
635 B
3 years ago
|
# This contains the locations of binarys build required for running the examples.
|
||
|
|
||
|
MAIN_ROOT=`realpath $PWD/../../../`
|
||
2 years ago
|
RUNTIME_ROOT=`realpath $MAIN_ROOT/runtime`
|
||
|
RUNTIME_EXAMPLES=$RUNTIME_ROOT/build/examples
|
||
3 years ago
|
|
||
|
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
|
||
2 years ago
|
KALDI_DIR=$RUNTIME_ROOT/build/engine/kaldi/
|
||
|
OPENFST_DIR=$RUNTIME_ROOT/fc_patch/openfst-build/src
|
||
3 years ago
|
export PATH=${PATH}:${SRILM}/bin:${SRILM}/bin/i686-m64:$KALDI_DIR/lmbin:$KALDI_DIR/fstbin:$OPENFST_DIR/bin:$SPEECHX_EXAMPLES/ds2_ol/decoder
|