Class LambdaTTF
Computes lambda as totalTermFreq+1 / numberOfDocuments+1
.
Note
This API is experimental and might change in incompatible ways in the next release.
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 LambdaTTF : Lambda
Constructors
| Improve this Doc View SourceLambdaTTF()
Sole constructor: parameter-free
Declaration
public LambdaTTF()
Methods
| Improve this Doc View SourceCalculateLambda(BasicStats)
Declaration
public sealed override float CalculateLambda(BasicStats stats)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats |
Returns
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceExplain(BasicStats)
Declaration
public sealed override Explanation Explain(BasicStats stats)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats |
Returns
Type | Description |
---|---|
Explanation |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |