/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/UG/fuzzy.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 "generic/sorting/VectorIndexSorter.h"
#include "generic/sorting/NBestList.h"
#include <string>

Go to the source code of this file.

Typedefs

typedef L2R_Token< SimpleWordId > Token
typedef mmBitext< Tokenmmbitext
typedef Bitext< Token >::tsa tsa
typedef imTtrack< Tokenimttrack
typedef imTSA< Tokenimtsa

Functions

void interpret_args (int ac, char *av[])
void open_bitext ()
sptr< imttrackread_input ()
sptr< NBestList< uint32_t,
VectorIndexSorter< float > > > 
nbest (TSA< Token >::tree_iterator const &r, vector< float > const &hits, vector< float > &score, VectorIndexSorter< float > &sorter, size_t const nbest_size)
int main (int argc, char *argv[])

Variables

string bname
string bname1
string bname2
string L1
string L2
string Q1
string Q2
size_t maxhits
TokenIndex V1
TokenIndex V2
sptr< mmTtrack< Token > > C1
sptr< mmTtrack< Token > > C2
mmTSA< TokenI1


Typedef Documentation

typedef imTSA<Token> imtsa

Definition at line 21 of file fuzzy.cc.

typedef imTtrack<Token> imttrack

Definition at line 20 of file fuzzy.cc.

typedef mmBitext<Token> mmbitext

Definition at line 18 of file fuzzy.cc.

typedef L2R_Token<SimpleWordId> Token

Definition at line 17 of file fuzzy.cc.

typedef Bitext<Token>::tsa tsa

Definition at line 19 of file fuzzy.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 100 of file fuzzy.cc.

References C1, C2, I1, interpret_args(), k, n, nbest(), NULL, open_bitext(), read_input(), sorter, stop, sapt::toString(), V1, and V2.

Here is the call graph for this function:

sptr<NBestList<uint32_t, VectorIndexSorter<float> > > nbest ( TSA< Token >::tree_iterator const &  r,
vector< float > const &  hits,
vector< float > &  score,
VectorIndexSorter< float > &  sorter,
size_t const   nbest_size 
)

void open_bitext (  ) 

Definition at line 34 of file fuzzy.cc.

References bname, bname1, bname2, C1, C2, I1, L1, L2, V1, and V2.

Referenced by main().

Here is the caller graph for this function:

sptr<imttrack> read_input (  ) 

Definition at line 65 of file fuzzy.cc.

References sapt::fill_token_seq(), and V1.

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 23 of file fuzzy.cc.

string bname1

Definition at line 23 of file fuzzy.cc.

Referenced by open_bitext().

string bname2

Definition at line 23 of file fuzzy.cc.

Referenced by open_bitext().

sptr<mmTtrack<Token> > C1

Definition at line 29 of file fuzzy.cc.

Referenced by main(), and open_bitext().

sptr<mmTtrack<Token> > C2

Definition at line 30 of file fuzzy.cc.

Referenced by main(), and open_bitext().

mmTSA<Token> I1

Definition at line 31 of file fuzzy.cc.

Referenced by main(), open_bitext(), and sapt::Bitext< TKN >::prep2().

string L1

Definition at line 23 of file fuzzy.cc.

string L2

Definition at line 23 of file fuzzy.cc.

size_t maxhits

Definition at line 24 of file fuzzy.cc.

string Q1

Definition at line 23 of file fuzzy.cc.

string Q2

Definition at line 23 of file fuzzy.cc.

TokenIndex V1

Definition at line 27 of file fuzzy.cc.

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

TokenIndex V2

Definition at line 28 of file fuzzy.cc.

Referenced by main(), and open_bitext().


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