Commit 00f359b9 authored by Dan Povey's avatar Dan Povey
Browse files

trunk: changing all the scoring scripts to use 'sctk' instead of 'sctk-2.4.0'...

trunk: changing all the scoring scripts to use 'sctk' instead of 'sctk-2.4.0' as directory name (Makefile now creates soft link).  Note: this will unfortunately break existing setups, causing users to need to recompile in tools/

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4354 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 7cc95239
......@@ -32,7 +32,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -35,7 +35,7 @@ if [ -z "$model" ] ; then
fi
ScoringProgram=$KALDI_ROOT/tools/sctk-2.4.0/bin/sclite
ScoringProgram=$KALDI_ROOT/tools/sctk/bin/sclite
[ ! -f $ScoringProgram ] && echo "Cannot find scoring program at $ScoringProgram" && exit 1;
for f in $data/char.stm $data/stm $data/glm $lang/words.txt $lang/phones/word_boundary.int \
......
......@@ -53,9 +53,9 @@ set -e
set -o pipefail
set -u
ScoringProgram=`which sclite` || ScoringProgram=$KALDI_ROOT/tools/sctk-2.4.0/bin/sclite
ScoringProgram=`which sclite` || ScoringProgram=$KALDI_ROOT/tools/sctk/bin/sclite
[ ! -x $ScoringProgram ] && echo "Cannot find scoring program at $ScoringProgram" && exit 1;
SortingProgram=`which hubscr.pl` || ScoringProgram=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
SortingProgram=`which hubscr.pl` || ScoringProgram=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -x $ScoringProgram ] && echo "Cannot find scoring program at $ScoringProgram" && exit 1;
......
......@@ -35,7 +35,7 @@ if [ -z "$model" ] ; then
fi
ScoringProgram=$KALDI_ROOT/tools/sctk-2.4.0/bin/sclite
ScoringProgram=$KALDI_ROOT/tools/sctk/bin/sclite
[ ! -f $ScoringProgram ] && echo "Cannot find scoring program at $ScoringProgram" && exit 1;
for f in $data/char.stm $data/stm $data/glm $lang/words.txt $lang/phones/word_boundary.int \
......
......@@ -52,9 +52,9 @@ set -e
set -o pipefail
set -u
ScoringProgram=`which sclite` || ScoringProgram=$KALDI_ROOT/tools/sctk-2.4.0/bin/sclite
ScoringProgram=`which sclite` || ScoringProgram=$KALDI_ROOT/tools/sctk/bin/sclite
[ ! -x $ScoringProgram ] && echo "Cannot find scoring program at $ScoringProgram" && exit 1;
SortingProgram=`which hubscr.pl` || SortingProgram=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
SortingProgram=`which hubscr.pl` || SortingProgram=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -x $ScoringProgram ] && echo "Cannot find scoring program at $ScoringProgram" && exit 1;
......
......@@ -27,7 +27,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -27,7 +27,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -29,7 +29,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -29,7 +29,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -22,7 +22,7 @@ if [ $# != 2 ]; then
exit 1;
fi
sclite=../../../tools/sctk-2.4.0/bin/sclite
sclite=../../../tools/sctk/bin/sclite
if [ ! -f $sclite ]; then
echo "The sclite program is not there. Follow the INSTALL instructions in ../../../tools";
......
......@@ -39,7 +39,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -25,7 +25,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -27,7 +27,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -29,7 +29,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -27,7 +27,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -31,7 +31,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -29,7 +29,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -27,7 +27,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -29,7 +29,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
......@@ -29,7 +29,7 @@ dir=$3
model=$dir/../final.mdl # assume model one level up from decoding dir.
hubscr=$KALDI_ROOT/tools/sctk-2.4.0/bin/hubscr.pl
hubscr=$KALDI_ROOT/tools/sctk/bin/hubscr.pl
[ ! -f $hubscr ] && echo "Cannot find scoring program at $hubscr" && exit 1;
hubdir=`dirname $hubscr`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment