Bm25s

Latest version: v0.2.10

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

0.2.10

What's Changed
* fix: update tokenize docstring to avoid SyntaxWarning - invalid escape sequence \w by yaminivibha in https://github.com/xhluca/bm25s/pull/124

New Contributors
* yaminivibha made their first contribution in https://github.com/xhluca/bm25s/pull/124

**Full Changelog**: https://github.com/xhluca/bm25s/compare/0.2.9...0.2.10

0.2.9

What's Changed
* fix: raise ValueError when the corpus size is less than k by emmanuel-stone in https://github.com/xhluca/bm25s/pull/117

New Contributors
* emmanuel-stone made their first contribution in https://github.com/xhluca/bm25s/pull/117

**Full Changelog**: https://github.com/xhluca/bm25s/compare/0.2.8...0.2.9

0.2.8

What's Changed
* Fix error when `load_vocab=False` by xhluca in https://github.com/xhluca/bm25s/pull/115

New Contributors
* Restodecoca made their first contribution in https://github.com/xhluca/bm25s/pull/102

**Full Changelog**: https://github.com/xhluca/bm25s/compare/0.2.7...0.2.8

0.2.7post1

What's Changed
* Fix query filtering and vocabulary dict by mossbee in https://github.com/xhluca/bm25s/pull/92 (1/2)
* Fix query filtering and vocabulary dict by xhluca in https://github.com/xhluca/bm25s/pull/96 (2/2)
* Update corpus.py by Restodecoca in https://github.com/xhluca/bm25s/pull/102
* Add pypi and pepy badges by xhluca in https://github.com/xhluca/bm25s/pull/103

Notes

The behavior of tokenizers have changed wrt null token. Now, the null token will be added first to the vocab rather than at the end, as the previous approach is inconsistent with the general standard (the "" string should map to 0 in general). However, it is a backward compatible change because the tokenizers should work the same way as before, but expect the tokenizers before 0.2.7 to differ from the tokenizers in 0.2.7 and beyond in the behavior, even though both will work with the retriever object.

New Contributors
* Restodecoca made their first contribution in https://github.com/xhluca/bm25s/pull/102

**Full Changelog**: https://github.com/xhluca/bm25s/compare/0.2.6...0.2.7

0.2.7pre3

What's Changed
* Update corpus.py by Restodecoca in https://github.com/xhluca/bm25s/pull/102

New Contributors
* Restodecoca made their first contribution in https://github.com/xhluca/bm25s/pull/102

**Full Changelog**: https://github.com/xhluca/bm25s/compare/0.2.7pre2...0.2.7pre3

0.2.7pre2

**Full Changelog**: https://github.com/xhluca/bm25s/compare/0.2.7pre1...0.2.7pre2

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.