#include <QueryTextHandler.hpp>
Inheritance diagram for lemur::parse::QueryTextHandler:
Public Member Functions | |
QueryTextHandler () | |
char * | handleWord (char *word) |
Handle a word, possibly transforming it. | |
void | setIndex (const lemur::api::Index *ind) |
Set the index used to check for acronyms. | |
Private Attributes | |
const lemur::api::Index * | index |
The Index that will be used for acronym checking. |
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.
|
|
|
Handle a word, possibly transforming it.
Reimplemented from lemur::api::TextHandler. |
|
Set the index used to check for acronyms.
|
|
The Index that will be used for acronym checking.
|