#include <plearn/base/general.h>
#include <plearn_learners/language/WordNet/WordNetOntology.h>
#include <plearn/io/TypesNumeriques.h>
#include <plearn/base/stringutils.h>
Include dependency graph for full_filter.cc:
Go to the source code of this file.
Functions | |
set< string > | extractWordSet (string file) |
bool | isPunctuation (string &word) |
int | main (int argc, char **argv) |
Variables | |
set< string > | proper_nouns |
set< string > | stop_words |
WordNetOntology | wn |
|
Definition at line 14 of file full_filter.cc. References PLearn::pgetline(). |
|
Definition at line 28 of file full_filter.cc. References isAlpha(). |
|
Definition at line 38 of file full_filter.cc. References PLearn::endl(), extractWordSet(), PLearn::WordNetOntology::isInWordNet(), isPunctuation(), PLearn::looksNumeric(), PLearn::lowerstring(), NUMERIC_TAG, PLERROR, PROPER_NOUN_TAG, proper_nouns, PUNCTUATION_TAG, and wn. |
|
Definition at line 10 of file full_filter.cc. Referenced by main(). |
|
Definition at line 11 of file full_filter.cc. Referenced by main(). |
|
Definition at line 12 of file full_filter.cc. Referenced by main(). |