Class TokenCounter

java.lang.Object
org.apache.tika.eval.core.tokens.TokenCounter

@Deprecated public class TokenCounter extends Object
  • Constructor Details

    • TokenCounter

      public TokenCounter(org.apache.lucene.analysis.Analyzer generalAnalyzer) throws IOException
      Deprecated.
      Throws:
      IOException
  • Method Details

    • add

      public void add(String field, String content) throws IOException
      Deprecated.
      Throws:
      IOException
    • getTokenStatistics

      public TokenStatistics getTokenStatistics(String field)
      Deprecated.
    • setTopN

      public void setTopN(int topN)
      Deprecated.
    • clear

      public void clear(String field)
      Deprecated.
    • getTokens

      public Map<String,org.apache.commons.lang3.mutable.MutableInt> getTokens(String field)
      Deprecated.