asyml/ForteHealth

Fix hyponym detector in Scispacy processor

nikhilranjan7 opened this issue · 0 comments

Describe the bug
Parent and child string is not stored correctly in processor ontology. Only relation phrase can be tested e.g., "such as"

To Reproduce
Steps to reproduce the behavior:
Run Scispacy processor for hyponym detection

Expected behavior
Example:

  • Keystone plant species such as fig trees are good for the soil.
    Real parent = Keystone plant species
    Real child = fig trees
    Real Relation = such as

But the scispacy processor stores:
Real parent = Key
Real child = fi
Real relation = such as