#include "mmsapt.h"
#include "moses/Manager.h"
#include "moses/TranslationModel/PhraseDictionaryTreeAdaptor.h"
#include <boost/foreach.hpp>
#include <boost/format.hpp>
#include <boost/tokenizer.hpp>
#include <boost/shared_ptr.hpp>
#include <algorithm>
#include <iostream>
Go to the source code of this file.
Functions | |
vector< FactorType > | fo (1, FactorType(0)) |
ostream & | operator<< (ostream &out, Hypothesis const *x) |
string | translate (string const &source) |
int | main (int argc, char *argv[]) |
Variables | |
vector< FactorType > | ifo |
size_t | lineNumber |
vector<FactorType> fo | ( | 1 | , | |
FactorType(0) | ||||
) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 56 of file sim-pe.cc.
References Moses::Mmsapt::add(), Moses::Parameter::LoadParam(), params, Moses::StaticData::SetVerboseLevel(), and translate().
ostream& operator<< | ( | ostream & | out, | |
Hypothesis const * | x | |||
) |
Definition at line 19 of file sim-pe.cc.
References Moses::Phrase::GetFactor(), Moses::Hypothesis::GetPrevHypo(), and Moses::Phrase::GetSize().
string translate | ( | string const & | source | ) |
Definition at line 37 of file sim-pe.cc.
References Moses::Sentence::Read().
Referenced by xpath_ast_node::eval_string(), and main().
size_t lineNumber |
Definition at line 34 of file sim-pe.cc.
Referenced by MosesTraining::Domain::load(), Moses::Manager::OutputSearchGraphAsHypergraph(), and Moses::Manager::OutputSearchGraphAsSLF().