update count and scripy
This commit is contained in:
parent
73f323afce
commit
7a5478d787
1
count.sh
1
count.sh
@ -9,7 +9,6 @@ cut -f3 $MYFILE | awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' > reference.tr
|
||||
|
||||
#wer for each line
|
||||
echo wer.txt | sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout >> wer.txt
|
||||
echo "$(tail -50 "wer.txt")" > srr.txt
|
||||
COUNT_DIFF=$(diff hypothesis.trn reference.trn | grep "^>" | wc -l)
|
||||
echo $COUNT_DIFF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user