# proto/Source/ngram.h File Reference

Interface declaration of structure for N-gram representation. More...

`#include <utility>`
`#include <vector>`
`#include "config.h"`
`#include "context.h"`
`#include "dependencies.h"`
`#include "overflow.h"`
`#include "utils.h"`
`#include "word.h"`

## Namespaces
namespace | ace
## Classes
class | ace::NGram
| Class designed to keep single NGram data. More...
class | ace::NGram::Member
| Single N-gram member representation. More...
class | ace::NGramToken
| Class purpose is to offer creation of temporary NGram instance to be used as a key value (token) when searching in NGramStore hashtables. More...
## Typedefs
typedef std::pair < ngram_size_t, words_store_t::const_iterator > | ace::raw_ngram_member_t
| Typedef for pair of values for each raw N-gram member: 1.
typedef std::vector < raw_ngram_member_t > | ace::raw_ngram_t
| Raw N-gram is just collection of owned members.
typedef unsigned int | ace::freq_counter_t
| Frequency counter datatype definition.
typedef size_t | ace::frequency_t
| Frequency datatype definition.
## Functions
bool | ace::operator== (const NGram &lhs, const NGram &rhs)
| Equal to operator for NGrams.
bool | ace::operator< (const NGram &lhs, const NGram &rhs)
| Less than operator for NGrams.

## Detailed Description

Interface declaration of structure for N-gram representation.

(C) Ceslav Przywara 2008, MFF UK Prague