Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

buildBrown.cc File Reference

#include <plearn_learners/language/WordNet/WordNetOntology.h>
#include <plearn/io/TypesNumeriques.h>

Include dependency graph for buildBrown.cc:

Include dependency graph

Go to the source code of this file.

Functions

bool startsWith (string &base, string s)
int extractFiles (vector< string > &files, int n_files)
int convertPOS2WNO (string pos)
int main (int argc, char **argv)


Function Documentation

int convertPOS2WNO string  pos  ) 
 

Definition at line 279 of file buildBrown.cc.

References ADJ_TYPE, ADV_TYPE, NOUN_TYPE, UNDEFINED_TYPE, and VERB_TYPE.

int extractFiles vector< string > &  files,
int  n_files
 

Definition at line 242 of file buildBrown.cc.

References PLearn::endl(), and startsWith().

int main int  argc,
char **  argv
 

Definition at line 10 of file buildBrown.cc.

References ALL_WN_TYPE, PLearn::binwrite(), BOS_TAG, c_str(), PLearn::Set::contains(), PLearn::WordNetOntology::containsWord(), PLearn::ShellProgressBar::done(), PLearn::ShellProgressBar::draw(), PLearn::endl(), EOS_TAG, extractFiles(), PLearn::WordNetOntology::extractWord(), PLearn::WordNetOntology::getAllWords(), PLearn::WordNetOntology::getWord(), PLearn::WordNetOntology::getWordId(), PLearn::WordNetOntology::getWordSenseIdForSenseKey(), PLearn::WordNetOntology::getWordSenses(), PLearn::ShellProgressBar::init(), PLearn::looksNumeric(), PLearn::lowerstring(), NUMERIC_TAG, OOV_TAG, PLERROR, PLWARNING, PROPER_NOUN_TAG, PLearn::ShellProgressBar::reset(), PLearn::WordNetOntology::save(), PLearn::ShellProgressBar::set(), PLearn::Set::size(), PLearn::split(), startsWith(), PLearn::stemWord(), PLearn::toint(), PLearn::tostring(), PLearn::ShellProgressBar::update(), and WNO_ERROR.

bool startsWith string base,
string  s
 

Definition at line 2899 of file WordNetOntology.cc.


Generated on Tue Aug 17 16:12:29 2004 for PLearn by doxygen 1.3.7