#include <boost/program_options.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/format.hpp>
#include <boost/math/distributions/binomial.hpp>
#include "mm/ug_bitext.h"
#include "mm/tpt_typedefs.h"
#include "mm/ug_prime_sampling1.h"
#include "mm/ug_bitext_sampler.h"
#include "mm/ug_phrasepair.h"
#include "mm/ug_lru_cache.h"
#include "generic/sorting/VectorIndexSorter.h"
#include "generic/sorting/NBestList.h"
#include <string>
#include <boost/unordered_map.hpp>
#include "moses/thread_safe_container.h"
#include "mm/ug_prep_phrases.h"
Go to the source code of this file.
Typedefs | |
typedef L2R_Token< SimpleWordId > | Token |
typedef mmBitext< Token > | mmbitext |
typedef Bitext< Token >::tsa | tsa |
typedef Bitext< Token >::iter | iter |
typedef imTtrack< Token > | imttrack |
typedef imTSA< Token > | imtsa |
typedef vector< PhrasePair < Token > > | pplist_t |
typedef PhrasePair< Token > ::SortDescendingByJointCount | sorter_t |
Functions | |
void | interpret_args (int ac, char *av[]) |
void | show (Bitext< Token > const &B, iter const &m, pstats &stats) |
void | process (SPTR< Bitext< Token > const > const &bitext, TSA< Token >::tree_iterator &m) |
int | main (int argc, char *argv[]) |
Variables | |
string | bname |
string | bname1 |
string | bname2 |
string | ifile |
string | L1 |
string | L2 |
string | Q1 |
string | Q2 |
size_t | maxhits |
size_t | cache_size |
sorter_t | sorter |
Definition at line 33 of file test-domspec.cc.
Definition at line 32 of file test-domspec.cc.
Definition at line 31 of file test-domspec.cc.
Definition at line 29 of file test-domspec.cc.
Definition at line 34 of file test-domspec.cc.
Definition at line 41 of file test-domspec.cc.
typedef L2R_Token<SimpleWordId> Token |
Definition at line 28 of file test-domspec.cc.
Definition at line 30 of file test-domspec.cc.
void interpret_args | ( | int | ac, | |
char * | av[] | |||
) |
Definition at line 26 of file mam2symal.cc.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 126 of file test-domspec.cc.
References bname, interpret_args(), L1, L2, m, and process().
Definition at line 103 of file test-domspec.cc.
References sapt::random_sampling, and show().
Referenced by main().
Definition at line 45 of file test-domspec.cc.
References sapt::TSA_tree_iterator< TKN >::ca(), sapt::expand(), Moses::VectorIndexSorter< VAL, COMP, IDX_T >::GetOrder(), NULL, sapt::TSA_tree_iterator< TKN >::str(), and sapt::toString().
string bname |
Definition at line 36 of file test-domspec.cc.
string bname1 |
Definition at line 36 of file test-domspec.cc.
string bname2 |
Definition at line 36 of file test-domspec.cc.
size_t cache_size |
Definition at line 38 of file test-domspec.cc.
string ifile |
Definition at line 36 of file test-domspec.cc.
string L1 |
Definition at line 36 of file test-domspec.cc.
string L2 |
Definition at line 36 of file test-domspec.cc.
size_t maxhits |
Definition at line 37 of file test-domspec.cc.
string Q1 |
Definition at line 36 of file test-domspec.cc.
string Q2 |
Definition at line 36 of file test-domspec.cc.
Definition at line 42 of file test-domspec.cc.
Referenced by util::stream::BlockingSort(), conservative_sort(), Moses::Syntax::F2S::Manager< RuleMatcher >::Decode(), sapt::TSA< TKN >::findBranches(), Moses::Mmsapt::GetTargetPhraseCollectionLEGACY(), sapt::imTSA< TOKEN >::imTSA(), main(), MosesTraining::Syntax::PostprocessEgretForests::ForestWriter::Write(), and writeTable().