mosesdecoder/moses-chart-cmd/Main.cpp File Reference

#include <exception>
#include <fstream>
#include "Main.h"
#include "TranslationAnalysis.h"
#include "mbr.h"
#include "IOWrapper.h"
#include "moses/FactorCollection.h"
#include "moses/Manager.h"
#include "moses/Phrase.h"
#include "moses/Util.h"
#include "moses/Timer.h"
#include "moses/Sentence.h"
#include "moses/ConfusionNet.h"
#include "moses/WordLattice.h"
#include "moses/TreeInput.h"
#include "moses/ThreadPool.h"
#include "moses/ChartManager.h"
#include "moses/ChartHypothesis.h"
#include "moses/ChartTrellisPath.h"
#include "moses/ChartTrellisPathList.h"
#include "moses/Incremental.h"
#include "util/usage.hh"

Go to the source code of this file.

Classes

class  TranslationTask

Functions

void fix (std::ostream &stream, size_t size)
bool ReadInput (IOWrapper &ioWrapper, InputTypeEnum inputType, InputType *&source)
int main (int argc, char *argv[])
IOWrapperGetIOWrapper (const StaticData &staticData)


Function Documentation

void fix ( std::ostream &  stream,
size_t  size 
)

Enforce rounding

Definition at line 70 of file Main.cpp.

IOWrapper* GetIOWrapper ( const StaticData staticData  ) 

int main ( int  argc,
char *  argv[] 
)

bool ReadInput ( IOWrapper ioWrapper,
InputTypeEnum  inputType,
InputType *&  source 
)

Definition at line 166 of file Main.cpp.

References Moses::ConfusionNetworkInput, MosesChartCmd::IOWrapper::GetInput(), Moses::SentenceInput, TRACE_ERR, Moses::TreeInputType, and Moses::WordLatticeInput.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


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