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

Stop raising exception when get_entities takes a non-NE input #50

Merged
merged 2 commits into from
Oct 3, 2020

Conversation

himkt
Copy link
Contributor

@himkt himkt commented Oct 3, 2020

ref. #30 (comment)

If users want to evaluate performance on some token-level tasks with seqeval,
they get an error raised from a validation introduced in #30.
(I didn't consider that non-NE input is passed to get_entities.)

Following the suggestion by @djstrong (thank you for the report and suggestion!), I update get_entities such that it warns when non-NE input is passed.

@himkt himkt mentioned this pull request Oct 3, 2020
@Hironsan Hironsan merged commit 7cb0f32 into chakki-works:master Oct 3, 2020
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.

2 participants