/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/UG/spe-check-coverage3.cc File Reference

#include "mmsapt.h"
#include "moses/TranslationModel/PhraseDictionaryTreeAdaptor.h"
#include "moses/TranslationModel/UG/generic/program_options/ug_splice_arglist.h"
#include <boost/foreach.hpp>
#include <boost/format.hpp>
#include <boost/tokenizer.hpp>
#include <boost/shared_ptr.hpp>
#include <algorithm>
#include <iostream>
#include <sstream>

Go to the source code of this file.

Typedefs

typedef L2R_Token< SimpleWordIdToken
typedef mmBitext< Tokenmmbitext
typedef imBitext< Tokenimbitext
typedef Bitext< Token >::iter iter

Functions

void show (ostream &out, iter &f)
void dump (ostream &out, iter &f)
void read_data (string fname, vector< string > &dest)
void show_snt (ostream &out, TokenIndex const &V, vector< Token > const &snt, vector< vector< int > > const &a)
void show_pair (size_t const sid)
int main (int argc, char *argv[])

Variables

mmbitext bg
vector< string > src
vector< string > trg
vector< string > aln


Typedef Documentation

Definition at line 19 of file spe-check-coverage3.cc.

typedef Bitext<Token>::iter iter

Definition at line 20 of file spe-check-coverage3.cc.

Definition at line 18 of file spe-check-coverage3.cc.

Definition at line 17 of file spe-check-coverage3.cc.


Function Documentation

void dump ( ostream &  out,
iter f 
)

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

void read_data ( string  fname,
vector< string > &  dest 
)

Definition at line 55 of file spe-check-coverage3.cc.

void show ( ostream &  out,
iter f 
)

void show_pair ( size_t const   sid  ) 

Definition at line 78 of file spe-check-coverage3.cc.

References aln, sapt::fill_token_seq(), k, show_snt(), src, trg, sapt::Bitext< TKN >::V1, and sapt::Bitext< TKN >::V2.

Here is the call graph for this function:

void show_snt ( ostream &  out,
TokenIndex const &  V,
vector< Token > const &  snt,
vector< vector< int > > const &  a 
)

Definition at line 64 of file spe-check-coverage3.cc.

References k.

Referenced by show_pair().

Here is the caller graph for this function:


Variable Documentation

vector<string> aln

Definition at line 22 of file spe-check-coverage3.cc.

vector<string> src

vector<string> trg

Definition at line 23 of file spe-check-coverage3.cc.

Referenced by batch_run(), main(), and show_pair().


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