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