Skip to content

Commit

Permalink
[scripts] steps/dict/learn_lexicon.sh: minor fixes (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorinars authored and danpovey committed Jan 30, 2017
1 parent 9d53e05 commit da59179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions egs/wsj/s5/steps/dict/learn_lexicon.sh
Expand Up @@ -43,7 +43,7 @@ prior_counts_tot=15
prior_mean="0.7,0.2,0.1"
num_gauss=
num_leaves=
retrain_src_mdl=true
retrain_src_mdl=false

cleanup=true
# End configuration section.
Expand Down Expand Up @@ -251,7 +251,7 @@ if [ $stage -le 2 ]; then
cat - $dir/non_scored_entries | \
sort | uniq > $dir/dict_expanded_train/lexicon.txt || exit 1;

utils/prepare_lang.sh $dir/dict_expanded_train "$oov_symbol" \
utils/prepare_lang.sh --phone-symbol-table $ref_lang/phones.txt $dir/dict_expanded_train "$oov_symbol" \
$dir/lang_expanded_train_tmp $dir/lang_expanded_train || exit 1;
fi

Expand Down

0 comments on commit da59179

Please sign in to comment.