Main Page   Namespace List   Class Hierarchy   Alphabetical List   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 (DOCID_T docID, const Index &dbIndex, double *idfValue, TFIDFParameter::WeightParam &param)
virtual ~TFIDFDocRep ()
virtual double termWeight (TERMID_T termID, const DocInfo *info) const
 term weighting function
See also:
TextQueryRetMethod


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


double docTFWeight (const double rawTF) const

Detailed Description

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


Constructor & Destructor Documentation

TFIDFDocRep::TFIDFDocRep DOCID_T    docID,
const Index   dbIndex,
double *    idfValue,
TFIDFParameter::WeightParam   param
[inline]
 

virtual TFIDFDocRep::~TFIDFDocRep   [inline, virtual]
 


Member Function Documentation

double TFIDFDocRep::docTFWeight const double    rawTF const
 

virtual double TFIDFDocRep::scoreConstant   [inline, virtual]
 

doc-specific constant term in the scoring formula

See also:
TextQueryRetMethod

Implements DocumentRep.

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

term weighting function

See also:
TextQueryRetMethod

Implements DocumentRep.


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