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

Exact text value #238

Closed
samjsramirez opened this issue May 14, 2022 · 1 comment
Closed

Exact text value #238

samjsramirez opened this issue May 14, 2022 · 1 comment

Comments

@samjsramirez
Copy link

From paper Kraljevic, Zeljko, et al. "MedCAT--medical concept annotation tool." arXiv preprint arXiv:1912.10166 (2019), "An annotation by MedCAT is considered correct only if the exact text value was found and the annotation was linked to the correct concept in the CDB."

My understand is that the exact text value would include the start and end index of prediction, but from the cat.py, it seems that the end index is not included, only the start and the cui? Thank you.

@w-is-h
Copy link
Collaborator

w-is-h commented May 16, 2022

Hi @samjsramirez, you are exactly right, this implementation is slightly different from the version we've used for the paper. The main reason was to avoid problems of the model not detecting a dot, comma, space, whatever 1-2 character span that is irrelevant for determining correctness but annotated during manual (gold standard) annotations. There were probably better ways to do this, but this was the simplest.

@w-is-h w-is-h closed this as completed May 23, 2022
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

No branches or pull requests

2 participants