Skip to content

Commit

Permalink
Merge pull request #4841 from pyf98/pyf98-patch-1
Browse files Browse the repository at this point in the history
Fix argument parsing for non_linguistic_symbols in asr.sh
  • Loading branch information
mergify[bot] committed Dec 29, 2022
2 parents 2d67718 + 161ceb2 commit bdd7ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs2/TEMPLATE/asr1/asr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ if ! "${skip_eval}"; then
_opts="--token_type ${_tok_type} "
if [ "${_tok_type}" = "char" ] || [ "${_tok_type}" = "word" ]; then
_type="${_tok_type:0:1}er"
_opts+="--non_linguistic_symbols \"${nlsyms_txt}\" "
_opts+="--non_linguistic_symbols ${nlsyms_txt} "
_opts+="--remove_non_linguistic_symbols true "

elif [ "${_tok_type}" = "bpe" ]; then
Expand Down

0 comments on commit bdd7ab6

Please sign in to comment.