xhluca / bm25s

Fast lexical search implementing BM25 in Python using Numpy, Numba and Scipy
https://bm25s.github.io
MIT License
862 stars 35 forks source link

Pre-computed TF-IDF #9

Closed celsofranssa closed 4 months ago

celsofranssa commented 4 months ago

Is it possible to pass a pre-computed TF-IDF matrix (with the shape [documents, vocabulary])?