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 Details

    • TokenLengths

      public TokenLengths()
  • Method Details

    • calculate

      public org.apache.commons.math3.stat.descriptive.SummaryStatistics calculate(TokenCounts tokenCounts)
      Specified by:
      calculate in interface TokenCountStatsCalculator<org.apache.commons.math3.stat.descriptive.SummaryStatistics>