public static interface LMSimilarity.CollectionModel
Modifier and Type | Method and Description |
---|---|
double |
computeProbability(BasicStats stats)
Computes the probability
p(w|C) according to the language model
strategy for the current term. |
String |
getName()
The name of the collection model strategy.
|
double computeProbability(BasicStats stats)
p(w|C)
according to the language model
strategy for the current term.String getName()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.