Skip to content

Commit

Permalink
[egs] Fix issue in egs/csj/s5/local/csj_data_prep.sh (failure if run …
Browse files Browse the repository at this point in the history
…twice) (#2682)
  • Loading branch information
tekezo authored and danpovey committed Sep 5, 2018
1 parent 638566b commit 7531b6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion egs/csj/s5/local/csj_data_prep.sh
Expand Up @@ -45,7 +45,9 @@ if [ ! -d $CSJ ]; then
fi

# CSJ dictionary file check
[ ! -f $dir/lexicon.txt ] && cp $CSJ/lexicon/lexicon.txt $dir || exit 1;
if [ ! -f $dir/lexicon.txt ]; then
cp $CSJ/lexicon/lexicon.txt $dir || exit 1;
fi

### Config of using wav data that relates with acoustic model training ###
if [ $mode -eq 3 ]
Expand Down

0 comments on commit 7531b6b

Please sign in to comment.