Bug in bm25 implementation. #1718
Labels
bug
Issue described a bug
difficulty easy
Easy issue: required small fix
good first issue
Issue for new contributors (not required gensim understanding + very simple)
In line 52 of bm25.py the variable
self.corpus_size
should be replaced bylen(document)
.https://github.com/RaRe-Technologies/gensim/blob/82c394a9085d583e8a75c2bb32ecd37cf61236f0/gensim/summarization/bm25.py#L52
The text was updated successfully, but these errors were encountered: