Moses::bitext::jstats Class Reference

#include <ug_bitext_jstats.h>

List of all members.

Public Member Functions

 jstats ()
 jstats (jstats const &other)
uint32_t rcnt () const
uint32_t cnt2 () const
float wcnt () const
float bcnt () const
std::vector< std::pair< size_t,
std::vector< unsigned char >
> > const & 
aln () const
void add (float w, float b, std::vector< unsigned char > const &a, uint32_t const cnt2, uint32_t fwd_orient, uint32_t bwd_orient, int const docid)
void invalidate ()
void validate ()
bool valid ()
uint32_t dcnt_fwd (PhraseOrientation const idx) const
uint32_t dcnt_bwd (PhraseOrientation const idx) const
void fill_lr_vec (Moses::LRModel::Direction const &dir, Moses::LRModel::ModelType const &mdl, std::vector< float > &v)

Public Attributes

std::map< uint32_t, uint32_t > indoc


Detailed Description

Definition at line 17 of file ug_bitext_jstats.h.


Constructor & Destructor Documentation

Moses::bitext::jstats::jstats (  ) 

Definition at line 18 of file ug_bitext_jstats.cc.

References Moses::LRModel::NONE.

Moses::bitext::jstats::jstats ( jstats const &  other  ) 

Definition at line 27 of file ug_bitext_jstats.cc.

References aln(), bcnt(), indoc, Moses::LRModel::NONE, rcnt(), and wcnt().

Here is the call graph for this function:


Member Function Documentation

void Moses::bitext::jstats::add ( float  w,
float  b,
std::vector< unsigned char > const &  a,
uint32_t const   cnt2,
uint32_t  fwd_orient,
uint32_t  bwd_orient,
int const   docid 
)

Definition at line 59 of file ug_bitext_jstats.cc.

References indoc.

Referenced by Moses::bitext::pstats::add().

Here is the caller graph for this function:

std::vector< std::pair< size_t, std::vector< unsigned char > > > const & Moses::bitext::jstats::aln (  )  const

Definition at line 89 of file ug_bitext_jstats.cc.

Referenced by jstats(), and Moses::bitext::PhrasePair< Token >::update().

Here is the caller graph for this function:

float Moses::bitext::jstats::bcnt (  )  const

Definition at line 9 of file ug_bitext_jstats.cc.

Referenced by jstats(), and Moses::bitext::PhrasePair< Token >::update().

Here is the caller graph for this function:

uint32_t Moses::bitext::jstats::cnt2 (  )  const

Definition at line 10 of file ug_bitext_jstats.cc.

Referenced by main(), and Moses::bitext::PhrasePair< Token >::update().

Here is the caller graph for this function:

uint32_t Moses::bitext::jstats::dcnt_bwd ( PhraseOrientation const   idx  )  const

Definition at line 51 of file ug_bitext_jstats.cc.

References Moses::LRModel::NONE.

Referenced by Moses::bitext::PhrasePair< Token >::update().

Here is the caller graph for this function:

uint32_t Moses::bitext::jstats::dcnt_fwd ( PhraseOrientation const   idx  )  const

Definition at line 43 of file ug_bitext_jstats.cc.

References Moses::LRModel::NONE.

Referenced by Moses::bitext::PhrasePair< Token >::update().

Here is the caller graph for this function:

void Moses::bitext::jstats::fill_lr_vec ( Moses::LRModel::Direction const &  dir,
Moses::LRModel::ModelType const &  mdl,
std::vector< float > &  v 
)

void Moses::bitext::jstats::invalidate (  ) 

Definition at line 15 of file ug_bitext_jstats.cc.

uint32_t Moses::bitext::jstats::rcnt (  )  const

Definition at line 7 of file ug_bitext_jstats.cc.

Referenced by Moses::bitext::pstats::add(), jstats(), main(), and Moses::bitext::PhrasePair< Token >::update().

Here is the caller graph for this function:

bool Moses::bitext::jstats::valid (  ) 

Definition at line 13 of file ug_bitext_jstats.cc.

void Moses::bitext::jstats::validate (  ) 

Definition at line 14 of file ug_bitext_jstats.cc.

float Moses::bitext::jstats::wcnt (  )  const

Definition at line 8 of file ug_bitext_jstats.cc.

Referenced by jstats().

Here is the caller graph for this function:


Member Data Documentation

std::map<uint32_t,uint32_t> Moses::bitext::jstats::indoc

Definition at line 35 of file ug_bitext_jstats.h.

Referenced by add(), jstats(), and Moses::bitext::PhrasePair< Token >::update().


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

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