/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/UG/test-domspec.cc File Reference

#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< Tokenmmbitext
typedef Bitext< Token >::tsa tsa
typedef Bitext< Token >::iter iter
typedef imTtrack< Tokenimttrack
typedef imTSA< Tokenimtsa
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


Typedef Documentation

typedef imTSA<Token> imtsa

Definition at line 33 of file test-domspec.cc.

typedef imTtrack<Token> imttrack

Definition at line 32 of file test-domspec.cc.

typedef Bitext<Token>::iter iter

Definition at line 31 of file test-domspec.cc.

typedef mmBitext<Token> mmbitext

Definition at line 29 of file test-domspec.cc.

typedef vector<PhrasePair<Token> > pplist_t

Definition at line 34 of file test-domspec.cc.

typedef PhrasePair<Token>::SortDescendingByJointCount sorter_t

Definition at line 41 of file test-domspec.cc.

typedef L2R_Token<SimpleWordId> Token

Definition at line 28 of file test-domspec.cc.

typedef Bitext<Token>::tsa tsa

Definition at line 30 of file test-domspec.cc.


Function Documentation

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().

Here is the call graph for this function:

void process ( SPTR< Bitext< Token > const > const &  bitext,
TSA< Token >::tree_iterator &  m 
)

Definition at line 103 of file test-domspec.cc.

References sapt::random_sampling, and show().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void show ( Bitext< Token > const &  B,
iter const &  m,
pstats &  stats 
)


Variable Documentation

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.


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