#include <InternalStructFeature.h>
Public Member Functions | |
InternalStructFeatureSparse () | |
Protected Member Functions | |
virtual void | add (const std::string *treeFragment, float count, std::vector< float > &denseValues, std::map< std::string, float > &sparseValues) const |
Definition at line 50 of file InternalStructFeature.h.
MosesTraining::InternalStructFeatureSparse::InternalStructFeatureSparse | ( | ) | [inline] |
Definition at line 53 of file InternalStructFeature.h.
References MosesTraining::InternalStructFeature::m_type.
void MosesTraining::InternalStructFeatureSparse::add | ( | const std::string * | treeFragment, | |
float | count, | |||
std::vector< float > & | denseValues, | |||
std::map< std::string, float > & | sparseValues | |||
) | const [protected, virtual] |
Overridden in subclass
Implements MosesTraining::InternalStructFeature.
Definition at line 38 of file InternalStructFeature.cpp.