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

RMExpander.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2004 University of Massachusetts.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010  */
00011 
00012 //
00013 // RMExpander
00014 //
00015 // 18 Aug 2004 -- dam
00016 //
00017 
00018 #ifndef INDRI_RMEXPANDER_HPP
00019 #define INDRI_RMEXPANDER_HPP
00020 
00021 #include <string>
00022 #include <vector>
00023 #include <map>
00024 
00025 #include "indri/QueryExpander.hpp"
00026 #include "indri/QueryEnvironment.hpp"
00027 #include "indri/Parameters.hpp"
00028 namespace indri
00029 {
00030   namespace query
00031   {
00032     
00033     class RMExpander : public QueryExpander  {
00034     public:
00035       RMExpander( indri::api::QueryEnvironment * env , indri::api::Parameters& param );
00036 
00037       virtual std::string expand( std::string originalQuery , std::vector<indri::api::ScoredExtentResult>& results );
00038     };
00039   }
00040 }
00041 
00042 #endif

Generated on Tue Jun 15 11:02:55 2010 for Lemur by doxygen 1.3.4