Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TextHandlerManager Class Reference

#include <TextHandlerManager.hpp>

List of all members.

Static Public Methods

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


Detailed Description

This TextHandlerManager offers static methods for creating known TextHandler objects. 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

Parser * 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

Stemmer * 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 "KstemmerDir" or "arabicStemDir" for datadir "arabicStemFunc" for func

Stopper * 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 Wed Nov 3 12:59:57 2004 for Lemur Toolkit by doxygen1.2.18