public void setTopN(int topN) {
        this.topN = topN;
    }
@deprecated use {@link CompositeTextStatsCalculator}
with {@link TokenEntropy},
{@link TokenLengths}
and {@link TopNTokens}.
tika-eval/tika-eval-core/src/main/java/org/apache/tika/eval/core/tokens/TokenCounter.java