gov.sandia.cognition.text.term.filter
Interface TermFilter

All Superinterfaces:
Cloneable, CloneableSerializable, Serializable
All Known Subinterfaces:
SingleTermFilter
All Known Implementing Classes:
AbstractSingleTermFilter, DictionaryFilter, LowerCaseTermFilter, NGramFilter, PorterEnglishStemmingFilter, StopListFilter, StringEvaluatorSingleTermFilter, SynonymFilter, TermLengthFilter

public interface TermFilter
extends CloneableSerializable

Interface for an object that can filter a list of terms to create a new list of terms.

Since:
3.0
Author:
Justin Basilico

Method Summary
 Iterable<TermOccurrence> filterTerms(Iterable<? extends TermOccurrence> terms)
          Filters the given list of terms into a new list of terms based on some internal criteria for what constitutes a term.
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Method Detail

filterTerms

Iterable<TermOccurrence> filterTerms(Iterable<? extends TermOccurrence> terms)
Filters the given list of terms into a new list of terms based on some internal criteria for what constitutes a term.

Parameters:
terms - The terms to filter.
Returns:
The new list of terms.