#include <ngrams.h>
Static Public Member Functions | |
| static size_t | count_hash (const NGram *gram) |
| Function counts hash for given N-gram. | |
| static bool | check (ngram_size_t n) |
Static Private Attributes | |
| static const size_t | _seed = 0xdeadbeef |
| "Random" seed. | |
| size_t ace::NGramHashCounter::count_hash | ( | const NGram * | gram | ) | [static] |
Function counts hash for given N-gram.
| gram | Pointer to N-gram to be hashed. |
| bool ace::NGramHashCounter::check | ( | ngram_size_t | n | ) | [static] |
const size_t ace::NGramHashCounter::_seed = 0xdeadbeef [static, private] |
"Random" seed.
1.5.6