diff options
author | Determinant <[email protected]> | 2016-02-29 14:38:33 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2016-02-29 14:38:33 +0800 |
commit | fda1c8cf07c5130aff53775454a5f2cfc8f5d2e0 (patch) | |
tree | 2ec85df4011268c78fa5eee9c9f09f9b05eafafc /kaldi_decode/path.sh | |
parent | 239d7d8609ce4d1b5cbe7468506758d045a0995f (diff) |
save workspace
Diffstat (limited to 'kaldi_decode/path.sh')
-rwxr-xr-x | kaldi_decode/path.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kaldi_decode/path.sh b/kaldi_decode/path.sh index 5aebc72..5e9bd2a 100755 --- a/kaldi_decode/path.sh +++ b/kaldi_decode/path.sh @@ -1,5 +1,11 @@ -export KALDI_ROOT=/slfs6/users/ymz09/kaldi/ -export PATH=$PWD/utils/:$KALDI_ROOT/src/bin:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/src/fstbin/:$KALDI_ROOT/src/gmmbin/:$KALDI_ROOT/src/featbin/:$KALDI_ROOT/src/lm/:$KALDI_ROOT/src/sgmmbin/:$KALDI_ROOT/src/sgmm2bin/:$KALDI_ROOT/src/fgmmbin/:$KALDI_ROOT/src/latbin/:$KALDI_ROOT/src/nnetbin:$KALDI_ROOT/src/nnet2bin/:$KALDI_ROOT/src/kwsbin:$PWD:$PATH +### change this line to your kaldi repo +export KALDI_ROOT=/speechlab/tools/KALDI/kaldi-master/ +### the following lines should not be changed in most cases + +# setup kaldi path +[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh +export PATH=$PWD/utils/:$KALDI_ROOT/src/bin:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/bin/:$KALDI_ROOT/src/fstbin/:$KALDI_ROOT/src/gmmbin/:$KALDI_ROOT/src/featbin/:$KALDI_ROOT/src/lm/:$KALDI_ROOT/src/sgmmbin/:$KALDI_ROOT/src/sgmm2bin/:$KALDI_ROOT/src/fgmmbin/:$KALDI_ROOT/src/latbin/:$KALDI_ROOT/src/nnetbin:$KALDI_ROOT/src/nnet2bin/:$KALDI_ROOT/src/kwsbin:$PWD:$PATH export LC_ALL=C -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/slhome/ymz09/mylibs/:. +# setup luarocks path and cpath for NERV (important) +source <(../../install/bin/luarocks path) |