mosesdecoder/moses-cmd/IOWrapper.cpp File Reference

#include <iostream>
#include <stack>
#include <boost/algorithm/string.hpp>
#include "moses/TypeDef.h"
#include "moses/Util.h"
#include "moses/Hypothesis.h"
#include "moses/WordsRange.h"
#include "moses/TrellisPathList.h"
#include "moses/StaticData.h"
#include "moses/FeatureVector.h"
#include "moses/InputFileStream.h"
#include "IOWrapper.h"

Go to the source code of this file.

Namespaces

namespace  MosesCmd

Functions

void MosesCmd::OutputSurface (std::ostream &out, const Hypothesis &edge, const std::vector< FactorType > &outputFactorOrder, bool reportSegmentation, bool reportAllFactors)
void MosesCmd::OutputBestSurface (std::ostream &out, const Hypothesis *hypo, const std::vector< FactorType > &outputFactorOrder, bool reportSegmentation, bool reportAllFactors)
void MosesCmd::OutputAlignment (ostream &out, const AlignmentInfo &ai, size_t sourceOffset, size_t targetOffset)
void MosesCmd::OutputAlignment (ostream &out, const vector< const Hypothesis * > &edges)
void MosesCmd::OutputAlignment (std::ostream &out, const Moses::Hypothesis *hypo)
void MosesCmd::OutputAlignment (OutputCollector *collector, size_t lineNo, const vector< const Hypothesis * > &edges)
void MosesCmd::OutputAlignment (OutputCollector *collector, size_t lineNo, const Hypothesis *hypo)
void MosesCmd::OutputAlignment (OutputCollector *collector, size_t lineNo, const TrellisPath &path)
void MosesCmd::OutputBestHypo (const Moses::TrellisPath &path, long, bool reportSegmentation, bool reportAllFactors, std::ostream &out)
void MosesCmd::OutputBestHypo (const std::vector< Word > &mbrBestHypo, long, bool, bool, ostream &out)
void MosesCmd::OutputInput (std::vector< const Phrase * > &map, const Hypothesis *hypo)
void MosesCmd::OutputInput (std::ostream &os, const Hypothesis *hypo)
void MosesCmd::OutputNBest (std::ostream &out, const Moses::TrellisPathList &nBestList, const std::vector< Moses::FactorType > &outputFactorOrder, long translationId, bool reportSegmentation)
void MosesCmd::OutputAllFeatureScores (const Moses::ScoreComponentCollection &features, std::ostream &out)
void MosesCmd::OutputFeatureScores (std::ostream &out, const ScoreComponentCollection &features, const FeatureFunction *ff, std::string &lastName)
void MosesCmd::OutputLatticeMBRNBest (std::ostream &out, const vector< LatticeMBRSolution > &solutions, long translationId)
bool MosesCmd::ReadInput (IOWrapper &ioWrapper, InputTypeEnum inputType, InputType *&source)
IOWrapper * MosesCmd::GetIOWrapper (const StaticData &staticData)


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