Skip to content

Commit

Permalink
do fixes according to code review
Browse files Browse the repository at this point in the history
  • Loading branch information
huangruizhe committed Sep 21, 2018
1 parent 61d9560 commit f34449d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 112 deletions.
42 changes: 0 additions & 42 deletions egs/multi_en/s5/local/g2p/apply_g2p.sh

This file was deleted.

67 changes: 0 additions & 67 deletions egs/multi_en/s5/local/g2p/train_g2p.sh

This file was deleted.

2 changes: 0 additions & 2 deletions egs/multi_en/s5/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ if [ $stage -le 4 ]; then
cat "$lexicon" $g2p_tmp_dir/missing_lexicon.txt | sort | uniq > $expanded_lexicon
fi

exit 0

# We'll do multiple iterations of pron/sil-prob estimation. So the structure of
# the dict/lang dirs are designed as ${dict/lang_root}_${dict_affix}, where dict_affix
# is "nosp" or the name of the acoustic model we use to estimate pron/sil-probs.
Expand Down
2 changes: 1 addition & 1 deletion egs/wsj/s5/steps/dict/train_g2p_phonetisaurus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fi

if [ $stage -le 2 ]; then
# Convert aligned lexicon to arpa using make_kn_lm.py, a re-implementation of srilm's ngram-count functionality.
./steps/dict/make_kn_lm.py -ngram-order 7 -text ${wdir}/aligned_lexicon.corpus -lm ${wdir}/aligned_lexicon.arpa
./utils/lang/make_kn_lm.py -ngram-order 7 -text ${wdir}/aligned_lexicon.corpus -lm ${wdir}/aligned_lexicon.arpa
fi

if [ $stage -le 3 ]; then
Expand Down
File renamed without changes.

0 comments on commit f34449d

Please sign in to comment.