Skip to content

Add CEAFm and less strict CoNLL reader#8

Open
andreasvc wants to merge 7 commits intons-moosavi:masterfrom
andreasvc:fixconll
Open

Add CEAFm and less strict CoNLL reader#8
andreasvc wants to merge 7 commits intons-moosavi:masterfrom
andreasvc:fixconll

Conversation

@andreasvc
Copy link
Copy Markdown
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