mosesdecoder/moses-cmd/IOWrapper.h File Reference

#include <cassert>
#include <fstream>
#include <ostream>
#include <vector>
#include "util/check.hh"
#include "moses/TypeDef.h"
#include "moses/Sentence.h"
#include "moses/FactorTypeSet.h"
#include "moses/FactorCollection.h"
#include "moses/Hypothesis.h"
#include "moses/OutputCollector.h"
#include "moses/TrellisPathList.h"
#include "moses/InputFileStream.h"
#include "moses/InputType.h"
#include "moses/WordLattice.h"
#include "LatticeMBR.h"

Go to the source code of this file.

Classes

class  MosesCmd::IOWrapper

Namespaces

namespace  Moses
namespace  MosesCmd

Functions

IOWrapper * MosesCmd::GetIOWrapper (const StaticData &staticData)
bool MosesCmd::ReadInput (IOWrapper &ioWrapper, InputTypeEnum inputType, InputType *&source)
void MosesCmd::OutputBestSurface (std::ostream &out, const Moses::Hypothesis *hypo, const std::vector< Moses::FactorType > &outputFactorOrder, bool reportSegmentation, bool reportAllFactors)
void MosesCmd::OutputLatticeMBRNBest (std::ostream &out, const std::vector< LatticeMBRSolution > &solutions, long translationId)
void MosesCmd::OutputBestHypo (const std::vector< Moses::Word > &mbrBestHypo, long, bool reportSegmentation, bool reportAllFactors, std::ostream &out)
void MosesCmd::OutputBestHypo (const Moses::TrellisPath &path, long, bool reportSegmentation, bool reportAllFactors, std::ostream &out)
void MosesCmd::OutputInput (std::ostream &os, const Hypothesis *hypo)
void MosesCmd::OutputAlignment (OutputCollector *collector, size_t lineNo, const Hypothesis *hypo)
void MosesCmd::OutputAlignment (OutputCollector *collector, size_t lineNo, const TrellisPath &path)
void MosesCmd::OutputAlignment (std::ostream &out, const Moses::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)


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