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

buildSemCor.cc File Reference

#include <plearn_learners/language/WordNet/WordNetOntology.h>

Include dependency graph for buildSemCor.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  ) 
 

int extractFiles vector< string > &  files,
int  n_files
 

Referenced by main().

int main int  argc,
char **  argv
 

Definition at line 9 of file buildSemCor.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::getWord(), PLearn::WordNetOntology::getWordId(), PLearn::WordNetOntology::getWordSenseIdForSenseKey(), PLearn::WordNetOntology::getWordSenses(), PLearn::lowerstring(), PLERROR, PLWARNING, PLearn::WordNetOntology::save(), PLearn::split(), startsWith(), PLearn::toint(), PLearn::tostring(), PLearn::ShellProgressBar::update(), and WNO_ERROR.

bool startsWith string base,
string  s
 

Definition at line 2899 of file WordNetOntology.cc.

Referenced by extractFiles(), PLearn::WordNetOntology::load(), and main().


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