#include <Stopper.hpp>
Inheritance diagram for Stopper:
Public Methods | |
Stopper () | |
Stopper (char *filename) | |
Create the stopword list, loading it from file. One word per line. | |
bool | stopWord (char *word) |
Checks to see if a word is a stopword. | |
char* | handleWord (char *word) |
Will replace stopwords with a NULL pointer. Words not in the stopword list are passed on as is. |
|
|
|
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.
|