linearwb Class Reference

#include <linearlm.h>

Inheritance diagram for linearwb:

Inheritance graph
Collaboration diagram for linearwb:

Collaboration graph

List of all members.

Public Member Functions

 linearwb (char *ngtfile, int depth=0, int prunefreq=0, TABLETYPE tt=SHIFTBETA_B)
int train ()
int discount (ngram ng, int size, double &fstar, double &lambda, int cv=0)
 ~linearwb ()

Detailed Description

Definition at line 26 of file linearlm.h.

Constructor & Destructor Documentation

linearwb::linearwb ( char *  ngtfile,
int  depth = 0,
int  prunefreq = 0,

Definition at line 44 of file linearlm.cpp.

linearwb::~linearwb (  )  [inline]

Definition at line 34 of file linearlm.h.

Member Function Documentation

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

int linearwb::train (  )  [virtual]

Reimplemented from interplm.

Definition at line 55 of file linearlm.cpp.

References interplm::gensuccstat(), and interplm::trainunigr().

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:31:48 2017 for Moses by  doxygen 1.5.9