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

Negation detection #9

Open
auriml opened this issue Jan 23, 2021 · 0 comments
Open

Negation detection #9

auriml opened this issue Jan 23, 2021 · 0 comments

Comments

@auriml
Copy link

auriml commented Jan 23, 2021

Thank you very much for making the code available. I followed the steps (except for using 2020AB instead of 2017AA) and after minimal change in code to avoid key lookup errors for missing CUIs) I successfully run the code.
I have done several tests with simple phrases including negated terms, but the pipeline does not skip them:
For example see below:

{'sentence': 'No voiding syndrome. No diarrhea or nausea. No abdominal pain. No other symptomatology of interest', 'tokens': ['No', 'voiding', 'syndrome.', 'No', 'diarrhea', 'or', 'nausea.', 'No', 'abdominal', 'pain.', 'No', 'other', 'symptomatology', 'of', 'interest'], 'spans': [{'start': 1, 'end': 3, 'text': 'voiding syndrome.', 'st': ('T038', 0.6669729688499156), 'cui': ('C0243095', 0.9999871)}, {'start': 3, 'end': 5, 'text': 'No diarrhea', 'st': ('T033', 0.99344856), 'cui': ('C0011991', 0.8528028654224417)}, {'start': 6, 'end': 7, 'text': 'nausea.', 'st': ('T033', 0.7728953), 'cui': ('C0243095', 0.99999225)}, {'start': 8, 'end': 10, 'text': 'abdominal pain.', 'st': ('T033', 0.92418957), 'cui': ('C0243095', 0.998923)}, {'start': 12, 'end': 13, 'text': 'symptomatology', 'st': ('T033', 0.9771756), 'cui': ('C1457887', 1.0)}]}

Will you include it in the future? Any hint?

Thanks again,

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

1 participant