Class CommonTokensKLDivergence
- java.lang.Object
-
- org.apache.tika.eval.core.textstats.CommonTokensKLDivergence
-
- All Implemented Interfaces:
LanguageAwareTokenCountStats<Double>
,TextStatsCalculator
public class CommonTokensKLDivergence extends Object implements LanguageAwareTokenCountStats<Double>
-
-
Constructor Summary
Constructors Constructor Description CommonTokensKLDivergence(CommonTokenCountManager mgr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
calculate(List<LanguageResult> languages, TokenCounts tokenCounts)
-
-
-
Constructor Detail
-
CommonTokensKLDivergence
public CommonTokensKLDivergence(CommonTokenCountManager mgr)
-
-
Method Detail
-
calculate
public Double calculate(List<LanguageResult> languages, TokenCounts tokenCounts)
- Specified by:
calculate
in interfaceLanguageAwareTokenCountStats<Double>
-
-