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

OkapiScoreFunc Class Reference

The Okapi scoring function. More...

#include <OkapiRetMethod.hpp>

Inheritance diagram for OkapiScoreFunc:

ScoreFunction List of all members.

Public Methods

 OkapiScoreFunc (Index &dbIndex)
virtual double matchedTermWeight (QueryTerm *qTerm, TextQueryRep *qRep, DocInfo *info, DocumentRep *dRep)
 compute the score contribution of a matched term


Protected Attributes

Indexind

Detailed Description

The Okapi scoring function.


Constructor & Destructor Documentation

OkapiScoreFunc::OkapiScoreFunc Index   dbIndex [inline]
 


Member Function Documentation

double OkapiScoreFunc::matchedTermWeight QueryTerm   qTerm,
TextQueryRep   qRep,
DocInfo   info,
DocumentRep   dRep
[virtual]
 

compute the score contribution of a matched term

Reimplemented from ScoreFunction.


Member Data Documentation

Index& OkapiScoreFunc::ind [protected]
 


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