Skip to content
Snippets Groups Projects
Commit 04472a67 authored by Franck Dary's avatar Franck Dary
Browse files

Added default MCD in eval script

parent 4268691e
No related branches found
No related tags found
No related merge requests found
...@@ -242,6 +242,8 @@ def load_conllu(file) : ...@@ -242,6 +242,8 @@ def load_conllu(file) :
ud = UDRepresentation() ud = UDRepresentation()
ud.filename = file.name ud.filename = file.name
col2index, index2col = readMCD("ID FORM LEMMA UPOS XPOS FEATS HEAD DEPREL DEPS MISC")
# Load the CoNLL-U file # Load the CoNLL-U file
index, sentence_start = 0, None index, sentence_start = 0, None
id_starts_at_zero = False id_starts_at_zero = False
...@@ -729,7 +731,6 @@ def main() : ...@@ -729,7 +731,6 @@ def main() :
global col2index global col2index
global index2col global index2col
col2index, index2col = readMCD("ID FORM LEMMA UPOS XPOS FEATS HEAD DEPREL DEPS MISC")
# Evaluate # Evaluate
gold_ud, evaluations = evaluate_wrapper(args) gold_ud, evaluations = evaluate_wrapper(args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment