Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CommandInterp Class Reference

The command interpretor for interacting with a PDict. More...

List of all members.

Public Member Functions

 CommandInterp ()
 ~CommandInterp ()
bool process (string &cmd)
void process (int argc, char *argv[])
void usage (bool cmdLine=false)
bool create (string &name, string &infile, string &delim)
void open (string &name)
void merge (string &firstname, string &secondname, string &newname)
void subtract (string &name)
void dump (string &name, string &delim)
void close ()
void normalize ()
void stats ()
void lookup (string &term)

Private Attributes

lemur::dictionary::PDict * dict
Stemmer * sourceStemmer
Stemmer * targetStemmer
Stopper * sourceStopper
Stopper * targetStopper


Detailed Description

The command interpretor for interacting with a PDict.


Constructor & Destructor Documentation

CommandInterp::CommandInterp (   )  [inline]
 

CommandInterp::~CommandInterp (   )  [inline]
 


Member Function Documentation

void CommandInterp::close (   )  [inline]
 

bool CommandInterp::create (  string &  name,
string &  infile,
string &  delim
)  [inline]
 

void CommandInterp::dump (  string &  name,
string &  delim
)  [inline]
 

void CommandInterp::lookup (  string &  term  )  [inline]
 

void CommandInterp::merge (  string &  firstname,
string &  secondname,
string &  newname
)  [inline]
 

void CommandInterp::normalize (   )  [inline]
 

void CommandInterp::open (  string &  name  )  [inline]
 

void CommandInterp::process (  int  argc,
char *  argv[]
)  [inline]
 

bool CommandInterp::process (  string &  cmd  )  [inline]
 

void CommandInterp::stats (   )  [inline]
 

void CommandInterp::subtract (  string &  name  )  [inline]
 

void CommandInterp::usage (  bool  cmdLine = false  )  [inline]
 


Member Data Documentation

lemur::dictionary::PDict* CommandInterp::dict [private]
 

Stemmer* CommandInterp::sourceStemmer [private]
 

Stopper* CommandInterp::sourceStopper [private]
 

Stemmer * CommandInterp::targetStemmer [private]
 

Stopper * CommandInterp::targetStopper [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:02:58 2010 for Lemur by doxygen 1.3.4