Counter Class Reference

Collaboration diagram for Counter:

Collaboration graph

List of all members.

Public Member Functions

 Counter (countlist_t &lex, size_t o, size_t s)
void processSentence (id_type sid)
void operator() ()

Public Attributes

countmap_t CNT
size_t offset
size_t skip

Detailed Description

Definition at line 69 of file

Constructor & Destructor Documentation

Counter::Counter ( countlist_t lex,
size_t  o,
size_t  s 
) [inline]

Definition at line 76 of file

Member Function Documentation

void Counter::operator() (  ) 

Definition at line 89 of file

References CNT, sapt::TokenIndex::ksize(), LEX, offset, processSentence(), sid, sapt::mmTtrack< TKN >::size(), skip, sort(), and truncat.

Here is the call graph for this function:

void Counter::processSentence ( id_type  sid  ) 

Definition at line 219 of file

References Count::a, tpt::binread(), CNT, k, sapt::mmTtrack< TKN >::sntEnd(), sapt::Ttrack< TKN >::sntLen(), sapt::mmTtrack< TKN >::sntStart(), UTIL_THROW_IF2, and verbose.

Referenced by operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Definition at line 72 of file

Referenced by operator()(), and processSentence().

Definition at line 73 of file

Referenced by operator()().

Definition at line 74 of file

Referenced by operator()().

size_t Counter::skip

Definition at line 75 of file

Referenced by operator()().

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

Generated on Thu Jul 6 00:31:46 2017 for Moses by  doxygen 1.5.9