Package org.apache.tika.eval.textstats
Interface LanguageAwareTokenCountStats<T>
-
- Type Parameters:
T
-
- All Superinterfaces:
TextStatsCalculator
- All Known Implementing Classes:
CommonTokens
,CommonTokensBhattacharyya
,CommonTokensCosine
,CommonTokensHellinger
,CommonTokensKLDivergence
,CommonTokensKLDNormed
public interface LanguageAwareTokenCountStats<T> extends TextStatsCalculator
Interface for calculators that require language probabilities and token stats
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
calculate(List<Language> languages, TokenCounts tokenCounts)
-
-
-
Method Detail
-
calculate
T calculate(List<Language> languages, TokenCounts tokenCounts)
-
-