#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>
Go to the source code of this file.
Typedefs | |
typedef L2R_Token< SimpleWordId > | Token |
typedef mmBitext< Token > | mmbitext |
typedef imBitext< Token > | imbitext |
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) |
int | main (int argc, char *argv[]) |
Variables | |
mmbitext | bg |
Definition at line 18 of file spe-check-coverage2.cc.
Definition at line 17 of file spe-check-coverage2.cc.
typedef L2R_Token<SimpleWordId> Token |
Definition at line 16 of file spe-check-coverage2.cc.
void dump | ( | ostream & | out, | |
iter & | f | |||
) |
Definition at line 37 of file spe-check-coverage2.cc.
References sapt::TSA_tree_iterator< TKN >::approxOccurrenceCount(), sapt::TSA_tree_iterator< TKN >::down(), dump(), sapt::TSA_tree_iterator< TKN >::over(), show(), sapt::TSA_tree_iterator< TKN >::size(), and sapt::TSA_tree_iterator< TKN >::up().
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 61 of file spe-check-coverage2.cc.
References aln, dump(), sapt::mmBitext< TKN >::open(), read_data(), src, trg, sapt::Bitext< TKN >::V1, and sapt::Bitext< TKN >::V2.
void read_data | ( | string | fname, | |
vector< string > & | dest | |||
) |
Definition at line 53 of file spe-check-coverage2.cc.
Referenced by main().
void show | ( | ostream & | out, | |
iter & | f | |||
) |
Definition at line 24 of file spe-check-coverage2.cc.
References sapt::TSA_tree_iterator< TKN >::approxOccurrenceCount(), sapt::TSA_tree_iterator< TKN >::getToken(), sapt::Bitext< TKN >::I2, sapt::TSA_tree_iterator< TKN >::size(), sapt::TSA_tree_iterator< TKN >::str(), and sapt::Bitext< TKN >::V1.
Referenced by dump(), and process().
Definition at line 21 of file spe-check-coverage2.cc.
Referenced by BOOST_AUTO_TEST_CASE(), and main().