it.unimi.dsi.archive4j.tool
Class MergePreprocessedData.MixedFilter

java.lang.Object
  extended by it.unimi.dsi.archive4j.tool.MergePreprocessedData.MixedFilter
All Implemented Interfaces:
MergePreprocessedData.TermFilter
Enclosing class:
MergePreprocessedData

public static class MergePreprocessedData.MixedFilter
extends Object
implements MergePreprocessedData.TermFilter

A filter that eliminates mixed digit-nondigit terms.


Constructor Summary
MergePreprocessedData.MixedFilter()
           
 
Method Summary
 boolean accept(MutableString word, int frequency)
          Returns true if the given term must be accepted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergePreprocessedData.MixedFilter

public MergePreprocessedData.MixedFilter()
Method Detail

accept

public boolean accept(MutableString word,
                      int frequency)
Description copied from interface: MergePreprocessedData.TermFilter
Returns true if the given term must be accepted.

Specified by:
accept in interface MergePreprocessedData.TermFilter
Parameters:
word - the term.
frequency - the frequency of term.