Interface LMSimilarity.CollectionModel

All Known Implementing Classes:
LMSimilarity.DefaultCollectionModel
Enclosing class:
LMSimilarity

public static interface LMSimilarity.CollectionModel
A strategy for computing the collection language model.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Computes the probability p(w|C) according to the language model strategy for the current term.
    The name of the collection model strategy.
  • Method Details

    • computeProbability

      float computeProbability(BasicStats stats)
      Computes the probability p(w|C) according to the language model strategy for the current term.
    • getName

      String getName()
      The name of the collection model strategy.