#include "general.h"
#include "oldheap.h"
#include "callcpp.h"
#include <string.h>
#include <stdio.h>
Defines | |
#define | MAX_NUM_BAD_WERDS 1000 |
Functions | |
void | PrintBadWords (FILE *File) |
void | SaveBadWord (const char *Word, FLOAT32 Certainty) |
Variables | |
bool | tessedit_save_stats = FALSE |
#define MAX_NUM_BAD_WERDS 1000 |
---------------------------------------------------------------------------- Include Files and Type Defines ----------------------------------------------------------------------------
void PrintBadWords | ( | FILE * | File | ) |
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"