BM25Okapi
BM25Okapi, often shortened to BM25, is a ranking function used by search engines to estimate the relevance of documents to a given search query. It is a probabilistic model that considers the term frequency within a document, the inverse document frequency of the terms across a corpus, and a document length normalization factor. The "Okapi" in its name refers to the Okapi information retrieval system developed at the City University London, where the BM25 family of functions was first introduced.
The core idea behind BM25 is that a document is more relevant if it contains the query
BM25 is a predecessor to more complex learning-to-rank models but remains a strong baseline and is widely