ace::DataFileStats Struct Reference

Class implements simple statistics counter. More...

#include <stats.h>

Inherited by ace::NamedDataFileStats.

List of all members.

Public Member Functions

 DataFileStats (void)
 Default constructor initializes all statistics with 0 values.
DataFileStatsoperator+= (const DataFileStats &rhs)

Public Attributes

size_t words
 Words counter.
size_t sentences
 Sentences counter.
struct
ace::DataFileStats::NGramsStats 
ngrams
 N-grams counter.

Classes

struct  NGramsStats
 N-grams counter. More...


Detailed Description

Class implements simple statistics counter.

Constructor & Destructor Documentation

ace::DataFileStats::DataFileStats ( void   )  [inline]

Default constructor initializes all statistics with 0 values.


Member Function Documentation

DataFileStats& ace::DataFileStats::operator+= ( const DataFileStats rhs  )  [inline]

Parameters:
rhs DataFileStats object to be added to current instance.
Returns:
DataFileStats object with all fields incremented by values of passed stats.


Member Data Documentation

Words counter.

Sentences counter.

N-grams counter.

E = P + F.


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

Generated on Wed Aug 6 23:25:51 2008 for PACE by  doxygen 1.5.6