# ace::DataFileStats::NGramsStats Struct Reference

N-grams counter. More...

`#include <stats.h>`

List of all members.

## Public Member Functions
| NGramsStats (void)
| Default constructor inits all fields to 0.
NGramsStats & | operator+= (const NGramsStats &rhs)
## Public Attributes
size_t | extracted
| E(xtracted) N-grams.
size_t | passed
| P(assed) the filtration.
size_t | filtered
| F(iltered).

## Detailed Description

N-grams counter.

E = P + F.

## Constructor & Destructor Documentation

ace::DataFileStats::NGramsStats::NGramsStats | ( | void |  | ) | `[inline]`

Default constructor inits all fields to 0.

## Member Function Documentation

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

Parameters:

  | rhs | NGramStats object to be added to current instance.

Returns:
  NGramsStats object with all fields incremented by values of passed stats.

## Member Data Documentation

size_t ace::DataFileStats::NGramsStats::extracted

E(xtracted) N-grams.

size_t ace::DataFileStats::NGramsStats::passed

P(assed) the filtration.

size_t ace::DataFileStats::NGramsStats::filtered

F(iltered).

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

- proto/Source/stats.h