/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/UG/mm/mmlex-lookup.cc File Reference

#include <queue>
#include <iomanip>
#include <vector>
#include <iterator>
#include <sstream>
#include <algorithm>
#include <boost/program_options.hpp>
#include <boost/dynamic_bitset.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/foreach.hpp>
#include <boost/thread.hpp>
#include <boost/math/distributions/binomial.hpp>
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
#include "moses/TranslationModel/UG/generic/program_options/ug_get_options.h"
#include "ug_mm_2d_table.h"
#include "ug_mm_ttrack.h"
#include "ug_corpus_token.h"

Go to the source code of this file.

Typedefs

typedef mm2dTable< id_type,
id_type, uint32_t, uint32_t > 
LEX_t
typedef SimpleWordId Token

Functions

void interpret_args (int ac, char *av[])
void lookup_source (ostream &out, id_type r)
void lookup_target (ostream &out, id_type c)
void dump (ostream &out)
int main (int argc, char *argv[])

Variables

string swrd
string twrd
string L1
string L2
string bname
TokenIndex V1
TokenIndex V2
LEX_t LEX


Typedef Documentation

typedef mm2dTable<id_type,id_type,uint32_t,uint32_t> LEX_t

Definition at line 36 of file mmlex-lookup.cc.

Definition at line 37 of file mmlex-lookup.cc.


Function Documentation

void dump ( ostream &  out  ) 

Definition at line 87 of file mmlex-lookup.cc.

References lookup_source(), and sapt::mm2dTable< OFFSET, ID, VAL, INIT >::numRows.

Here is the call graph for this function:

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

Definition at line 26 of file mam2symal.cc.

void lookup_source ( ostream &  out,
id_type  r 
)

Definition at line 48 of file mmlex-lookup.cc.

References sapt::mm2dTable< OFFSET, ID, VAL, INIT >::m1(), sapt::mm2dTable< OFFSET, ID, VAL, INIT >::m2(), sort(), and stop.

Referenced by dump(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

void lookup_target ( ostream &  out,
id_type  c 
)

Definition at line 62 of file mmlex-lookup.cc.

References sapt::mm2dTable< OFFSET, ID, VAL, INIT >::m1(), sapt::mm2dTable< OFFSET, ID, VAL, INIT >::m2(), sapt::mm2dTable< OFFSET, ID, VAL, INIT >::numRows, and sort().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

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


Variable Documentation

string bname

Definition at line 42 of file mmlex-lookup.cc.

string L1

Definition at line 42 of file mmlex-lookup.cc.

string L2

Definition at line 42 of file mmlex-lookup.cc.

Definition at line 44 of file mmlex-lookup.cc.

string swrd

Definition at line 42 of file mmlex-lookup.cc.

Referenced by main().

string twrd

Definition at line 42 of file mmlex-lookup.cc.

Referenced by main().

Definition at line 43 of file mmlex-lookup.cc.

Definition at line 43 of file mmlex-lookup.cc.


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