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

Removing "A" as a stop word #44

Open
mcgeestephen opened this issue Jan 7, 2021 · 0 comments
Open

Removing "A" as a stop word #44

mcgeestephen opened this issue Jan 7, 2021 · 0 comments

Comments

@mcgeestephen
Copy link
Contributor

mcgeestephen commented Jan 7, 2021

Trying to get the HPIDs for the query of "blood group" returns two ids when resolve_conflicts=False

from txt2hpo.extract import Extractor
extract=Extractor(resolve_conflicts=False,correct_spelling=False)
extract.hpo('blood group').hpids

['HP:0032370','HP:0032223']

These refer to the "Blood group A" and "Blood group" phenotypes, respectively. The model considers both phenotypes to be identical given that the term "A" is considered as a stop word.

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