-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Okapi BM25 variants in Gensim (#3304)
* Add and unit-test gensim.models.bm25model.OkapiBM25Model * Document gensim.models.bm25 * Add and unit-test gensim.models.bm25model.{Lucene,Atire}BM25Model * Add normalize_{queries,documents} params to gensim.similarities.docsim * Add example of BM25 to gensim.similarities.docsim.SparseMatrixSimilarity * Refresh stale gallery cache * Update gensim/models/bm25model.py Co-authored-by: Radim Řehůřek <me@radimrehurek.com> Co-authored-by: Radim Řehůřek <me@radimrehurek.com>
- Loading branch information
Showing
13 changed files
with
907 additions
and
43 deletions.
There are no files selected for viewing
Binary file modified
BIN
+49.7 KB
(170%)
docs/src/auto_examples/core/images/sphx_glr_run_topics_and_transformations_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.62 KB
(100%)
...to_examples/core/images/thumb/sphx_glr_run_topics_and_transformations_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions
12
docs/src/auto_examples/core/run_topics_and_transformations.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
docs/src/auto_examples/core/run_topics_and_transformations.py.md5
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
f49c3821bbacdeefdf3945d5dcb5ad01 | ||
226db24f9e807e4bbd2a6ef280a75510 |
150 changes: 132 additions & 18 deletions
150
docs/src/auto_examples/core/run_topics_and_transformations.rst
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.