MosesChartCmd Namespace Reference


Classes

class  IOWrapper

Functions

void OutputSurface (std::ostream &out, const Phrase &phrase, const std::vector< FactorType > &outputFactorOrder, bool reportAllFactors)
void OutputSurface (std::ostream &out, const ChartHypothesis *hypo, const std::vector< FactorType > &outputFactorOrder, bool reportSegmentation, bool reportAllFactors)
template<class T >
void ShiftOffsets (vector< T > &offsets, T shift)
size_t CalcSourceSize (const Moses::ChartHypothesis *hypo)

Function Documentation

size_t MosesChartCmd::CalcSourceSize ( const Moses::ChartHypothesis hypo  ) 

Definition at line 580 of file IOWrapper.cpp.

References Moses::ChartHypothesis::GetCurrSourceRange(), Moses::WordsRange::GetNumWordsCovered(), and Moses::ChartHypothesis::GetPrevHypos().

Referenced by MosesChartCmd::IOWrapper::OutputAlignment(), and MosesChartCmd::IOWrapper::OutputAlignmentNBest().

Here is the call graph for this function:

Here is the caller graph for this function:

void MosesChartCmd::OutputSurface ( std::ostream &  out,
const ChartHypothesis hypo,
const std::vector< FactorType > &  outputFactorOrder,
bool  reportSegmentation,
bool  reportAllFactors 
)

Definition at line 187 of file IOWrapper.cpp.

References Moses::ChartHypothesis::GetPrevHypos(), NULL, and OutputSurface().

Here is the call graph for this function:

void MosesChartCmd::OutputSurface ( std::ostream &  out,
const Phrase phrase,
const std::vector< FactorType > &  outputFactorOrder,
bool  reportAllFactors 
)

Definition at line 164 of file IOWrapper.cpp.

References CHECK, Moses::Phrase::GetFactor(), and Moses::Phrase::GetSize().

Referenced by MosesChartCmd::IOWrapper::OutputNBestList(), and OutputSurface().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T >
void MosesChartCmd::ShiftOffsets ( vector< T > &  offsets,
shift 
) [inline]

Definition at line 567 of file IOWrapper.cpp.

Referenced by MosesChartCmd::IOWrapper::OutputAlignment(), and MosesChartCmd::IOWrapper::OutputAlignmentNBest().

Here is the caller graph for this function:


Generated on Thu Jun 4 00:32:55 2015 for Moses by  doxygen 1.5.9