obophenotype / upheno

The Unified Phenotype Ontology (uPheno) integrates multiple phenotype ontologies into a unified cross-species phenotype ontology.
https://obophenotype.github.io/upheno/
Creative Commons Zero v1.0 Universal
76 stars 17 forks source link

Some plural labels do not work #943

Open matentzn opened 2 months ago

matentzn commented 2 months ago

https://github.com/obophenotype/upheno/blob/222be547e229e2cccc2b30a50905f0a852cd8ea9/src/patterns/dosdp-dev/abnormalHasFewerPartsOfTypeAnatomicalEntity.yaml#L34

For terms like "anatomical entity", the synonym becomes "anatomical entitys" which is obviously bad.

We may need to deal with that somehow.

hansenp commented 2 months ago

Various options in Python are presented here: https://www.geeksforgeeks.org/python-program-to-convert-singular-to-plural/