/disk4/html/www/moses/doxygen/mosesdecoder/moses/ExportInterface.cpp File Reference

#include <exception>
#include <fstream>
#include <sstream>
#include <vector>
#include "util/random.hh"
#include "util/usage.hh"
#include "Hypothesis.h"
#include "Manager.h"
#include "StaticData.h"
#include "TypeDef.h"
#include "Util.h"
#include "Timer.h"
#include "TranslationModel/PhraseDictionary.h"
#include "FF/StatefulFeatureFunction.h"
#include "FF/StatelessFeatureFunction.h"
#include "TranslationTask.h"
#include "ExportInterface.h"
#include <signal.h>

Go to the source code of this file.


Namespaces

namespace  Moses
 $Id$

Functions

void Moses::OutputFeatureWeightsForHypergraph (std::ostream &outputSearchGraphStream)
void signal_handler (int signum)
int run_as_server ()
 run moses in server mode
int batch_run ()
int decoder_main (int argc, char const **argv)

Variables

Parameter params


Function Documentation

int batch_run (  ) 

int decoder_main ( int  argc,
char const **  argv 
)

Called by main function of the command line version of the decoder

Definition at line 314 of file ExportInterface.cpp.

References batch_run(), Moses::FixPrecision(), Moses::Parameter::GetParam(), IFVERBOSE, Moses::Parameter::isParamSpecified(), Moses::Parameter::LoadParam(), Moses::ResetUserTime(), run_as_server(), Moses::ShowWeights(), and TRACE_ERR.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int run_as_server (  ) 

run moses in server mode

Definition at line 161 of file ExportInterface.cpp.

References Moses::Parameter::GetParam(), MosesServer::Server::run(), and UTIL_THROW2.

Referenced by decoder_main().

Here is the call graph for this function:

Here is the caller graph for this function:

void signal_handler ( int  signum  ) 

Definition at line 147 of file ExportInterface.cpp.


Variable Documentation


Generated on Thu Jul 6 00:31:29 2017 for Moses by  doxygen 1.5.9