Package org.apache.tika.eval.tokens
Class TokenCounter
- java.lang.Object
-
- org.apache.tika.eval.tokens.TokenCounter
-
@Deprecated public class TokenCounter extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description TokenCounter(org.apache.lucene.analysis.Analyzer generalAnalyzer)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
add(String field, String content)
Deprecated.void
clear(String field)
Deprecated.Map<String,org.apache.commons.lang3.mutable.MutableInt>
getTokens(String field)
Deprecated.TokenStatistics
getTokenStatistics(String field)
Deprecated.void
setTopN(int topN)
Deprecated.
-
-
-
Constructor Detail
-
TokenCounter
public TokenCounter(org.apache.lucene.analysis.Analyzer generalAnalyzer) throws IOException
Deprecated.- Throws:
IOException
-
-
Method Detail
-
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.
-
-