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