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

InterpUnigramLM Class Reference

Linear interpolation smoothing. More...

#include <UnigramLM.hpp>

Inheritance diagram for InterpUnigramLM:

SmoothedMLEstimator UnigramLM List of all members.

Public Methods

 InterpUnigramLM (Counter &counter, const char *lexiconID, UnigramLM &refLM, double refCoeff)
virtual ~InterpUnigramLM ()
virtual double probEstimate (int wordIndex, double count, double sum)
 individual model differs in its implementation of probEstimate() method


Private Attributes

UnigramLMref
double refC
 coefficient for the reference language model


Detailed Description

Linear interpolation smoothing.


Constructor & Destructor Documentation

InterpUnigramLM::InterpUnigramLM Counter   counter,
const char *    lexiconID,
UnigramLM   refLM,
double    refCoeff
[inline]
 

virtual InterpUnigramLM::~InterpUnigramLM   [inline, virtual]
 


Member Function Documentation

virtual double InterpUnigramLM::probEstimate int    wordIndex,
double    count,
double    sum
[inline, virtual]
 

individual model differs in its implementation of probEstimate() method

Implements SmoothedMLEstimator.


Member Data Documentation

UnigramLM* InterpUnigramLM::ref [private]
 

double InterpUnigramLM::refC [private]
 

coefficient for the reference language model


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