-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added a toggle to disable stemmer in bm25 (#416)
* feat: Added a toggle to disable stemmer in bm25 * refactor: Refactored how to disable stemming in bm25 * refactor: Refactored the way of disabling stemmer in bm25 * new: Added english fallback if language = None * tests: Added test case for disable stemmer * fix: Fix language to be only string * tests: Updated bm25 toggle stemmer tests * refactor: fix stopwords type * fix: fix param propagation in parallel embed in bm25 --------- Co-authored-by: George Panchuk <[email protected]>
- Loading branch information
1 parent
2ef9c38
commit 0f79d3f
Showing
2 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters