Closed JeremyKraft67 closed 4 years ago
Hi!
Thanks for sharing the code. But I think that there is a typo in the score of the BM25L class.
The term score shouldn't be multiplied by 'q_freq '. Otherwise you get a document score of 0 if none of the query terms appear in the document.
Hi!
Thanks for sharing the code. But I think that there is a typo in the score of the BM25L class.
The term score shouldn't be multiplied by 'q_freq '. Otherwise you get a document score of 0 if none of the query terms appear in the document.