#include <Stopper.hpp>
Inheritance diagram for Stopper:
Public Methods | |
Stopper () | |
Stopper (const string &filename) | |
bool | stopWord (const char *word) const |
Checks to see if a word is a stopword. | |
char * | handleWord (char *word) |
Static Public Attributes | |
const string | category = "Stopper" |
const string | identifier = "Stopper" |
|
|
|
Create the stopword list, loading it from file. One word per line. |
|
Will replace stopwords with a NULL pointer. Words not in the stopword list are passed on as is. Reimplemented from TextHandler. |
|
Checks to see if a word is a stopword.
|
|
Reimplemented from TextHandler. |
|
Reimplemented from TextHandler. |