tesseract v5.3.3.20231005
|
Go to the source code of this file.
Namespaces | |
namespace | tesseract |
Functions | ||||||||||
fix_fuzzy_spaces() | ||||||||||
Walk over the page finding sequences of words joined by fuzzy spaces. Extract them as a sublist, process the sublist to find the optimal arrangement of spaces then replace the sublist in the ROW_RES.
| ||||||||||
void | tesseract::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 | tesseract::transform_to_next_perm (WERD_RES_LIST &words) | |||||||||
fix_sp_fp_word() | ||||||||||
Test the current word to see if it can be split by deleting noise blobs. If so, do the business. Return with the iterator pointing to the same place if the word is unchanged, or the last of the replacement words. | ||||||||||
void | tesseract::fixspace_dbg (WERD_RES *word) | |||||||||