symshiftbeta Class Reference

#include <shiftlm.h>

Inheritance diagram for symshiftbeta:

Inheritance graph
Collaboration diagram for symshiftbeta:

Collaboration graph

List of all members.

Public Member Functions

 symshiftbeta (char *ngtfile, int depth=0, int prunefreq=0, double beta=-1)
int discount (ngram ng, int size, double &fstar, double &lambda, int cv=0)

Detailed Description

Definition at line 54 of file shiftlm.h.

Constructor & Destructor Documentation

symshiftbeta::symshiftbeta ( char *  ngtfile,
int  depth = 0,
int  prunefreq = 0,
double  beta = -1 
) [inline]

Definition at line 57 of file shiftlm.h.

Member Function Documentation

int symshiftbeta::discount ( ngram  ng,
int  size,
double &  fstar,
double &  lambda,
int  cv = 0 
) [virtual]

Reimplemented from shiftbeta.

Definition at line 541 of file shiftlm.cpp.

References shiftbeta::beta, ngramtable::dict, ngramtable::entries(), ngram::freq, ngramtable::totfreq(), ngram::trans(), interplm::unigr(), and ngram::wordp().

Here is the call graph for this function:

The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:32:02 2017 for Moses by  doxygen 1.5.9