#include <ChartCellLabel.h>
Classes | |
union | Stack |
Public Member Functions | |
ChartCellLabel (const Range &coverage, const Word &label, Stack stack=Stack()) | |
const Range & | GetCoverage () const |
const Word & | GetLabel () const |
Stack | GetStack () const |
Stack & | MutableStack () |
float | GetBestScore (const ChartParserCallback *outColl) const |
is this to hold sorted hypotheses that are in the queue for creating the next hypos?
Definition at line 42 of file ChartCellLabel.h.
Moses::ChartCellLabel::ChartCellLabel | ( | const Range & | coverage, | |
const Word & | label, | |||
Stack | stack = Stack() | |||
) | [inline] |
Definition at line 52 of file ChartCellLabel.h.
float Moses::ChartCellLabel::GetBestScore | ( | const ChartParserCallback * | outColl | ) | const [inline] |
Definition at line 74 of file ChartCellLabel.h.
References Moses::ChartParserCallback::GetBestScore().
const Range& Moses::ChartCellLabel::GetCoverage | ( | ) | const [inline] |
Definition at line 60 of file ChartCellLabel.h.
Referenced by Moses::ChartTranslationOptions::CreateSourceRuleFromInputPath(), Moses::SpanLength::EvaluateWithSourceContext(), Moses::SoftSourceSyntacticConstraintsFeature::EvaluateWithSourceContext(), Moses::NieceTerminal::EvaluateWithSourceContext(), Moses::MaxSpanFreeNonTermSource::EvaluateWithSourceContext(), and Moses::DottedRule::GetWordsRange().
const Word& Moses::ChartCellLabel::GetLabel | ( | ) | const [inline] |
Definition at line 63 of file ChartCellLabel.h.
Referenced by Moses::ChartRuleLookupManagerOnDisk::GetChartRuleCollection(), Moses::ChartRuleLookupManagerExample::GetChartRuleCollection(), Moses::DottedRule::GetSourceWord(), and Moses::DottedRule::IsNonTerminal().
Stack Moses::ChartCellLabel::GetStack | ( | ) | const [inline] |
Definition at line 66 of file ChartCellLabel.h.
Referenced by Moses::ChartTranslationOptionList::Add(), and Moses::ChartTranslationOptionList::GetBestScore().
Stack& Moses::ChartCellLabel::MutableStack | ( | ) | [inline] |
Definition at line 69 of file ChartCellLabel.h.