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.
NOTE: in some corner cases this model may give poor performance with Normalizations that
return large values for tfn
such as NormalizationH3. Consider using the
geometric approximation (BasicModelG) instead, which provides the same relevance
but with less practical problems.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public class BasicModelBE : BasicModel
Constructors
| Improve this Doc View SourceBasicModelBE()
Sole constructor: parameter-free
Declaration
public BasicModelBE()
Methods
| Improve this Doc View SourceScore(BasicStats, Single)
Declaration
public sealed override float Score(BasicStats stats, float tfn)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
System.Single | tfn |
Returns
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |