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]
 

virtual TFIDFDocRep::~TFIDFDocRep   [inline, virtual]
 


Member Function Documentation

double TFIDFDocRep::docTFWeight const double    rawTF
 

virtual double TFIDFDocRep::scoreConstant   [inline, virtual]
 

doc-specific constant term in the scoring formula

See also:
TextQueryRetMethod

Implements DocumentRep.

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

term weighting function

See also:
TextQueryRetMethod

Implements DocumentRep.


The documentation for this class was generated from the following files:
Generated on Mon Sep 30 14:14:25 2002 for LEMUR by doxygen1.2.18