dorianbrown / rank_bm25

A Collection of BM25 Algorithms in Python
Apache License 2.0
1.05k stars 89 forks source link

How to extract trained weights for each documents from bm25 model? #28

Closed karndeepsingh closed 1 month ago

karndeepsingh commented 1 year ago

Hi, I have passed the corpus into bm25L model. I would like to extract the weights of the words from this trained model. Is it possible to do so? Please share the possible ideas.

Thanks

dorianbrown commented 1 month ago

The algorithms in this library don't train any weights, and isn't based on machine learning, so not exactly sure what you're asking for.