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

lemur::retrieval::OkapiDocRep Class Reference

Doc representation for Okapi model. More...

#include <OkapiRetMethod.hpp>

Inheritance diagram for lemur::retrieval::OkapiDocRep:

lemur::api::DocumentRep List of all members.

Public Member Functions

 OkapiDocRep (lemur::api::DOCID_T docID, const lemur::api::Index &dbIndex, OkapiParameter::TFParam &param)
virtual ~OkapiDocRep ()
virtual double termWeight (lemur::api::TERMID_T termID, const lemur::api::DocInfo *info) const
double BM25TF (double rawTF, double docLength) const
virtual double scoreConstant () const
 doc-specific constant term in the scoring formula TextQueryRetMethod


Protected Attributes

const lemur::api::Indexind
OkapiParameter::TFParamprm

Detailed Description

Doc representation for Okapi model.


Constructor & Destructor Documentation

lemur::retrieval::OkapiDocRep::OkapiDocRep lemur::api::DOCID_T  docID,
const lemur::api::Index dbIndex,
OkapiParameter::TFParam param
[inline]
 

virtual lemur::retrieval::OkapiDocRep::~OkapiDocRep  )  [inline, virtual]
 


Member Function Documentation

double lemur::retrieval::OkapiDocRep::BM25TF double  rawTF,
double  docLength
const [inline]
 

virtual double lemur::retrieval::OkapiDocRep::scoreConstant  )  const [inline, virtual]
 

doc-specific constant term in the scoring formula TextQueryRetMethod

Implements lemur::api::DocumentRep.

double lemur::retrieval::OkapiDocRep::termWeight lemur::api::TERMID_T  termID,
const lemur::api::DocInfo info
const [inline, virtual]
 


Member Data Documentation

const lemur::api::Index& lemur::retrieval::OkapiDocRep::ind [protected]
 

OkapiParameter::TFParam& lemur::retrieval::OkapiDocRep::prm [protected]
 


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