spyysalo / conlleval.py

Python version of the evaluation script from CoNLL'00-
MIT License
91 stars 40 forks source link

Python API #3

Open spyysalo opened 8 years ago

spyysalo commented 8 years ago

The script takes input as a sequence of strings in CoNLL format:

https://github.com/spyysalo/conlleval.py/blob/master/conlleval.py#L57

This is fine for command-line use, but cumbersome for calling from Python. There should be a way to invoke evaluation with Python objects.

h/t: @marekrei