Table of Contents

Field DefaultProximityWeight

Namespace
LMKit.Retrieval.Bm25
Assembly
LM-Kit.NET.dll

The default value for the ProximityWeight parameter.

public const float DefaultProximityWeight = 0.3

Returns

float
The default value for the parameter.

Examples

// Reset ProximityWeight to its default value.
var bm25 = new Bm25RetrievalStrategy();
bm25.ProximityWeight = Bm25RetrievalStrategy.DefaultProximityWeight; // 0.3
Share