#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< Token > | mmbitext |
typedef Bitext< Token >::tsa | tsa |
typedef imTtrack< Token > | imttrack |
typedef imTSA< Token > | imtsa |
Functions | |
void | interpret_args (int ac, char *av[]) |
void | open_bitext () |
sptr< imttrack > | read_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< Token > | I1 |
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.
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 | |||
) |
Definition at line 80 of file fuzzy.cc.
Referenced by Moses::Incremental::Manager::LMCallback(), main(), Moses::Manager::OutputBest(), Moses::Incremental::Manager::OutputBest(), Moses::Syntax::Manager::OutputNBest(), Moses::Manager::OutputNBest(), and Moses::ChartManager::OutputNBest().
void open_bitext | ( | ) |
sptr<imttrack> read_input | ( | ) |
Definition at line 65 of file fuzzy.cc.
References sapt::fill_token_seq(), and V1.
Referenced by main().
string bname1 |
string bname2 |
Definition at line 31 of file fuzzy.cc.
Referenced by main(), open_bitext(), and sapt::Bitext< TKN >::prep2().
TokenIndex V1 |
TokenIndex V2 |