33 int saved_enable_assoc = 0;
34 int saved_chop_enable = 0;
37 saved_enable_assoc = wordrec_enable_assoc;
38 saved_chop_enable = chop_enable;
39 wordrec_enable_assoc.set_value(
false);
40 chop_enable.set_value(
false);
52 wordrec_enable_assoc.set_value(saved_enable_assoc);
53 chop_enable.set_value(saved_chop_enable);
@ W_DONT_CHOP
fixed pitch chopped
void tess_segment_pass_n(int pass_n, WERD_RES *word)
Dict & getDict() override
void tess_add_doc_word(WERD_CHOICE *word_choice)
bool tess_acceptable_word(WERD_RES *word)
void recog_word(WERD_RES *word)
WERD_CHOICE * best_choice
const UNICHARSET * uch_set
void SetupFake(const UNICHARSET &uch)
bool flag(WERD_FLAGS mask) const
bool AcceptableResult(WERD_RES *word) const
void add_document_word(const WERD_CHOICE &best_choice)
Adds a word found on this document to the document specific dictionary.