Generate ontology for AbbreviationDetection and HyponymDetection
Piyush13y opened this issue · comments
Is your feature request related to a problem? Please describe.
According to #14, we should be defining the ontologies that will be required for this processor. A new parent ontology has to be defined under Token
. Abbreviation
would be the ontology name and there will be an attribute within this, namely long_form
(as string). These can then be used to store coding information as such:
example input:
"Spinal and bulbar muscular atrophy (SBMA) is an
inherited motor neuron disease caused by the expansion
of a polyglutamine tract within the androgen receptor (AR).
SBMA can be caused by this easily."
example output ontology:
- Abbreviation (span 'SBMA')
- long_form "Spinal and bulbar muscular atrophy"
- Abbreviation (span 'AR')
- long_form "androgen receptor"
HyponymDetection....
-Link
- Hyponym
- hyponym_link
For example: "Keystone plant species such as fig trees are good for the soil."
Hyponym:
hyponym_link: such_as
Parent: Keystone plant species
Child: fig trees