Class Distribution
java.lang.Object
org.apache.lucene.search.similarities.Distribution
- Direct Known Subclasses:
DistributionLL,DistributionSPL
The probabilistic distribution used to model term occurrence
in information-based models.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexplain(BasicStats stats, float tfn, float lambda) Explains the score.abstract floatscore(BasicStats stats, float tfn, float lambda) Computes the score.abstract StringtoString()Subclasses must override this method to return the name of the distribution.
-
Constructor Details
-
Distribution
public Distribution()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details