Interface LMSimilarity.CollectionModel
- 
- All Known Implementing Classes:
 LMSimilarity.DefaultCollectionModel
- Enclosing class:
 - LMSimilarity
 
public static interface LMSimilarity.CollectionModelA strategy for computing the collection language model. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatcomputeProbability(BasicStats stats)Computes the probabilityp(w|C)according to the language model strategy for the current term.java.lang.StringgetName()The name of the collection model strategy. 
 - 
 
- 
- 
Method Detail
- 
computeProbability
float computeProbability(BasicStats stats)
Computes the probabilityp(w|C)according to the language model strategy for the current term. 
- 
getName
java.lang.String getName()
The name of the collection model strategy. 
 - 
 
 -