Package org.apache.tika.eval.core.tokens
Class TokenStatistics
- java.lang.Object
-
- org.apache.tika.eval.core.tokens.TokenStatistics
-
public class TokenStatistics extends Object
-
-
Constructor Summary
Constructors Constructor Description TokenStatistics(int totalUniqueTokens, int totalTokens, TokenIntPair[] topN, double entropy, org.apache.commons.math3.stat.descriptive.SummaryStatistics summaryStatistics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
double
getEntropy()
org.apache.commons.math3.stat.descriptive.SummaryStatistics
getSummaryStatistics()
TokenIntPair[]
getTopN()
int
getTotalTokens()
int
getTotalUniqueTokens()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
TokenStatistics
public TokenStatistics(int totalUniqueTokens, int totalTokens, TokenIntPair[] topN, double entropy, org.apache.commons.math3.stat.descriptive.SummaryStatistics summaryStatistics)
-
-
Method Detail
-
getTotalTokens
public int getTotalTokens()
-
getTotalUniqueTokens
public int getTotalUniqueTokens()
-
getTopN
public TokenIntPair[] getTopN()
-
getEntropy
public double getEntropy()
-
getSummaryStatistics
public org.apache.commons.math3.stat.descriptive.SummaryStatistics getSummaryStatistics()
-
-