conllu.eval

+label

keyf for labeled attachment.

-label

keyf for unlabeled attachment.

attachment

(attachment keyf gold eval)

returns the stats for attachment comparison between gold and eval. keyf can be -label or +label.

diff

(diff gold eval key+)

returns for each word the keys in key+ where gold and eval differ.

index

(index sent)

indexes the words in sent, ignoring multi-words and empty-words.

macro-average

(macro-average res+)

sent-based. (macro-average (map (partial attachment +label) gold eval))

micro-average

(micro-average res+)

word-based. (micro-average (map (partial attachment +label) gold eval))