MosesTraining::RatioDomainFeature Class Reference

#include <DomainFeature.h>

Inheritance diagram for MosesTraining::RatioDomainFeature:

Inheritance graph
Collaboration diagram for MosesTraining::RatioDomainFeature:

Collaboration graph

List of all members.

Public Member Functions

 RatioDomainFeature (const std::string &domainFile)

Protected Member Functions

virtual void add (const std::map< std::string, float > &domainCounts, float count, const MaybeLog &maybeLog, std::vector< float > &denseValues, std::map< std::string, float > &sparseValues) const

Detailed Description

Definition at line 113 of file DomainFeature.h.

Constructor & Destructor Documentation

MosesTraining::RatioDomainFeature::RatioDomainFeature ( const std::string &  domainFile  )  [inline]

Definition at line 116 of file DomainFeature.h.

Member Function Documentation

virtual void MosesTraining::RatioDomainFeature::add ( const std::map< std::string, float > &  domainCounts,
float  count,
const MaybeLog maybeLog,
std::vector< float > &  denseValues,
std::map< std::string, float > &  sparseValues 
) const [protected, virtual]

Overridden in subclass

Implements MosesTraining::DomainFeature.

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

Generated on Thu Jul 6 00:34:06 2017 for Moses by  doxygen 1.5.9