Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::query::TFIDFExpander Class Reference

#include <TFIDFExpander.hpp>

Inheritance diagram for indri::query::TFIDFExpander:

indri::query::QueryExpander List of all members.

Public Member Functions

 TFIDFExpander (indri::api::QueryEnvironment *env, indri::api::Parameters &param)
virtual std::string expand (std::string originalQuery, std::vector< indri::api::ScoredExtentResult > &results)

Private Member Functions

std::string _buildQuery (double originalWeight, const std::vector< std::pair< std::string, double > > &expansionTerms)

Constructor & Destructor Documentation

indri::query::TFIDFExpander::TFIDFExpander indri::api::QueryEnvironment env,
indri::api::Parameters param
 


Member Function Documentation

std::string indri::query::TFIDFExpander::_buildQuery double  originalWeight,
const std::vector< std::pair< std::string, double > > &  expansionTerms
[private]
 

std::string indri::query::TFIDFExpander::expand std::string  originalQuery,
std::vector< indri::api::ScoredExtentResult > &  results
[virtual]
 

Implements indri::query::QueryExpander.


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:03 2010 for Lemur by doxygen 1.3.4