Skip to content
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

Inferring Ontology Acronyms from ID #1

Open
bblodfon opened this issue Mar 10, 2019 · 0 comments
Open

Inferring Ontology Acronyms from ID #1

bblodfon opened this issue Mar 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@bblodfon
Copy link
Member

bblodfon commented Mar 10, 2019

Because of this issue (multiple ontology terms with the same ID), I had to implement a way to infer the ontology acronym from the entry id. This is done in the function inferDictAbbrevFromId(id) in DIctionaryBioPoral.js.

So, if more regexes are found that can clearly distinguish the ontology acronym from the id in some cases, then I have to add them to the ontologyRegexes array of the aforementioned function.

If in the future the issue is solved (e.g. BioPortal provides an endpoint that returns a source ontology for a term), then I will have to re-design getEntries() and remove the hack.

John.

@bblodfon bblodfon added the enhancement New feature or request label Mar 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant