File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,13 @@ PREDICTIONS="predictions"
99EVALUATIONS=" evaluations"
1010
1111# train (on small set)
12- python -u dependency-parser.py -train -i $CORPORA /train/wsj_train.first-5k.conll06 -m model -e 10
13- # python -u dependency-parser.py -train -i $CORPORA/train/wsj_train_super_small.conll06 -m model -e 1
14- # python -u dependency-parser.py -train -i $CORPORA/train/wsj_train_hyper_small.conll06 -m model -e 1
12+ # python -u dependency-parser.py -train -i $CORPORA/train/wsj_train.first-5k.conll06 -m model -e 10
1513
1614# train
17- # python -u dependency-parser.py -train -i $CORPORA/train/wsj_train.conll06 -m $MODELS/model -e 2 -decrease-alpha
15+ python -u dependency-parser.py -train -i $CORPORA /train/wsj_train.conll06 -m $MODELS /model -e 2 -decrease-alpha
1816
1917# test
2018python -u dependency-parser.py -test -i $CORPORA /dev/wsj_dev_without_head.conll06 -m model -o predicted.conll06
2119
2220# evaluate sentence based
23- python -u dependency-parser.py -ev -i predicted.conll06 -g $CORPORA /dev/wsj_dev.conll06 -o evaluation_sentence.txt
24-
25- # evaluate arc based
26- ./eval07.pl -g $CORPORA /dev/wsj_dev.conll06 -s predicted.conll06 >> evaluation.txt 2>&1
21+ python -u dependency-parser.py -ev -i predicted.conll06 -g $CORPORA /dev/wsj_dev.conll06 -o evaluation.txt
You can’t perform that action at this time.
0 commit comments