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

Consider a replace keyword command #72

Open
cmungall opened this issue Mar 27, 2024 · 0 comments
Open

Consider a replace keyword command #72

cmungall opened this issue Mar 27, 2024 · 0 comments

Comments

@cmungall
Copy link
Contributor

This may be out of scope but wanted to add for discussion.

Frequently we want to replace instances of a token, word, or phrase in lexical ontology elements such as labels, definitions.

E.g

https://wiki.geneontology.org/Ontology_meeting_2024-04-08#Bulk_update_specific_keywords

This may be out of scope as it drifts into NLP territory. How are the boundaries of words or tokens defined? Do we have different tokenizers for chemicals vs biological language? What about bespoke rules that exclude certain tokens from replacement in some contexts?

This may be better handled by a separate tool that generates KGCL rename and redefine commands given an ontology plus some replacement rules.

In fact the logic is very similar to that uses for the synonymizer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant