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

PDE5 should give PDE5A first? #161

Open
cbizon opened this issue Sep 18, 2024 · 1 comment
Open

PDE5 should give PDE5A first? #161

cbizon opened this issue Sep 18, 2024 · 1 comment

Comments

@cbizon
Copy link
Contributor

cbizon commented Sep 18, 2024

With an input of PDE5 (autocomplete on or off), i might expect to get PDE5A. PDE5 is an exact synonym of PDE5A (it was the name for a long time).

But the top few hits are things like this:

{
    "curie": "PUBCHEM.COMPOUND:16066664",
    "label": "Pde5-IN-42",
    "synonyms": [
      "Pde5-IN-42",
      "CHEMBL1094365"
    ],

If you tokenize on - then there's an exact match to a token, but that seems not as good as the exact match to a synonym?

@gaurav
Copy link
Contributor

gaurav commented Sep 19, 2024

Hmm, good catch. I'll try to increase the boost for the synonym exact match and see if I can fix this.

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

2 participants