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

Strip certain special characters #122

Open
kkaris opened this issue Oct 18, 2023 · 0 comments
Open

Strip certain special characters #122

kkaris opened this issue Oct 18, 2023 · 0 comments

Comments

@kkaris
Copy link
Contributor

kkaris commented Oct 18, 2023

I have encountered cases where I have brand names of entities that contain characters like ®, ™ and ©. These names that are not groundable, however when stripped of these special characters, they are groundable. One example is Advil™ vs Advil, where the former is not groundable while the latter grounds to ibuprofen CHEBI:5855.

Is it possible to add a step in the normalization that removes characters like ®, ™ and ©? If so I can submit a PR for that.

I think the issue is universal enough that it could motivate this to be added to gilda rather than being handled by the caller of the grounding function.

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