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

TFIDFDocRep Class Reference

Representation of a doc (as a weighted vector) in the TFIDF method. More...

#include <TFIDFRetMethod.hpp>

Inheritance diagram for TFIDFDocRep:

DocumentRep List of all members.

Public Methods

 TFIDFDocRep (int docID,Index &dbIndex,double *idfValue,TFIDFParameter::WeightParam &param)
virtual ~TFIDFDocRep ()
virtual double termWeight (int termID,DocInfo *info)
 term weighting function
See also:
TextQueryRetMethod.


virtual double scoreConstant ()
 doc-specific constant term in the scoring formula
See also:
TextQueryRetMethod.


double docTFWeight (const double rawTF)

Detailed Description

Representation of a doc (as a weighted vector) in the TFIDF method.


Constructor & Destructor Documentation

TFIDFDocRep::TFIDFDocRep ( int docID,
Index & dbIndex,
double * idfValue,
TFIDFParameter::WeightParam & param ) [inline]
 

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


Member Function Documentation

double TFIDFDocRep::docTFWeight ( const double rawTF )
 

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

doc-specific constant term in the scoring formula

See also:
TextQueryRetMethod.

Reimplemented from DocumentRep.

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

term weighting function

See also:
TextQueryRetMethod.

Reimplemented from DocumentRep.


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 18:23:01 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000