it.unimi.dsi.archive4j.tool
Interface MergePreprocessedData.TermFilter

All Known Implementing Classes:
MergePreprocessedData.FrequencyFilter, MergePreprocessedData.LengthFilter, MergePreprocessedData.MixedFilter, MergePreprocessedData.StopwordFilter
Enclosing class:
MergePreprocessedData

public static interface MergePreprocessedData.TermFilter

Interface used to specify whether a term must be filtered (that is, eliminated from the archive) or not.

Author:
Alessio Orlandi

Method Summary
 boolean accept(MutableString term, int frequency)
          Returns true if the given term must be accepted.
 

Method Detail

accept

boolean accept(MutableString term,
               int frequency)
Returns true if the given term must be accepted.

Parameters:
term - the term.
frequency - the frequency of term.