package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Sep 17, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
Documentation
¶
package bm25 is a lingo-friendly BM25 library.
BM25 is a scoring function that relies on TFIDF, and is useful for document retrieval
DocScore is a tuple of the document ID and a score
DocScores is a list of DocScore
BM25 is the scoring function.
k1 should be between 1.2 and 2.
b should be around 0.75
Source Files
¶
Click to show internal directories.
Click to hide internal directories.