Fix bug in bm25.py#1726
Conversation
|
That looks like a serious / critical difference, thanks! @menshikh-iv can you please verify the new version is correct? What functionality is affected? How did this bug manifest itself in practice? |
|
Nothing is mentioned in the issue itself. The person filing the issue just mentions that it is a bug, and didn't say anything about how it affects the functionality. |
|
Probably best to double check and verify. The summarization subpackage is still used very sparsely (I didn't even know it had BM25 in it). |
|
The person who filed the issue mentioned the following-
|
|
So we confirm the behavior of the bug by running both tf-idf and bm25 correct? It might be a bit difficult since bm25 doesn't have any docstrings to help in understanding the behavior. |
|
Can you please double check? I believe it should be |
|
@eliotpbrenner yes you are right ! |

Related to #1718