gensim logo

gensim
gensim tagline

Get Expert Help

• machine learning, NLP, data mining

• custom SW design, development, optimizations

• corporate trainings & IT consulting

summarization.bm25 – BM25 ranking function

summarization.bm25 – BM25 ranking function

class gensim.summarization.bm25.BM25(corpus)

Bases: object

get_score(document, index, average_idf)
get_scores(document, average_idf)
initialize()
gensim.summarization.bm25.get_bm25_weights(corpus)