

Public Member Functions | |
| MockStatelessFeatureFunction (size_t n, const string &line) | |
| void | EvaluateWhenApplied (const Hypothesis &, ScoreComponentCollection *) const | 
| void | EvaluateWhenApplied (const ChartHypothesis &, ScoreComponentCollection *) const | 
| void | EvaluateWithSourceContext (const InputType &input, const InputPath &inputPath, const TargetPhrase &targetPhrase, const StackVec *stackVec, ScoreComponentCollection &scoreBreakdown, ScoreComponentCollection *estimatedScores) const | 
| void | EvaluateTranslationOptionListWithSourceContext (const InputType &input, const TranslationOptionList &translationOptionList) const | 
| void | EvaluateInIsolation (const Phrase &source, const TargetPhrase &targetPhrase, ScoreComponentCollection &scoreBreakdown, ScoreComponentCollection &estimatedScores) const | 
Definition at line 32 of file ScoreComponentCollectionTest.cpp.
| MockStatelessFeatureFunction::MockStatelessFeatureFunction | ( | size_t | n, | |
| const string & | line | |||
| ) |  [inline] | 
        
Definition at line 35 of file ScoreComponentCollectionTest.cpp.
| void MockStatelessFeatureFunction::EvaluateInIsolation | ( | const Phrase & | source, | |
| const TargetPhrase & | targetPhrase, | |||
| ScoreComponentCollection & | scoreBreakdown, | |||
| ScoreComponentCollection & | estimatedScores | |||
| ) |  const [inline, virtual] | 
        
| void MockStatelessFeatureFunction::EvaluateTranslationOptionListWithSourceContext | ( | const InputType & | input, | |
| const TranslationOptionList & | translationOptionList | |||
| ) |  const [inline, virtual] | 
        
| void MockStatelessFeatureFunction::EvaluateWhenApplied | ( | const ChartHypothesis & | hypo, | |
| ScoreComponentCollection * | accumulator | |||
| ) |  const [inline, virtual] | 
        
Same for chart-based features.
Implements Moses::StatelessFeatureFunction.
Definition at line 38 of file ScoreComponentCollectionTest.cpp.
| void MockStatelessFeatureFunction::EvaluateWhenApplied | ( | const Hypothesis & | hypo, | |
| ScoreComponentCollection * | accumulator | |||
| ) |  const [inline, virtual] | 
        
This should be implemented for features that apply to phrase-based models.
Implements Moses::StatelessFeatureFunction.
Definition at line 37 of file ScoreComponentCollectionTest.cpp.
| void MockStatelessFeatureFunction::EvaluateWithSourceContext | ( | const InputType & | input, | |
| const InputPath & | inputPath, | |||
| const TargetPhrase & | targetPhrase, | |||
| const StackVec * | stackVec, | |||
| ScoreComponentCollection & | scoreBreakdown, | |||
| ScoreComponentCollection * | estimatedScores | |||
| ) |  const [inline, virtual] | 
        
 1.5.9