NEST by Elastic and contributors

<PackageReference Include="NEST" Version="6.8.5" />

.NET API 5,339,136 bytes

 IBM25Similarity

public interface IBM25Similarity : ISimilarity
BM25 Similarity. Introduced in Stephen E. Robertson, Steve Walker, Susan Jones, Micheline Hancock-Beaulieu, and Mike Gatford. Okapi at TREC-3. In Proceedings of the Third Text Retrieval Conference (TREC 1994). Gaithersburg, USA, November 1994.
double? B { get; set; }

Controls to what degree document length normalizes tf values.

bool? DiscountOverlaps { get; set; }

Sets whether overlap tokens (Tokens with 0 position increment) are ignored when computing norm.

double? K1 { get; set; }

Controls non-linear term frequency normalization (saturation).