Main Page   Namespace List   Class Hierarchy   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 (int docID, Index &dbIndex, OkapiParameter::TFParam &param)
virtual ~OkapiDocRep ()
virtual double termWeight (int termID, DocInfo *info)
 term weighting function
See also:
TextQueryRetMethod


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



Protected Attributes

Indexind
OkapiParameter::TFParamprm

Detailed Description

Doc representation for Okapi model.


Constructor & Destructor Documentation

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

virtual OkapiDocRep::~OkapiDocRep   [inline, virtual]
 


Member Function Documentation

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

virtual double OkapiDocRep::scoreConstant   [inline, virtual]
 

doc-specific constant term in the scoring formula

See also:
TextQueryRetMethod

Implements DocumentRep.

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

term weighting function

See also:
TextQueryRetMethod

Implements DocumentRep.


Member Data Documentation

Index& OkapiDocRep::ind [protected]
 

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


The documentation for this class was generated from the following file:
Generated on Fri Feb 6 07:12:05 2004 for LEMUR by doxygen1.2.16