#include "moses/TranslationModel/UG/mm/ug_mm_ttrack.h"
#include "moses/TranslationModel/UG/mm/ug_mm_tsa.h"
#include "moses/TranslationModel/UG/mm/tpt_tokenindex.h"
#include "moses/TranslationModel/UG/mm/ug_corpus_token.h"
#include "moses/TranslationModel/UG/mm/ug_typedefs.h"
#include "moses/TranslationModel/UG/mm/tpt_pickler.h"
#include "moses/TranslationModel/UG/mm/ug_bitext.h"
#include "moses/TranslationModel/UG/mm/ug_lexical_phrase_scorer2.h"
#include "moses/TranslationModel/UG/generic/file_io/ug_stream.h"
Go to the source code of this file.
Typedefs | |
typedef L2R_Token< SimpleWordId > | Token |
Functions | |
SPTR< vector< vector< Token > > > | C (new vector< vector< Token > >()) |
void | add_file (string fname) |
int | main (int argc, char *argv[]) |
Variables | |
TokenIndex | V |
typedef L2R_Token<SimpleWordId> Token |
Definition at line 17 of file calc-coverage.cc.
void add_file | ( | string | fname | ) |
Definition at line 21 of file calc-coverage.cc.
References C(), sapt::fill_token_seq(), and ugdiss::open_input_stream().
Referenced by main().
Referenced by add_file(), main(), and lm::builder::Interpolate::Run().
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 34 of file calc-coverage.cc.
References add_file(), C(), I, k, m, NULL, sapt::TokenIndex::setDynamic(), and T.
Definition at line 18 of file calc-coverage.cc.
Referenced by tpt::binread(), main(), sapt::snt_adder< L2R_Token< SimpleWordId > >::operator()(), MosesTraining::Syntax::Tree< T >::LeafIter< T >::operator++(), and MosesTraining::Syntax::Tree< T >::PreOrderIter< T >::operator++().