Fork me on GitHub
  • API

    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 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.