Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LINAGORA
L
LGS
Labs
kaldi-modelgen
Commits
32bf3de9
Commit
32bf3de9
authored
Mar 20, 2017
by
Abdelwahab HEBA
Browse files
rename: <UNK> ===> <unk> for unkown word
parent
17406d11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
local/score.sh
local/score.sh
+1
-1
No files found.
local/score.sh
View file @
32bf3de9
...
...
@@ -55,7 +55,7 @@ done
for
wip
in
$(
echo
$word_ins_penalty
|
sed
's/,/ /g'
)
;
do
$cmd
LMWT
=
$min_lmwt
:
$max_lmwt
$dir
/scoring/log/score.LMWT.
$wip
.log
\
cat
$dir
/scoring/LMWT.
$wip
.tra
\|
\
utils/int2sym.pl
-f
2-
$symtab
\|
sed
's:\<
UNK
\>::g'
\|
\
utils/int2sym.pl
-f
2-
$symtab
\|
sed
's:\<
unk
\>::g'
\|
\
compute-wer
--text
--mode
=
present
\
ark:
$dir
/scoring/test_filt.txt ark,p:-
">&"
$dir
/wer_LMWT_
$wip
||
exit
1
;
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment