Moses::ChartCellLabel Class Reference

#include <ChartCellLabel.h>

Collaboration diagram for Moses::ChartCellLabel:

Collaboration graph
[legend]

List of all members.

Classes

union  Stack

Public Member Functions

 ChartCellLabel (const Range &coverage, const Word &label, Stack stack=Stack())
const RangeGetCoverage () const
const WordGetLabel () const
Stack GetStack () const
StackMutableStack ()
float GetBestScore (const ChartParserCallback *outColl) const


Detailed Description

Contains a range, word (non-terms?) and a vector of hypotheses.
Todo:
This is probably incompatible with lattice decoding when the word that spans a position (or positions) can vary.

is this to hold sorted hypotheses that are in the queue for creating the next hypos?

Definition at line 42 of file ChartCellLabel.h.


Constructor & Destructor Documentation

Moses::ChartCellLabel::ChartCellLabel ( const Range coverage,
const Word label,
Stack  stack = Stack() 
) [inline]

Definition at line 52 of file ChartCellLabel.h.


Member Function Documentation

float Moses::ChartCellLabel::GetBestScore ( const ChartParserCallback outColl  )  const [inline]

Definition at line 74 of file ChartCellLabel.h.

References Moses::ChartParserCallback::GetBestScore().

Here is the call graph for this function:

const Range& Moses::ChartCellLabel::GetCoverage (  )  const [inline]

const Word& Moses::ChartCellLabel::GetLabel (  )  const [inline]

Stack Moses::ChartCellLabel::GetStack (  )  const [inline]

Definition at line 66 of file ChartCellLabel.h.

Referenced by Moses::ChartTranslationOptionList::Add(), and Moses::ChartTranslationOptionList::GetBestScore().

Here is the caller graph for this function:

Stack& Moses::ChartCellLabel::MutableStack (  )  [inline]

Definition at line 69 of file ChartCellLabel.h.


The documentation for this class was generated from the following file:

Generated on Thu Jul 6 00:32:53 2017 for Moses by  doxygen 1.5.9