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