Class NormalizationH3
Dirichlet Priors normalization
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public class NormalizationH3 : Normalization
Constructors
NormalizationH3()
Calls NormalizationH3(800)
Declaration
public NormalizationH3()
NormalizationH3(float)
Creates NormalizationH3 with the supplied parameter μ
.
Declaration
public NormalizationH3(float mu)
Parameters
Type | Name | Description |
---|---|---|
float | mu | smoothing parameter |
Properties
Mu
Returns the parameter μ
Declaration
public virtual float Mu { get; }
Property Value
Type | Description |
---|---|
float |
See Also
Methods
Tfn(BasicStats, float, float)
Returns the normalized term frequency.
Declaration
public override float Tfn(BasicStats stats, float tf, float len)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
float | tf | |
float | len | the field length. |
Returns
Type | Description |
---|---|
float |
Overrides
ToString()
Subclasses must override this method to return the code of the normalization formula. Refer to the original paper for the list.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |