tesseract-doxygen/wordrec/badwords.h File Reference

#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

Function Documentation

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).

Parameters:
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).

Parameters:
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.


Variable Documentation

"Save final recognition statistics"

Generated on Sun Jul 18 17:10:52 2010 for Tesseract by  doxygen 1.6.3