Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

StopwordDictEntryFilter Class Reference

Accept all entries not on the given stopword list. This filters on the target language. More...

#include <PDict.hpp>

Inheritance diagram for StopwordDictEntryFilter:

DictEntryFilter List of all members.

Public Methods

 StopwordDictEntryFilter (const string &stopwords)
 Initialize the Stopper to use.

bool accept (const DictEntry &entry) const
 Accept or reject an entry based on type.


Detailed Description

Accept all entries not on the given stopword list. This filters on the target language.


Constructor & Destructor Documentation

StopwordDictEntryFilter::StopwordDictEntryFilter const string &    stopwords [inline]
 

Initialize the Stopper to use.

Parameters:
stopwords  the stopword list to filter against.


Member Function Documentation

bool StopwordDictEntryFilter::accept const DictEntry   entry const [inline, virtual]
 

Accept or reject an entry based on type.

Parameters:
entry  The entry to filter
Returns:
true if the entry's type is equal to the filter type value.

Implements DictEntryFilter.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:55 2004 for Lemur Toolkit by doxygen1.2.18