#include <ug_bitext_sampler.h>
Public Member Functions | |
BitextSampler (BitextSampler const &other) | |
BitextSampler const & | operator= (BitextSampler const &other) |
BitextSampler (bitext const *const bitext, typename bitext::iter const &phrase, SPTR< SamplingBias const > const &bias, size_t const max_samples, sampling_method const method) | |
~BitextSampler () | |
bool | operator() () |
SPTR< pstats > | stats () |
bool | done () const |
Definition at line 38 of file ug_bitext_sampler.h.
Moses::bitext::BitextSampler< Token >::BitextSampler | ( | BitextSampler< Token > const & | other | ) | [inline] |
Definition at line 200 of file ug_bitext_sampler.h.
Moses::bitext::BitextSampler< Token >::BitextSampler | ( | bitext const *const | bitext, | |
typename bitext::iter const & | phrase, | |||
SPTR< SamplingBias const > const & | bias, | |||
size_t const | max_samples, | |||
sampling_method const | method | |||
) |
Moses::bitext::BitextSampler< Token >::~BitextSampler | ( | ) | [inline] |
Definition at line 375 of file ug_bitext_sampler.h.
bool Moses::bitext::BitextSampler< Token >::done | ( | ) | const [inline] |
Definition at line 356 of file ug_bitext_sampler.h.
bool Moses::bitext::BitextSampler< Token >::operator() | ( | ) | [inline] |
Definition at line 338 of file ug_bitext_sampler.h.
References Moses::bitext::random_sampling, Moses::bitext::ranked_sampling, and UTIL_THROW2.
BitextSampler const& Moses::bitext::BitextSampler< Token >::operator= | ( | BitextSampler< Token > const & | other | ) |
SPTR< pstats > Moses::bitext::BitextSampler< Token >::stats | ( | ) | [inline] |
Definition at line 364 of file ug_bitext_sampler.h.
Referenced by Moses::Mmsapt::GetTargetPhraseCollectionLEGACY(), and process().