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]
 

OkapiDocRep::~OkapiDocRep ( ) [inline, virtual]
 


Member Function Documentation

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

double OkapiDocRep::scoreConstant ( ) [inline, virtual]
 

doc-specific constant term in the scoring formula

See also:
TextQueryRetMethod.

Reimplemented from DocumentRep.

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

term weighting function

See also:
TextQueryRetMethod.

Reimplemented from 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 at Fri Jul 26 18:22:53 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000