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

OkapiDocRep Class Reference

Doc representation for Okapi model. More...

#include <OkapiRetMethod.hpp>

Inheritance diagram for OkapiDocRep:

DocumentRep List of all members.

Public Methods

 OkapiDocRep (DOCID_T docID, const Index &dbIndex, OkapiParameter::TFParam &param)
virtual ~OkapiDocRep ()
virtual double termWeight (TERMID_T termID, const DocInfo *info) const
 term weighting function
See also:
TextQueryRetMethod


double BM25TF (double rawTF, double docLength) const
virtual double scoreConstant () const
 doc-specific constant term in the scoring formula
See also:
TextQueryRetMethod



Protected Attributes

const Indexind
OkapiParameter::TFParamprm

Detailed Description

Doc representation for Okapi model.


Constructor & Destructor Documentation

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

virtual OkapiDocRep::~OkapiDocRep   [inline, virtual]
 


Member Function Documentation

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

virtual double OkapiDocRep::scoreConstant   [inline, virtual]
 

doc-specific constant term in the scoring formula

See also:
TextQueryRetMethod

Implements DocumentRep.

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

term weighting function

See also:
TextQueryRetMethod

Implements DocumentRep.


Member Data Documentation

const Index& OkapiDocRep::ind [protected]
 

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


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