metryki
This commit is contained in:
parent
ad1d0602b0
commit
0e503074d5
5
lines.sh
5
lines.sh
@ -3,6 +3,11 @@ wc -l wikiniews_results.tsv > lines_number.txt
|
||||
cut -f2 wikiniews_results.tsv > hypothesis.txt
|
||||
cut -f3 wikiniews_results.tsv > reference.txt
|
||||
|
||||
mv wer.txt wer1.txt
|
||||
mv srr.txt srr1.txt
|
||||
|
||||
cat wer1.txt | tail -n 6 > wer.txt
|
||||
cat srr1.txt | tail -n 6 > srr.txt
|
||||
|
||||
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn
|
||||
awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn
|
||||
|
Loading…
Reference in New Issue
Block a user