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

implement pure Python "span-F1" evaluation routine applicable to BIO/BIOS #75

Closed
miracle24 opened this issue Aug 17, 2018 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@miracle24
Copy link

Hello. Thanks for your wonderful code. I find you also calculate the F1 score using the perl script. I think there is a problem if this script is used to calculate the F1 score for the BIOS tag scheme, since this perl script cannot deal with those tag start with 'S-'. So I wonder if you guys correct the script code or you convert the tag scheme of tokens before using the script? If I am not right, please let me know. Thanks again.

@alanakbik
Copy link
Collaborator

Hi Miracle, many thanks for spotting this - the script indeed does not have any special provisions for the S-tags, but seems to default to chunkstart=True and chunkend=True for any non-BIE entity tag which is good. I've ran some tests and found some rare cases where it fails to work as intended, so this will probably have a minor effect on evaluation numbers and means that I have to take a closer look. I think for the upcoming release we might end up just implementing our own evaluation routine in Python, which will make a lot of this easier!

@alanakbik alanakbik changed the title what the tag scheme during evaluation for NER on Conll 2003? implement pure Python "span-F1" evaluation routine applicable to BIO/BIOS Aug 17, 2018
@alanakbik alanakbik added the bug Something isn't working label Aug 17, 2018
alanakbik pushed a commit that referenced this issue Sep 14, 2018
tabergma added a commit that referenced this issue Sep 17, 2018
tabergma pushed a commit that referenced this issue Sep 20, 2018
@tabergma
Copy link
Collaborator

in release-0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants