Class BasicModelBE
Limiting form of the Bose-Einstein model. The formula used in Lucene differs
slightly from the one in the original paper: F
is increased by tfn+1
and N
is increased by F
Note
This API is experimental and might change in incompatible ways in the next release.
tfn
such as NormalizationH3. Consider using the
geometric approximation (BasicModelG) instead, which provides the same relevance
but with less practical problems.
Inherited Members
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public class BasicModelBE : BasicModel
Constructors
BasicModelBE()
Sole constructor: parameter-free
Declaration
public BasicModelBE()
Methods
Score(BasicStats, float)
Returns the informative content score.
Declaration
public override sealed float Score(BasicStats stats, float tfn)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
float | tfn |
Returns
Type | Description |
---|---|
float |
Overrides
ToString()
Subclasses must override this method to return the code of the basic model formula. Refer to the original paper for the list.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |