public class TopNTokens extends Object implements TokenCountStatsCalculator<TokenIntPair[]>
Constructor and Description |
---|
TopNTokens(int topN) |
Modifier and Type | Method and Description |
---|---|
TokenIntPair[] |
calculate(TokenCounts tokenCounts) |
public TokenIntPair[] calculate(TokenCounts tokenCounts)
calculate
in interface TokenCountStatsCalculator<TokenIntPair[]>
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.