#include <XLingDocModel.hpp>
Inheritance diagram for lemur::retrieval::XLingDocModel:

| Public Member Functions | |
| XLingDocModel (lemur::api::DOCID_T docID, const lemur::api::Index *ind, double l, double nt, bool sM=false) | |
| Constructor taking optional parameters for smoothing. | |
| ~XLingDocModel () | |
| virtual double | termWeight (lemur::api::TERMID_T termID, const lemur::api::DocInfo *info) const | 
| Computes term weight for a given term. | |
| virtual double | scoreConstant () const | 
| Protected Attributes | |
| const lemur::api::Index * | refIndex | 
| Index for the collection. | |
| double | numTerms | 
| denominator (number of terms) for background model probability estimate. | |
| double | lambda | 
| smoothing coefficient | |
| bool | docBasedSmooth | 
| Use term frequency (tf/|V|) when false, use term doc frequency (docCount(t)/Sum_w_in_V(docCount(w))) when true for the background model. | |
| 
 | ||||||||||||||||||||||||
| Constructor taking optional parameters for smoothing. 
 
 | 
| 
 | 
| 
 | 
| 
 | 
| Unused. 
 Implements lemur::api::DocumentRep. | 
| 
 | ||||||||||||
| Computes term weight for a given term. 
 
 
 | 
| 
 | 
| Use term frequency (tf/|V|) when false, use term doc frequency (docCount(t)/Sum_w_in_V(docCount(w))) when true for the background model. 
 | 
| 
 | 
| smoothing coefficient 
 | 
| 
 | 
| denominator (number of terms) for background model probability estimate. 
 | 
| 
 | 
| Index for the collection. 
 | 
 1.3.4
 
1.3.4