-
Notifications
You must be signed in to change notification settings - Fork 41
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
Detecting negation for one CUI but failing to detect negation for other CUIs #25
Comments
negbio cannot handle this case right now because it should be "spinal canal hematoma" not just "spinal" to be recognized as C0856150. It is an error produced by MetaMap. An alternative way is creating a dictionary that contains "spinal canal hematoma" and then using the chexpert labeler to recognize it. Please see https://negbio.readthedocs.io/en/latest/user_guide.html#named-entity-recognition |
Hi @yfpeng https://github.com/ncbi-nlp/NegBio/blob/master/negbio/pipeline/dner_mm.py#L58
Here we are only handling the 1st type i.e. the simplest form where the concept's text is a contiguous block of characters. Here's the output of pyMetaMap for the example case in this issue:
The spinal hematoma concept [Positional Information: (13/6,26/8)] is of type (b) of positional information i.e. disjoint text strings. |
Environment: Using MetaMap 2016v2
Sentence:
Among other CUIs, these are the ones I am focusing on:
The term "hematoma" is negated by NegBio but fails to negate "spinal hematoma".
Here's the parse tree:
<infon key="parse tree">(S1 (S (S (NP (EX There)) (VP (VBZ is) (NP (DT no) (JJ spinal) (JJ canal) (NN hematoma)))) (. .)))</infon>
There's amod dependency tag edge between "spinal" and "hematoma".
where T3 represents the word "spinal" and T5 represents the word "hematoma".
How should we handle this issue?
"no spinal canal hematoma" is identified as a noun phrase which begins with "no".
Shouldn't both the term "hematoma" as well as "spinal hematoma" come up as negation?
xml dump of the collection just before executing negdetect.detect(document, neg_detector) i.e. after parse tree and dependency tree have been formed is shared here: http://collabedit.com/b2e33
The text was updated successfully, but these errors were encountered: