metrics
This commit is contained in:
parent
ddf597275d
commit
d3f8f8f24b
4
count.sh
4
count.sh
@ -2,8 +2,8 @@ var=$(wc -l "wikiniews_results.tsv")
|
||||
lines=${var%% *}
|
||||
echo $lines > "lines_number.txt"
|
||||
|
||||
cut -f 2 wikiniews_results.tsv > hypothesis.txt
|
||||
cut -f 3 wikiniews_results.tsv > reference.txt
|
||||
cut -f2 wikiniews_results.tsv > hypothesis.txt
|
||||
cut -f3 wikiniews_results.tsv > reference.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