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

lemur::api::TextHandlerManager Class Reference

Factory class for creating a Parser, Stemmer, or Stopper. More...

#include <TextHandlerManager.hpp>

List of all members.

Static Public Member Functions

ParsercreateParser (string type="", string acros="")
StemmercreateStemmer (string type="", string datadir="", string func="")
StoppercreateStopper (string filename="")


Detailed Description

Factory class for creating a Parser, Stemmer, or Stopper.

Object types will be created from the specified name. If no name is specified, will try to get name from parameter stack. People adding new TH objects can do so here, and existing applications using this THManager will be able to make use of them without modification.


Member Function Documentation

lemur::api::Parser * lemur::api::TextHandlerManager::createParser string  type = "",
string  acros = ""
[static]
 

current known types are trec, web, chinese, chinesechar and arabic if nothing is passed in and nothing is on param stack, return NULL checks for "docFormat" parameter for type checks for "acronyms" parameter for acronyms list

lemur::api::Stemmer * lemur::api::TextHandlerManager::createStemmer string  type = "",
string  datadir = "",
string  func = ""
[static]
 

current known types are proter, krovetz, and arabic if nothing is passed in and nothing is on param stack, return NULL checks for "stemmer" parameter for type "arabicStemDir" for datadir "arabicStemFunc" for func

lemur::api::Stopper * lemur::api::TextHandlerManager::createStopper string  filename = ""  )  [static]
 

as of now, there is only 1 stopper so no type is passed in. this can easily be changed. "stopwords" param for filename


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:05 2010 for Lemur by doxygen 1.3.4