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

lemur::langmod::InterpUnigramLM Class Reference

Linear interpolation smoothing. More...

#include <UnigramLM.hpp>

Inheritance diagram for lemur::langmod::InterpUnigramLM:

lemur::langmod::SmoothedMLEstimator lemur::langmod::UnigramLM List of all members.

Public Member Functions

 InterpUnigramLM (const lemur::utility::Counter &counter, const string &lexiconID, const UnigramLM &refLM, double refCoeff)
virtual ~InterpUnigramLM ()
virtual double probEstimate (lemur::api::TERMID_T wordIndex, double count, double sum) const
 individual model differs in its implementation of probEstimate() method

Private Attributes

const UnigramLMref
double refC
 coefficient for the reference language model

Detailed Description

Linear interpolation smoothing.

Constructor & Destructor Documentation

lemur::langmod::InterpUnigramLM::InterpUnigramLM const lemur::utility::Counter counter,
const string &  lexiconID,
const UnigramLM refLM,
double  refCoeff

virtual lemur::langmod::InterpUnigramLM::~InterpUnigramLM  )  [inline, virtual]

Member Function Documentation

virtual double lemur::langmod::InterpUnigramLM::probEstimate lemur::api::TERMID_T  wordIndex,
double  count,
double  sum
const [inline, virtual]

individual model differs in its implementation of probEstimate() method

Implements lemur::langmod::SmoothedMLEstimator.

Member Data Documentation

const UnigramLM* lemur::langmod::InterpUnigramLM::ref [private]

double lemur::langmod::InterpUnigramLM::refC [private]

coefficient for the reference language model

The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4