Skip to content

Commit 716f558

Browse files
authored
Provide provision to pass subword separator as argument to make_position_dependent_subword_lexicon.py (#4794)
1 parent 299dadc commit 716f558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

egs/wsj/s5/utils/subword/prepare_lang_subword.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ if $position_dependent_phones; then
163163
if "$silprob"; then
164164
echo "$0: Currently we do not support word-dependent silence probability" && exit 1;
165165
else
166-
utils/lang/make_position_dependent_subword_lexicon.py $srcdir/lexiconp.txt > $tmpdir/lexiconp.txt || exit 1;
166+
utils/lang/make_position_dependent_subword_lexicon.py --separator $separator $srcdir/lexiconp.txt > $tmpdir/lexiconp.txt || exit 1;
167167
fi
168168

169169
# create $tmpdir/phone_map.txt

0 commit comments

Comments
 (0)