Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class NormalizationH3

    Dirichlet Priors normalization

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    object
    Normalization
    NormalizationH3
    Inherited Members
    Normalization.Explain(BasicStats, float, float)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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
    NormalizationH3(float)

    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
    Normalization.Tfn(BasicStats, float, float)

    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
    Overrides
    Normalization.ToString()
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.