/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/UG/bitext-find.cc File Reference

#include <boost/program_options.hpp>
#include "mm/ug_bitext.h"
#include <string>

Go to the source code of this file.

Typedefs

typedef L2R_Token< SimpleWordIdToken
typedef mmBitext< Tokenmmbitext
typedef Bitext< Token >::tsa tsa

Functions

void interpret_args (int ac, char *av[])
void write_sentence (Ttrack< Token > const &T, uint32_t const sid, TokenIndex const &V, ostream &out)
bool fill (string const &query, TSA< Token > const &tsa, TokenIndex const &V, bitvector &v)
int main (int argc, char *argv[])

Variables

string bname
string L1
string L2
string Q1
string Q2
size_t maxhits


Typedef Documentation

Definition at line 11 of file bitext-find.cc.

Definition at line 10 of file bitext-find.cc.

typedef Bitext<Token>::tsa tsa

Definition at line 12 of file bitext-find.cc.


Function Documentation

bool fill ( string const &  query,
TSA< Token > const &  tsa,
TokenIndex const &  V,
bitvector &  v 
)

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

Definition at line 113 of file bitext-find.cc.

References bname, L1, L2, maxhits, Q1, Q2, and store().

Referenced by init(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 51 of file bitext-find.cc.

void write_sentence ( Ttrack< Token > const &  T,
uint32_t const   sid,
TokenIndex const &  V,
ostream &  out 
)

Definition at line 21 of file bitext-find.cc.

References sapt::Ttrack< TKN >::sntEnd(), and sapt::Ttrack< TKN >::sntStart().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

string bname

Definition at line 14 of file bitext-find.cc.

Referenced by interpret_args(), main(), and open_bitext().

string L1

string L2

Definition at line 14 of file bitext-find.cc.

Referenced by MosesServer::Optimizer::execute(), interpret_args(), main(), and open_bitext().

size_t maxhits

Definition at line 15 of file bitext-find.cc.

Referenced by interpret_args(), and main().

string Q1

Definition at line 14 of file bitext-find.cc.

Referenced by interpret_args(), and main().

string Q2

Definition at line 14 of file bitext-find.cc.

Referenced by interpret_args(), and main().


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