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) |
| 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().


| 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().

| 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().


| void MosesChartCmd::ShiftOffsets | ( | vector< T > & | offsets, | |
| T | shift | |||
| ) | [inline] |
Definition at line 567 of file IOWrapper.cpp.
Referenced by MosesChartCmd::IOWrapper::OutputAlignment(), and MosesChartCmd::IOWrapper::OutputAlignmentNBest().

1.5.9