Class NormalizationZ
Pareto-Zipf 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 NormalizationZ : Normalization
Constructors
NormalizationZ()
Calls NormalizationZ(0.3)
Declaration
public NormalizationZ()
NormalizationZ(float)
Creates NormalizationZ with the supplied parameter z
.
Declaration
public NormalizationZ(float z)
Parameters
Type | Name | Description |
---|---|---|
float | z | represents |
Properties
Z
Returns the parameter z
Declaration
public virtual float Z { 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 |