Show / Hide Table of Contents

    Interface LMSimilarity.ICollectionModel

    A strategy for computing the collection language model.

    Namespace: Lucene.Net.Search.Similarities
    Assembly: Lucene.Net.dll
    Syntax
    public interface ICollectionModel

    Methods

    | Improve this Doc View Source

    ComputeProbability(BasicStats)

    Computes the probability p(w|C) according to the language model strategy for the current term.

    Declaration
    float ComputeProbability(BasicStats stats)
    Parameters
    Type Name Description
    BasicStats stats
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    GetName()

    The name of the collection model strategy.

    Declaration
    string GetName()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)