File size: 420 Bytes
ee0ec3d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#!/bin/sh
sh models_list.sh | while read names path treebank ack; do
model=${names%%:*}
for mode in "raw_text" "gold_tok"; do
conllu=../ud-2.10/$treebank/$treebank-ud-test.conllu
case $mode in
raw_text) txt=${conllu%.conllu}.txt;;
*) txt=;
esac
echo $model $mode $(bash ../scripts/eval_via_server.sh $model $conllu "$txt" | tail -n+3 | awk 'BEGIN{ORS=" "}{print $1 ":" $7}')
done
done
|