monarch-initiative / fenominal

Phenomenal text mining for disease and phenotype concepts
https://monarch-initiative.github.io/fenominal/
GNU General Public License v3.0
9 stars 1 forks source link

Detection of negative should be restricted to closest term #42

Open pnrobinson opened 2 years ago

pnrobinson commented 2 years ago

Currently, fenominal is interpreting all of the following as negative

Physical examination showed a strikingly abnormal face (Fig. 1A) with prominent metopic suture, 
but no trigonocephaly,  short palpebral fissures, telecanthus, left microphthalmia, 
bilateral corneal clouding and nystagmus. 
tudorgroza commented 2 years ago

but **no** trigonocephaly, short palpebral fissures, telecanthus, left microphthalmia, bilateral corneal clouding and nystagmus.

Aren't they all supposed to be negated? (since it's a coordination)

pnrobinson commented 2 years ago

The English sentence is a bit ambiguous, but I think most native speakers would restrict the "no" to trigonocephaly. In the article, the patient did have all of the other features.

tudorgroza commented 2 years ago

That does make it challenging, since normally I would see it as a coordination. I'll change the code.