#include <stdio.h>Go to the source code of this file.
Functions | |
| void | PrintBadWords (FILE *File) |
| void | SaveBadWord (const char *Word, FLOAT32 Certainty) |
Variables | |
| bool | tessedit_save_stats = FALSE |
| void PrintBadWords | ( | FILE * | File | ) |
---------------------------------------------------------------------------- Include Files and Type Defines ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- Public Function Prototypes ----------------------------------------------------------------------------
This routine prints the bad words stored in BadWords to file ordered by certainty (worst certainty first).
| File | open text file to print bad words to |
Globals: BadWords heap that bad words are stored in
Exceptions: none History: Thu Apr 25 08:57:08 1991, DSJ, Created.
| void SaveBadWord | ( | const char * | Word, | |
| FLOAT32 | Certainty | |||
| ) |
This routine saves all words flagged as bad in a heap with the worst word on the top of the heap. The contents of this heap can be printed to a file by calling PrintBadWords (File).
| Word | bad word to be saved | |
| Certainty | certainty of word |
Globals: BadWords heap to keep bad words in
History: Thu Apr 25 08:41:00 1991, DSJ, Created.
| bool tessedit_save_stats = FALSE |
"Save final recognition statistics"
1.6.3