Moses::bitext::imBitext< TKN > Class Template Reference

#include <ug_im_bitext.h>

Inheritance diagram for Moses::bitext::imBitext< TKN >:

Inheritance graph
[legend]
Collaboration diagram for Moses::bitext::imBitext< TKN >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

size_t revision () const
void open (string const base, string const L1, string L2)
 imBitext (SPTR< TokenIndex > const &V1, SPTR< TokenIndex > const &V2, size_t max_sample=5000, size_t num_workers=4)
 imBitext (size_t max_sample=5000, size_t num_workers=4)
 imBitext (imBitext const &other)
SPTR< imBitext< TKN > > add (vector< string > const &s1, std::vector< string > const &s2, std::vector< string > const &a) const
template<>
SPTR< imBitext< L2R_Token
< SimpleWordId > > > 
add (vector< string > const &s1, vector< string > const &s2, vector< string > const &aln) const
template<>
SPTR< imBitext< L2R_Token
< SimpleWordId > > > 
add (vector< string > const &s1, vector< string > const &s2, vector< string > const &aln) const


Detailed Description

template<typename TKN>
class Moses::bitext::imBitext< TKN >

Definition at line 10 of file ug_im_bitext.h.


Constructor & Destructor Documentation

template<typename TKN >
Moses::bitext::imBitext< TKN >::imBitext ( SPTR< TokenIndex > const &  V1,
SPTR< TokenIndex > const &  V2,
size_t  max_sample = 5000,
size_t  num_workers = 4 
) [inline]

template<typename TKN >
Moses::bitext::imBitext< TKN >::imBitext ( size_t  max_sample = 5000,
size_t  num_workers = 4 
) [inline]

template<typename TKN >
Moses::bitext::imBitext< TKN >::imBitext ( imBitext< TKN > const &  other  )  [inline]


Member Function Documentation

template<>
SPTR< imBitext< L2R_Token< SimpleWordId > > > Moses::bitext::imBitext< L2R_Token< SimpleWordId > >::add ( vector< string > const &  s1,
vector< string > const &  s2,
vector< string > const &  aln 
) const [inline]

template<>
SPTR< imBitext< TKN > > Moses::bitext::imBitext< TKN >::add ( vector< string > const &  s1,
vector< string > const &  s2,
vector< string > const &  aln 
) const [inline]

Definition at line 11 of file ug_im_bitext.cc.

References aln, ugdiss::append(), ugdiss::binread(), ugdiss::binwrite(), HERE, k, T1, and UTIL_THROW_IF2.

Here is the call graph for this function:

template<typename TKN>
SPTR<imBitext<TKN> > Moses::bitext::imBitext< TKN >::add ( vector< string > const &  s1,
std::vector< string > const &  s2,
std::vector< string > const &  a 
) const

template<typename TKN >
void Moses::bitext::imBitext< TKN >::open ( string const   base,
string const   L1,
string  L2 
) [inline, virtual]

template<typename TKN>
size_t Moses::bitext::imBitext< TKN >::revision (  )  const [inline, virtual]

Reimplemented from Moses::bitext::Bitext< TKN >.

Definition at line 19 of file ug_im_bitext.h.


The documentation for this class was generated from the following file:

Generated on Sun Aug 9 00:33:48 2015 for Moses by  doxygen 1.5.9