Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CEAFm and less strict CoNLL reader #8

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

andreasvc
Copy link
Contributor

My previous pull request failed the tests, don't know how I overlooked that ...
This version is updated to the packaged version of coval and includes CEAFm, faster CEAF, less strict CoNLL reader, and passes tests.

Cheers

- add CEAFm tests
- add CLI help message
- format scores in table
Allow the following:

    #begin document (malformed);
    malformed	0	0	a	(0
    malformed	0	1	b	0
    malformed	0	2	c	0|(1
    malformed	0	3	d	0)|1)
    malformed	0	4	e	-
    malformed	0	8	.	-

    #end document

Clean up code formatting; remove executable bits
This CoNLL reader didn't support coreference columns without "|" as
separator, which apparently is allowed.

This reverts commit e692532.
- 3x speedup of CEAF by using sets instead of lists
- skip numbers without opening or ending paren:  "1|2)"
  (instead of exiting)
- code formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant