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

Fix: Normalize tokens to lowercase before checking stopwords in BM25 #337

Merged
merged 4 commits into from
Sep 6, 2024

Conversation

n0x29a
Copy link
Contributor

@n0x29a n0x29a commented Sep 5, 2024

This pull request addresses an issue in the Bm25 class where tokens were not being normalized to lowercase before checking against the stopwords list. This could lead to inconsistencies in token processing, as stopwords might not be recognized if they appear in different cases.

@n0x29a n0x29a requested review from I8dNLo and joein and removed request for I8dNLo September 5, 2024 15:15
@joein joein merged commit fa22051 into qdrant:main Sep 6, 2024
15 checks passed
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

Successfully merging this pull request may close these issues.

2 participants