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

QueryTextHandler Class Reference

#include <QueryTextHandler.hpp>

Inheritance diagram for QueryTextHandler:

TextHandler List of all members.

Public Methods

 QueryTextHandler ()
char * handleWord (char *word)
 Handle a word, possibly transforming it.

void setIndex (const Index *ind)
 Set the index used to check for acronyms.


Detailed Description

The QueryTextHandler is designed to help parse queries.

The QueryTextHandler checks query terms against an Index and adds the uppercase form of the term to the query if it occurs more frequently than the parsed form passed to the QueryTextHandler. This is to help catch query terms that are acronyms but are not capitalized in the query.


Constructor & Destructor Documentation

QueryTextHandler::QueryTextHandler  
 


Member Function Documentation

char * QueryTextHandler::handleWord char *    word [virtual]
 

Handle a word, possibly transforming it.

Reimplemented from TextHandler.

void QueryTextHandler::setIndex const Index   ind
 

Set the index used to check for acronyms.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:53 2004 for Lemur Toolkit by doxygen1.2.18