#include <boost/foreach.hpp>
#include <boost/format.hpp>
#include <boost/tokenizer.hpp>
#include <boost/shared_ptr.hpp>
#include <algorithm>
#include <iostream>
#include "mm/ug_bitext.h"
#include "generic/file_io/ug_stream.h"
#include <string>
#include <sstream>
#include "mm/ug_bitext_sampler.h"
#include <boost/program_options.hpp>
Go to the source code of this file.
Classes | |
struct | mycmp |
Typedefs | |
typedef sapt::L2R_Token < sapt::SimpleWordId > | Token |
typedef mmBitext< Token > | bitext_t |
Functions | |
void | interpret_args (int ac, char *av[]) |
string | basename (string const path) |
void | print_evidence_list (bitext_t const &B, std::map< uint32_t, uint32_t > const &indoc) |
int | main (int argc, char *argv[]) |
Variables | |
size_t | topN |
string | docname |
string | reference_file |
string | domain_name |
string | bname |
string | L1 |
string | L2 |
string | ifile |
Definition at line 24 of file check-coverage3.cc.
typedef sapt::L2R_Token<sapt::SimpleWordId> Token |
Definition at line 23 of file check-coverage3.cc.
string basename | ( | string const | path | ) |
void interpret_args | ( | int | ac, | |
char * | av[] | |||
) |
Definition at line 26 of file mam2symal.cc.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 75 of file check-coverage3.cc.
References basename(), bname, domain_name, sapt::expand(), sapt::PhrasePair< Token >::good1, sapt::PhrasePair< Token >::good2, ifile, sapt::PhrasePair< Token >::indoc, interpret_args(), sapt::PhrasePair< Token >::joint, k, L1, L2, m, NULL, ugdiss::open_input_stream(), sapt::PhrasePair< Token >::p2, print_evidence_list(), sapt::random_sampling, sapt::PhrasePair< Token >::raw1, sapt::PhrasePair< Token >::raw2, reference_file, sort(), sorter, sapt::BitextSampler< Token >::stats(), and topN.
void print_evidence_list | ( | bitext_t const & | B, | |
std::map< uint32_t, uint32_t > const & | indoc | |||
) |
Definition at line 58 of file check-coverage3.cc.
References sapt::Bitext< TKN >::docid2name(), domain_name, and sort().
Referenced by main().
string bname |
Definition at line 30 of file check-coverage3.cc.
string docname |
string domain_name |
string ifile |
string L1 |
Definition at line 30 of file check-coverage3.cc.
string L2 |
Definition at line 30 of file check-coverage3.cc.
string reference_file |
size_t topN |