#include <boost/program_options.hpp>
#include "mm/ug_bitext.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 |
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 |
Definition at line 11 of file bitext-find.cc.
typedef L2R_Token<SimpleWordId> Token |
Definition at line 10 of file bitext-find.cc.
bool fill | ( | string const & | query, | |
TSA< Token > const & | tsa, | |||
TokenIndex const & | V, | |||
bitvector & | v | |||
) |
Definition at line 35 of file bitext-find.cc.
References sapt::TSA< TKN >::getCorpus(), m, and sapt::Ttrack< TKN >::size().
Referenced by util::ProbingHashTable< ProbingVocabularyEntry, util::IdentityHash >::Clear(), Moses::LanguageModelSRI::CreateFactors(), Moses::LanguageModelRandLM::CreateFactors(), Moses::LanguageModelMaxEntSRI::CreateFactors(), Moses::LanguageModelIRST::CreateFactors(), and util::ProbingHashTable< ProbingVocabularyEntry, util::IdentityHash >::Double().
void interpret_args | ( | int | ac, | |
char * | av[] | |||
) |
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().
string bname |
Definition at line 14 of file bitext-find.cc.
Referenced by interpret_args(), main(), and open_bitext().
string L1 |
Definition at line 14 of file bitext-find.cc.
Referenced by basename(), MosesServer::Optimizer::execute(), interpret_args(), main(), and open_bitext().
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 |
string Q1 |
string Q2 |