tesseract-doxygen/wordrec/tally.h File Reference
#include <stdio.h>
Go to the source code of this file.
Define Documentation
#define inc_tally_bucket |
( |
t, |
|
|
i |
|
) |
|
Value:(t->count++, \
((i < t->num_buckets) ? \
(t->buckets[i]++) : \
(t->buckets[t->num_buckets-1]++)))
#define iterate_tally |
( |
t, |
|
|
i |
|
) |
for (i=0; i<t->num_buckets; i++) |
#define tally_entry |
( |
t, |
|
|
i |
|
) |
(t->buckets[i]) |
Typedef Documentation
Function Documentation
TALLY new_tally |
( |
int |
num_buckets |
) |
|
void print_tally |
( |
FILE * |
file, |
|
|
const char * |
string, |
|
|
TALLY |
t | |
|
) |
| | |