зеркало из https://github.com/mozilla/kaldi.git
Merge pull request #631 from jtrmal/path_sh_fix2
moving the src/path.sh into tools/config/common_path.sh
This commit is contained in:
Коммит
753c6be888
|
@ -1,8 +1,8 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
||||
LMBIN=$KALDI_ROOT/tools/irstlm/bin
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe_v2.5:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/bin/:$KALDI_ROOT/tools/kaldi_lm/:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
||||
BEAMFORMIT=$KALDI_ROOT/tools/BeamformIt-3.51
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export PATH=$PATH:/usr/local/cuda/bin
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/lib:/usr/local/lib64:/usr/local/cuda/bin/nvcc
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/bin/:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../../
|
||||
export PWD=`pwd`
|
||||
export PATH=$KALDI_ROOT/src/ivectorbin:$PWD/stanford-utils:$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$KALDI_ROOT/tools/kaldi_lm:$KALDI_ROOT/tools/srilm/bin:$KALDI_ROOT/tools/srilm/bin/i686-m64:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=$(pwd)/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=$(pwd)/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
#export KALDI_ROOT=/home/dpovey/kaldi-trunk-test
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
||||
# we use this both in the (optional) LM training and the G2P-related scripts
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe_v2.5:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe_v2.5:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe_v2.5:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe_v2.5:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/sph2pipe_v2.5:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -3,8 +3,8 @@ export KALDI_ROOT=`pwd`/../../..
|
|||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
#export PATH=$PWD/utils/:$PWD/steps/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
||||
DATA_DIR=$PWD/data
|
||||
|
|
|
@ -2,7 +2,7 @@ export KALDI_ROOT=`pwd`/../../..
|
|||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
#export KALDI_ROOT=/home/dpovey/kaldi-trunk-test
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
export MKL_NUM_THREADS=16
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH:$KALDI_ROOT/tools/sph2pipe_v2.5
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/bin/:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
|
||||
# VoxForge data will be stored in:
|
||||
export DATA_ROOT="/home/dpovey/kaldi-clean/egs/voxforge/s5/voxforge" # e.g. something like /media/secondary/voxforge
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils:$PWD/steps:$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/bin/:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
||||
# adding Kaldi binaries to path
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$KALDI_ROOT/tools/openfst/bin:$KALDI_ROOT/tools/irstlm/bin/:$PWD:$PWD/utils:$PWD/steps:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
export KALDI_ROOT=`pwd`/../../..
|
||||
[ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh
|
||||
export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH
|
||||
[ ! -f $KALDI_ROOT/src/path.sh ] && echo >&2 "The standard file $KALDI_ROOT/src/path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/src/path.sh
|
||||
[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1
|
||||
. $KALDI_ROOT/tools/config/common_path.sh
|
||||
export LC_ALL=C
|
||||
|
||||
|
||||
|
|
25
src/path.sh
25
src/path.sh
|
@ -1,25 +0,0 @@
|
|||
# we are using BASH_SOURCE[0], because its set correctly even when the file
|
||||
# is sourced.
|
||||
# The formatting of the path export command is intentionally weird, because
|
||||
# this allows for easy diff'ing
|
||||
this_script_path=$(readlink -f "${BASH_SOURCE[0]}")
|
||||
my_kaldi_src=$(dirname $this_script_path)
|
||||
export PATH=\
|
||||
$my_kaldi_src/bin:\
|
||||
$my_kaldi_src/chainbin:\
|
||||
$my_kaldi_src/featbin:\
|
||||
$my_kaldi_src/fgmmbin:\
|
||||
$my_kaldi_src/fstbin:\
|
||||
$my_kaldi_src/gmmbin:\
|
||||
$my_kaldi_src/ivectorbin:\
|
||||
$my_kaldi_src/kwsbin:\
|
||||
$my_kaldi_src/latbin:\
|
||||
$my_kaldi_src/lmbin:\
|
||||
$my_kaldi_src/nnet2bin:\
|
||||
$my_kaldi_src/nnet3bin:\
|
||||
$my_kaldi_src/nnetbin:\
|
||||
$my_kaldi_src/online2bin:\
|
||||
$my_kaldi_src/onlinebin:\
|
||||
$my_kaldi_src/sgmm2bin:\
|
||||
$my_kaldi_src/sgmmbin:\
|
||||
$PATH
|
|
@ -0,0 +1,23 @@
|
|||
# we assume KALDI_ROOT is already defined
|
||||
[ -z "$KALDI_ROOT" ] && echo "The variable KALDI_ROOT must be already defined" && exit 1
|
||||
# The formatting of the path export command is intentionally weird, because
|
||||
# this allows for easy diff'ing
|
||||
export PATH=\
|
||||
${KALDI_ROOT}/src/bin:\
|
||||
${KALDI_ROOT}/src/chainbin:\
|
||||
${KALDI_ROOT}/src/featbin:\
|
||||
${KALDI_ROOT}/src/fgmmbin:\
|
||||
${KALDI_ROOT}/src/fstbin:\
|
||||
${KALDI_ROOT}/src/gmmbin:\
|
||||
${KALDI_ROOT}/src/ivectorbin:\
|
||||
${KALDI_ROOT}/src/kwsbin:\
|
||||
${KALDI_ROOT}/src/latbin:\
|
||||
${KALDI_ROOT}/src/lmbin:\
|
||||
${KALDI_ROOT}/src/nnet2bin:\
|
||||
${KALDI_ROOT}/src/nnet3bin:\
|
||||
${KALDI_ROOT}/src/nnetbin:\
|
||||
${KALDI_ROOT}/src/online2bin:\
|
||||
${KALDI_ROOT}/src/onlinebin:\
|
||||
${KALDI_ROOT}/src/sgmm2bin:\
|
||||
${KALDI_ROOT}/src/sgmmbin:\
|
||||
$PATH
|
Загрузка…
Ссылка в новой задаче