Class TokenLengths
java.lang.Object
org.apache.tika.eval.core.textstats.TokenLengths
- All Implemented Interfaces:
TextStatsCalculator
,TokenCountStatsCalculator<org.apache.commons.math3.stat.descriptive.SummaryStatistics>
public class TokenLengths
extends Object
implements TokenCountStatsCalculator<org.apache.commons.math3.stat.descriptive.SummaryStatistics>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.math3.stat.descriptive.SummaryStatistics
calculate
(TokenCounts tokenCounts)
-
Constructor Details
-
TokenLengths
public TokenLengths()
-
-
Method Details
-
calculate
public org.apache.commons.math3.stat.descriptive.SummaryStatistics calculate(TokenCounts tokenCounts) - Specified by:
calculate
in interfaceTokenCountStatsCalculator<org.apache.commons.math3.stat.descriptive.SummaryStatistics>
-