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