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