Home
last modified time | relevance | path

Searched refs:tessword (Results 1 – 8 of 8) sorted by relevance

/external/tesseract/ccmain/
Dtessbox.cpp194 TWERD *tessword = make_tess_word(word, NULL); in tess_adaptable_word() local
195 int result = (tessword && best_choice && raw_choice && in tess_adaptable_word()
196 AdaptableWord(tessword, *best_choice, *raw_choice)); in tess_adaptable_word()
197 delete_word(tessword); in tess_adaptable_word()
343 TWERD *tessword; //converted word in tess_adapter() local
349 tessword = make_tess_word (word, &tessrow); in tess_adapter()
350 AdaptToWord(tessword, &tessrow, choice, raw_choice, rejmap); in tess_adapter()
352 delete_word(tessword); //free it in tess_adapter()
Dtstruct.cpp84 TWERD *tessword, //word to convert in make_ed_word() argument
93 for (tblob = tessword->blobs; tblob != NULL; tblob = tblob->next) { in make_ed_word()
293 TWERD *tessword; //tess format in make_tess_word() local
295 tessword = newword (); //use old allocator in make_tess_word()
296 tessword->row = row; //give them something in make_tess_word()
298 tessword->correct = strsave (word->text ()); in make_tess_word()
299 tessword->guess = NULL; in make_tess_word()
300 tessword->blobs = make_tess_blobs (word->blob_list ()); in make_tess_word()
301 tessword->blanks = 1; in make_tess_word()
302 tessword->blobcount = word->blob_list ()->length (); in make_tess_word()
[all …]
Dtfacepp.cpp142 TWERD *tessword; // tess format in recog_word_recursive() local
160 tessword = make_tess_word (word, NULL); in recog_word_recursive()
161 tess_ratings = cc_recog(tessword, best_choice, raw_choice, in recog_word_recursive()
166 outword = make_ed_word (tessword, word); // convert word in recog_word_recursive()
170 delete_word(tessword); // get rid of it in recog_word_recursive()
Ddocqual.cpp133 TWERD *tessword; //tess format in word_blob_quality() local
156 tessword = make_tess_word(bln_word, NULL); // Convert word. in word_blob_quality()
157 init_word = make_ed_word (tessword, bln_word); in word_blob_quality()
159 delete_word(tessword); in word_blob_quality()
246 TWERD *tessword; //tess format in word_char_quality() local
272 tessword = make_tess_word(bln_word, NULL); // Convert word. in word_char_quality()
273 init_word = make_ed_word (tessword, bln_word); in word_char_quality()
275 delete_word(tessword); in word_char_quality()
328 TWERD *tessword; //tess format in unrej_good_chs() local
352 tessword = make_tess_word(bln_word, NULL); // Convert word in unrej_good_chs()
[all …]
Dtstruct.h46 TWERD *tessword, //word to convert
/external/tesseract/wordrec/
Dtface.cpp224 BLOB_CHOICE_LIST_VECTOR *Wordrec::cc_recog(TWERD *tessword, in cc_recog() argument
244 chop_word_main(tessword, in cc_recog()
Dwordrec.h41 BLOB_CHOICE_LIST_VECTOR *cc_recog(TWERD *tessword,
/external/tesseract/api/
Dbaseapi.cpp644 TWERD *tessword = make_tess_word(bln_word, NULL); in RecognizeForChopTest() local
645 if (tessword->blobs == NULL) { in RecognizeForChopTest()
655 ASSERT_HOST(tessword->blobs != NULL); in RecognizeForChopTest()
656 for (blob = tessword->blobs, pblob = NULL; in RecognizeForChopTest()
668 SEAMS seam_list = start_seam_list(tessword->blobs); in RecognizeForChopTest()
670 while (tesseract_->chop_one_blob(tessword, char_choices, in RecognizeForChopTest()
683 word_res->outword = make_ed_word(tessword, bln_word); in RecognizeForChopTest()