#include <ug_im_bitext.h>


Public Member Functions | |
| size_t | revision () const |
| void | open (std::string const base, std::string const L1, std::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 (std::vector< std::string > const &s1, std::vector< std::string > const &s2, std::vector< std::string > const &a) const |
| template<> | |
| SPTR< imBitext< L2R_Token < SimpleWordId > > > | add (std::vector< std::string > const &s1, std::vector< std::string > const &s2, std::vector< std::string > const &aln) const |
| template<> | |
| SPTR< imBitext< L2R_Token < SimpleWordId > > > | add (std::vector< std::string > const &s1, std::vector< std::string > const &s2, std::vector< std::string > const &aln) const |
Definition at line 8 of file ug_im_bitext.h.
| sapt::imBitext< TKN >::imBitext | ( | SPTR< TokenIndex > const & | V1, | |
| SPTR< TokenIndex > const & | V2, | |||
| size_t | max_sample = 5000, |
|||
| size_t | num_workers = 4 | |||
| ) | [inline] |
Definition at line 54 of file ug_im_bitext.h.
References sapt::Bitext< TKN >::V1, and sapt::Bitext< TKN >::V2.
| sapt::imBitext< TKN >::imBitext | ( | size_t | max_sample = 5000, |
|
| size_t | num_workers = 4 | |||
| ) | [inline] |
Definition at line 41 of file ug_im_bitext.h.
References sapt::Bitext< TKN >::m_default_sample_size, sapt::Bitext< TKN >::V1, and sapt::Bitext< TKN >::V2.
| sapt::imBitext< TKN >::imBitext | ( | imBitext< TKN > const & | other | ) | [inline] |
Definition at line 70 of file ug_im_bitext.h.
References sapt::Bitext< TKN >::I1, sapt::Bitext< TKN >::I2, sapt::Bitext< TKN >::m_default_sample_size, sapt::Bitext< TKN >::m_num_workers, sapt::Bitext< TKN >::T1, sapt::Bitext< TKN >::T2, sapt::Bitext< TKN >::Tx, sapt::Bitext< TKN >::V1, and sapt::Bitext< TKN >::V2.
| SPTR< imBitext< L2R_Token< SimpleWordId > > > sapt::imBitext< L2R_Token< SimpleWordId > >::add | ( | std::vector< std::string > const & | s1, | |
| std::vector< std::string > const & | s2, | |||
| std::vector< std::string > const & | aln | |||
| ) | const [inline] |
| SPTR< imBitext< L2R_Token< SimpleWordId > > > sapt::imBitext< L2R_Token< SimpleWordId > >::add | ( | std::vector< std::string > const & | s1, | |
| std::vector< std::string > const & | s2, | |||
| std::vector< std::string > const & | aln | |||
| ) | const [inline] |
Definition at line 10 of file ug_im_bitext.cc.
References aln, sapt::append(), tpt::binread(), tpt::binwrite(), HERE, k, T1, and UTIL_THROW_IF2.

| SPTR< imBitext< TKN > > sapt::imBitext< TKN >::add | ( | std::vector< std::string > const & | s1, | |
| std::vector< std::string > const & | s2, | |||
| std::vector< std::string > const & | a | |||
| ) | const [inline] |
Definition at line 99 of file ug_im_bitext.h.
| void sapt::imBitext< TKN >::open | ( | std::string const | base, | |
| std::string const | L1, | |||
| std::string | L2 | |||
| ) | [inline, virtual] |
Implements sapt::Bitext< TKN >.
Definition at line 110 of file ug_im_bitext.h.
References sapt::Bitext< TKN >::I1, sapt::Bitext< TKN >::I2, sapt::mmTSA< TOKEN >::open(), sapt::mmTtrack< TKN >::open(), sapt::Bitext< TKN >::T1, sapt::Bitext< TKN >::T2, sapt::Bitext< TKN >::Tx, sapt::Bitext< TKN >::V1, and sapt::Bitext< TKN >::V2.

| size_t sapt::imBitext< TKN >::revision | ( | ) | const [inline, virtual] |
1.5.9