Skip to content

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

Merged
joein merged 4 commits into
qdrant:mainfrom
n0x29a:main
Sep 6, 2024
Merged

Fix: Normalize tokens to lowercase before checking stopwords in BM25#337
joein merged 4 commits into
qdrant:mainfrom
n0x29a:main

Conversation

@n0x29a

@n0x29a n0x29a commented Sep 5, 2024

Copy link
Copy Markdown
Contributor

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
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