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