public class CommonTokensKLDivergence extends Object implements LanguageAwareTokenCountStats<Double>
Constructor and Description |
---|
CommonTokensKLDivergence(CommonTokenCountManager mgr) |
Modifier and Type | Method and Description |
---|---|
Double |
calculate(List<Language> languages,
TokenCounts tokenCounts) |
public CommonTokensKLDivergence(CommonTokenCountManager mgr)
public Double calculate(List<Language> languages, TokenCounts tokenCounts)
calculate
in interface LanguageAwareTokenCountStats<Double>
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.