#include <ug_bitext_sampler.h>
Public Member Functions | |
BitextSampler (BitextSampler const &other) | |
BitextSampler (SPTR< bitext const > const &bitext, typename bitext::iter const &phrase, SPTR< SamplingBias const > const &bias, size_t const min_samples, size_t const max_samples, sampling_method const method, bool const track_sids) | |
~BitextSampler () | |
SPTR< pstats > | stats () |
bool | done () const |
bool | operator() () |
Definition at line 43 of file ug_bitext_sampler.h.
sapt::BitextSampler< Token >::BitextSampler | ( | BitextSampler< Token > const & | other | ) | [inline] |
Definition at line 215 of file ug_bitext_sampler.h.
sapt::BitextSampler< Token >::BitextSampler | ( | SPTR< bitext const > const & | bitext, | |
typename bitext::iter const & | phrase, | |||
SPTR< SamplingBias const > const & | bias, | |||
size_t const | min_samples, | |||
size_t const | max_samples, | |||
sampling_method const | method, | |||
bool const | track_sids | |||
) |
sapt::BitextSampler< Token >::~BitextSampler | ( | ) | [inline] |
Definition at line 393 of file ug_bitext_sampler.h.
bool sapt::BitextSampler< Token >::done | ( | ) | const [inline] |
Definition at line 374 of file ug_bitext_sampler.h.
bool sapt::BitextSampler< Token >::operator() | ( | ) | [inline] |
Definition at line 355 of file ug_bitext_sampler.h.
References sapt::full_coverage, sapt::random_sampling, and UTIL_THROW2.
SPTR< pstats > sapt::BitextSampler< Token >::stats | ( | ) | [inline] |
Definition at line 382 of file ug_bitext_sampler.h.
Referenced by main().