Skip to content

Commit a4f6ea0

Browse files
committed
Removed useless print
1 parent 9a07f5c commit a4f6ea0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

modules/perceptron.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def structured_perceptron(graph, feat_map, rev_feat_map, weight_vector, correct,
4242
errors += 1
4343

4444
if make_graph_compareable(y_predicted) == make_graph_compareable(y_gold):
45-
print "yes"
4645
if tmp_errors < errors:
4746
print "Correct but error, this is not possible"
4847
correct +=1

start-cle.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ PREDICTIONS="predictions"
88
EVALUATIONS="evaluations"
99

1010
#train (on small set)
11-
#python -u dependency-parser.py -train -i $CORPORA/train/wsj_train.first-5k.conll06 -m model -e 1 -decrease-alpha -shuffle-sentences
11+
python -u dependency-parser.py -train -i $CORPORA/train/wsj_train.first-5k.conll06 -m model -e 1 -decrease-alpha -shuffle-sentences
1212

1313
#train
1414
#python -u dependency-parser.py -train -i ../dependency-parsing-files/data/english/train/wsj_train.conll06 -m $MODELS/m_e-10_da_ss -e 2 -decrease-alpha -shuffle-sentences
1515

1616
#test
17-
python -u dependency-parser.py -test -i $CORPORA/dev/wsj_dev_wit.conll06 -m model -o predicted.conll06
17+
#python -u dependency-parser.py -test -i $CORPORA/dev/wsj_dev_wit.conll06 -m model -o predicted.conll06
1818
#python -u dependency-parser.py -test -i $CORPORA/train/wsj_train.conll06 -m $MODELS/m_e-10_da_ss -o predicted.conll06
1919

2020
#python -u dependency-parser.py -ev -i predicted.conll06 -g $CORPORA/dev/wsj_dev.conll06 -o evaluation_sentence.txt

0 commit comments

Comments
 (0)