зеркало из https://github.com/mozilla/kaldi.git
trunk: remove -T option when using cp, since it is not supported on MAC
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@5076 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Родитель
9ea424281d
Коммит
42fafb3418
|
@ -25,7 +25,8 @@ lang=data/lang
|
||||||
lang_test=data/lang_test
|
lang_test=data/lang_test
|
||||||
lang_test_tmp=data/local/lang_test_tmp/
|
lang_test_tmp=data/local/lang_test_tmp/
|
||||||
mkdir -p $lang_test_tmp
|
mkdir -p $lang_test_tmp
|
||||||
cp -rT $lang $lang_test
|
mkdir -p $lang_test
|
||||||
|
cp -r $lang/* $lang_test
|
||||||
gunzip -c $lm | utils/find_arpa_oovs.pl $lang_test/words.txt \
|
gunzip -c $lm | utils/find_arpa_oovs.pl $lang_test/words.txt \
|
||||||
> $lang_test_tmp/oovs.txt || exit 1
|
> $lang_test_tmp/oovs.txt || exit 1
|
||||||
gunzip -c $lm | \
|
gunzip -c $lm | \
|
||||||
|
|
|
@ -42,7 +42,8 @@ done
|
||||||
# Makes a copy of the original config files, as we will change the absolute path
|
# Makes a copy of the original config files, as we will change the absolute path
|
||||||
# to relative.
|
# to relative.
|
||||||
rm -rf $modeldir/conf_abs_path
|
rm -rf $modeldir/conf_abs_path
|
||||||
cp -rT $modeldir/conf $modeldir/conf_abs_path
|
mkdir -p $modeldir/conf_abs_path
|
||||||
|
cp -r $modeldir/conf/* $modeldir/conf_abs_path
|
||||||
|
|
||||||
for f in $conf_files; do
|
for f in $conf_files; do
|
||||||
[ ! -f $modeldir/conf/$f ] && \
|
[ ! -f $modeldir/conf/$f ] && \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче