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

RetMethodManager Class Reference

#include <RetMethodManager.hpp>

List of all members.

Public Types

enum  RetModel {
  UNKNOWN = -1, TFIDF = 0, OKAPI = 1, KL = 2,
  INQUERY = 3, CORI_CS = 4, COS = 5, INQ_STRUCT = 6,
  INDRI = 7
}

Static Public Methods

RetrievalMethod * createModel (const Index *ind, ArrayAccumulator *accum, RetModel type)
 use specified model or check in parameters

RetrievalMethod * createModel (const Index *ind, ArrayAccumulator *accum, string type="")
 use specified model or check in parameters

IndexedRealVector * runQuery (const string &query, const Index *index, const string &modeltype, const string &stopfile="", const string &stemtype="", const string &datadir="", const string &func="")
IndexedRealVector * runTextQuery (const string &query, TextQueryRetMethod *model, const string &stopfile="", const string &stemtype="", const string &datadir="", const string &func="")
IndexedRealVector * runStructQuery (const string &query, StructQueryRetMethod *model, const string &stopfile="", const string &stemtype="", const string &datadir="", const string &func="")


Member Enumeration Documentation

enum RetMethodManager::RetModel
 

Enumeration values:
UNKNOWN 
TFIDF 
OKAPI 
KL 
INQUERY 
CORI_CS 
COS 
INQ_STRUCT 
INDRI 


Member Function Documentation

RetrievalMethod * RetMethodManager::createModel (  const Index *    ind,
ArrayAccumulator *    accum,
string    type = ""
)  [static]
 

use specified model or check in parameters

RetrievalMethod * RetMethodManager::createModel (  const Index *    ind,
ArrayAccumulator *    accum,
RetModel    type
)  [static]
 

use specified model or check in parameters

IndexedRealVector * RetMethodManager::runQuery (  const string &    query,
const Index *    index,
const string &    modeltype,
const string &    stopfile = "",
const string &    stemtype = "",
const string &    datadir = "",
const string &    func = ""
)  [static]
 

automatically generate retrieval and query models from the given query stopword file and stemmer are optional specify model using string type name query terms delimited by space delete IndexedRealVector

IndexedRealVector * RetMethodManager::runStructQuery (  const string &    query,
StructQueryRetMethod *    model,
const string &    stopfile = "",
const string &    stemtype = "",
const string &    datadir = "",
const string &    func = ""
)  [static]
 

automatically generate query models from the given query and run through given retrieval model. stopword file and stemmer are optional query terms delimited by space delete IndexedRealVector returned

IndexedRealVector * RetMethodManager::runTextQuery (  const string &    query,
TextQueryRetMethod *    model,
const string &    stopfile = "",
const string &    stemtype = "",
const string &    datadir = "",
const string &    func = ""
)  [static]
 

automatically generate query models from the given query and run through given retrieval model. stopword file and stemmer are optional query terms delimited by space delete IndexedRealVector returned


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