public void clear(String field) {
        Map<String, MutableInt> tokenMap = map.get(field);
        if (tokenMap != null) {
            tokenMap.clear();
        }

        tokenStatistics.put(field, NULL_TOKEN_STAT);
    }
@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