{"library":"bm25s","type":"library","category":null,"description":"bm25s (BM25-Sparse) is an ultra-fast implementation of the BM25 lexical search algorithm in pure Python, primarily leveraging NumPy for sparse matrix operations. It focuses on high performance and low dependency, providing significant speedups over other Python implementations. The library is actively developed, with version 0.3.3 being the latest release, and receives regular updates including new features and performance enhancements.","language":"python","status":"active","version":"0.3.3","tags":["search","ranking","sparse matrix","information retrieval","bm25","nlp","fast"],"last_verified":"Thu May 21","install":[{"cmd":"pip install bm25s","imports":["from bm25s import BM25","from bm25s import tokenize","from bm25s import selection_np"]},{"cmd":"pip install bm25s[full]","imports":[]},{"cmd":"pip install bm25s[indexing] # for SciPy's CSC builder if preferred\npip install jax[cpu] # for JAX-based top-k selection speedup","imports":[]}],"homepage":null,"github":"https://github.com/xhluca/bm25s","docs":null,"changelog":null,"pypi":"https://pypi.org/project/bm25s/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":63,"avg_install_s":3.6,"avg_import_s":0.37,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/bm25s/compatibility"}}