ccmain/reject.cpp File Reference

#include "mfcpch.h"
#include "tessvars.h"
#include "scanutils.h"
#include <ctype.h>
#include <string.h>
#include "memry.h"
#include "reject.h"
#include "tfacep.h"
#include "mainblk.h"
#include "charcut.h"
#include "imgs.h"
#include "scaleimg.h"
#include "control.h"
#include "docqual.h"
#include "secname.h"
#include "callnet.h"
#include "notdll.h"

Go to the source code of this file.

Defines

Functions


Define Documentation

#define EXTERN


Function Documentation

CLISTIZEH ( STRING   ) 

Set the done flag based on the word acceptability criteria.

Parameters:
word Word
pass 1 or 2, number of pass
Note:
Global:
  • tessedit_ok_mode
  • tessedit_rejection_debug
Returns:
none
Note:
tessedit_ok_mode:
  • 0 - Original heuristic used in Tesseract and Ray's prototype Resaljet (even if word contains some or all spaces)
  • 1 - Reject words containing blanks and on pass 1 reject I/l/1 conflicts
  • 2 - same as 1 plus only accept dict words or numerics in pass 1
  • 3 - same as 2 plus only accept dict words or numerics in pass 2 as well
  • 4 - same as 2 plus reject dict ambigs in pass 1
  • 5 - same as 3 plus reject dict ambigs in both passes
  • 6+ - prints "BAD tessedit_ok_mode"


Generated on Wed Feb 28 19:49:15 2007 for Tesseract by  doxygen 1.5.1