#include <ctype.h>
#include "reject.h"
#include "statistc.h"
#include "control.h"
#include "fixspace.h"
#include "genblob.h"
#include "tessvars.h"
#include "tessbox.h"
#include "globals.h"
#include "tesseractclass.h"
Go to the source code of this file.
Namespaces | |
tesseract | |
Macros | |
#define | PERFECT_WERDS 999 |
#define | MAXSPACING 128 /*max expected spacing in pix */ |
Functions | |
void | initialise_search (WERD_RES_LIST &src_list, WERD_RES_LIST &new_list) |
transform_to_next_perm() | |
Examines the current word list to find the smallest word gap size. Then walks the word list closing any gaps of this size by either inserted new combination words, or extending existing ones. The routine COULD be limited to stop it building words longer than N blobs. If there are no more gaps then it DELETES the entire list and returns the empty list to cause termination. | |
void | transform_to_next_perm (WERD_RES_LIST &words) |
void | fixspace_dbg (WERD_RES *word) |
#define MAXSPACING 128 /*max expected spacing in pix */ |
Definition at line 34 of file fixspace.cpp.
#define PERFECT_WERDS 999 |
Definition at line 33 of file fixspace.cpp.
void fixspace_dbg | ( | WERD_RES * | word | ) |
Definition at line 796 of file fixspace.cpp.
void initialise_search | ( | WERD_RES_LIST & | src_list, |
WERD_RES_LIST & | new_list | ||
) |
Definition at line 177 of file fixspace.cpp.
void transform_to_next_perm | ( | WERD_RES_LIST & | words | ) |
Definition at line 373 of file fixspace.cpp.