#include <NonTermContextProperty.h>
Public Member Functions | |
ProbStore () | |
float | GetProb (size_t contextInd, const Factor *factor, float smoothConstant) const |
float | GetSize (size_t index) const |
void | AddToMap (size_t index, const Factor *factor, float count) |
Definition at line 36 of file NonTermContextProperty.h.
Moses::NonTermContextProperty::ProbStore::ProbStore | ( | ) | [inline] |
Definition at line 50 of file NonTermContextProperty.h.
void Moses::NonTermContextProperty::ProbStore::AddToMap | ( | size_t | index, | |
const Factor * | factor, | |||
float | count | |||
) |
Definition at line 84 of file NonTermContextProperty.cpp.
Referenced by Moses::NonTermContextProperty::AddToMap().
float Moses::NonTermContextProperty::ProbStore::GetProb | ( | size_t | contextInd, | |
const Factor * | factor, | |||
float | smoothConstant | |||
) | const |
float Moses::NonTermContextProperty::ProbStore::GetSize | ( | size_t | index | ) | const [inline] |
Definition at line 59 of file NonTermContextProperty.h.