From e73e1a8190a678e74f9f349c3726e1be3dcd0121 Mon Sep 17 00:00:00 2001 From: Andri Karo Date: Fri, 27 Sep 2024 21:04:45 +0300 Subject: [PATCH] fix: update fstproject flag syntax --- egs/wsj/s5/utils/lang/make_unk_lm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/wsj/s5/utils/lang/make_unk_lm.sh b/egs/wsj/s5/utils/lang/make_unk_lm.sh index f3a41e1af4e..1160214faec 100755 --- a/egs/wsj/s5/utils/lang/make_unk_lm.sh +++ b/egs/wsj/s5/utils/lang/make_unk_lm.sh @@ -304,7 +304,7 @@ fstcompile $sym_opts <$dir/unk_fst_orig.txt >$dir/unk_orig.fst # a lot of final-states that have no transitions out of them. fstproject $dir/unk_orig.fst | \ fstcompose - $dir/constraint.fst | \ - fstproject --project_output=true | \ + fstproject --project_type=output | \ fstpushspecial | \ fstminimizeencoded | \ fstrmsymbols --remove-from-output=true <(echo $phone_disambig_int) >$dir/unk.fst