#include <DomainFeature.h>
Public Member Functions | |
SparseSubsetDomainFeature (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 |
Definition at line 71 of file DomainFeature.h.
MosesTraining::SparseSubsetDomainFeature::SparseSubsetDomainFeature | ( | const std::string & | domainFile | ) | [inline] |
Definition at line 74 of file DomainFeature.h.
virtual void MosesTraining::SparseSubsetDomainFeature::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.