#include <TextHandlerManager.hpp>
Static Public Member Functions | |
Parser * | createParser (string type="", string acros="") |
Stemmer * | createStemmer (string type="", string datadir="", string func="") |
Stopper * | createStopper (string filename="") |
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.
|
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 |
|
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 |
|
as of now, there is only 1 stopper so no type is passed in. this can easily be changed. "stopwords" param for filename |