Package org.apache.tika.eval.textstats
Class TokenEntropy
- java.lang.Object
-
- org.apache.tika.eval.textstats.TokenEntropy
-
- All Implemented Interfaces:
TextStatsCalculator
,TokenCountStatsCalculator<Double>
public class TokenEntropy extends Object implements TokenCountStatsCalculator<Double>
-
-
Constructor Summary
Constructors Constructor Description TokenEntropy()
-
-
-
Method Detail
-
calculate
public Double calculate(TokenCounts tokenCounts)
- Specified by:
calculate
in interfaceTokenCountStatsCalculator<Double>
-
-