27 :
blob(word.chopped_word->blobs[index]),
29 choices(&(*word.ratings)(index, index)) {}
39 for (
int w = 0; w < words.
size(); ++w) {
40 if (words[w].word->ratings !=
NULL &&
41 words[w].word->ratings->
get(0, 0) ==
NULL) {
42 for (
int s = 0; s < words[w].lang_words.
size(); ++s) {
43 Tesseract* sub = s < sub_langs_.size() ? sub_langs_[s] :
this;
44 const WERD_RES& word = *words[w].lang_words[s];
53 #pragma omp parallel for num_threads(10)
54 for (
int b = 0; b < blobs.
size(); ++b) {
56 blobs[b].tesseract->classify_blob(blobs[b].blob,
"par",
White,
NULL);
60 for (
int b = 0; b < blobs.
size(); ++b) {
62 blobs[b].tesseract->classify_blob(blobs[b].blob,
"par",
White,
NULL);
BlobData(int index, Tesseract *tess, const WERD_RES &word)
void PrerecAllWordsPar(const GenericVector< WordData > &words)
BLOB_CHOICE_LIST ** choices