Package org.apache.tika.eval.textstats
Class TokenLengths
- java.lang.Object
-
- org.apache.tika.eval.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
Constructors Constructor Description TokenLengths()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.math3.stat.descriptive.SummaryStatistics
calculate(TokenCounts tokenCounts)
-
-
-
Method Detail
-
calculate
public org.apache.commons.math3.stat.descriptive.SummaryStatistics calculate(TokenCounts tokenCounts)
- Specified by:
calculate
in interfaceTokenCountStatsCalculator<org.apache.commons.math3.stat.descriptive.SummaryStatistics>
-
-