/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/UG/test-ranked-phrase-lookup.cc File Reference

#include <boost/program_options.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/format.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 ThreadSafeContainer
< uint64_t, sptr< pstats > > 
permacache_t

Functions

void interpret_args (int ac, char *av[])
sptr< imttrackread_input (TokenIndex &V)
void dump (iter &m, TokenIndex &V)
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


Typedef Documentation

typedef imTSA<Token> imtsa

Definition at line 30 of file test-ranked-phrase-lookup.cc.

typedef imTtrack<Token> imttrack

Definition at line 29 of file test-ranked-phrase-lookup.cc.

typedef Bitext<Token>::iter iter

Definition at line 28 of file test-ranked-phrase-lookup.cc.

typedef mmBitext<Token> mmbitext

Definition at line 25 of file test-ranked-phrase-lookup.cc.

typedef ThreadSafeContainer<uint64_t, sptr<pstats> > permacache_t

Definition at line 59 of file test-ranked-phrase-lookup.cc.

typedef L2R_Token<SimpleWordId> Token

Definition at line 24 of file test-ranked-phrase-lookup.cc.

typedef Bitext<Token>::tsa tsa

Definition at line 26 of file test-ranked-phrase-lookup.cc.


Function Documentation

void dump ( iter m,
TokenIndex &  V 
)

void interpret_args ( int  ac,
char *  av[] 
)

Definition at line 26 of file mam2symal.cc.

References A3filename, bname, cfgFile, conll, dataFormat, debug, ugdiss::get_options(), inv, L1, L2, mamfile, mamname, mct, mtt, mtt1name, mtt2name, o1name, o2name, range, sform, skip, store(), with_positions, and with_sids.

Here is the call graph for this function:

int main ( int  argc,
char *  argv[] 
)

sptr<imttrack> read_input ( TokenIndex &  V  ) 

Definition at line 38 of file test-ranked-phrase-lookup.cc.

References sapt::fill_token_seq(), and ifile.

Here is the call graph for this function:


Variable Documentation

string bname

Definition at line 32 of file test-ranked-phrase-lookup.cc.

string bname1

Definition at line 32 of file test-ranked-phrase-lookup.cc.

string bname2

Definition at line 32 of file test-ranked-phrase-lookup.cc.

size_t cache_size

Definition at line 34 of file test-ranked-phrase-lookup.cc.

string ifile

Definition at line 32 of file test-ranked-phrase-lookup.cc.

string L1

Definition at line 32 of file test-ranked-phrase-lookup.cc.

string L2

Definition at line 32 of file test-ranked-phrase-lookup.cc.

size_t maxhits

Definition at line 33 of file test-ranked-phrase-lookup.cc.

string Q1

Definition at line 32 of file test-ranked-phrase-lookup.cc.

string Q2

Definition at line 32 of file test-ranked-phrase-lookup.cc.


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