sapt::BitextSampler< Token > Class Template Reference

#include <ug_bitext_sampler.h>

Inheritance diagram for sapt::BitextSampler< Token >:

Inheritance graph
[legend]
Collaboration diagram for sapt::BitextSampler< Token >:

Collaboration graph
[legend]

List of all members.

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< pstatsstats ()
bool done () const
bool operator() ()


Detailed Description

template<typename Token>
class sapt::BitextSampler< Token >

Definition at line 43 of file ug_bitext_sampler.h.


Constructor & Destructor Documentation

template<typename Token >
sapt::BitextSampler< Token >::BitextSampler ( BitextSampler< Token > const &  other  )  [inline]

Definition at line 215 of file ug_bitext_sampler.h.

template<typename Token>
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 
)

template<typename Token >
sapt::BitextSampler< Token >::~BitextSampler (  )  [inline]

Definition at line 393 of file ug_bitext_sampler.h.


Member Function Documentation

template<typename Token >
bool sapt::BitextSampler< Token >::done (  )  const [inline]

Definition at line 374 of file ug_bitext_sampler.h.

template<typename Token >
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.

template<typename Token >
SPTR< pstats > sapt::BitextSampler< Token >::stats (  )  [inline]

Definition at line 382 of file ug_bitext_sampler.h.

Referenced by main().

Here is the caller graph for this function:


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

Generated on Thu Jul 6 00:34:26 2017 for Moses by  doxygen 1.5.9