Main Page   Namespace List   Class Hierarchy   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 (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 Index   ind
 

Set the index used to check for acronyms.


The documentation for this class was generated from the following files:
Generated on Mon Sep 30 14:14:17 2002 for LEMUR by doxygen1.2.18