30 :
blob(word.chopped_word->blobs[index]),
32 choices(&(*word.ratings)(index, index)) {}
42 for (
int w = 0; w < words.
size(); ++w) {
43 if (words[w].word->ratings !=
nullptr &&
44 words[w].word->ratings->
get(0, 0) ==
nullptr) {
45 for (
int s = 0; s < words[w].lang_words.
size(); ++s) {
46 Tesseract* sub = s < sub_langs_.size() ? sub_langs_[s] :
this;
47 const WERD_RES& word = *words[w].lang_words[s];
57 #pragma omp parallel for num_threads(10) 59 for (
int b = 0; b < blobs.
size(); ++b) {
61 blobs[b].tesseract->classify_blob(blobs[b].blob,
"par",
White,
nullptr);
65 for (
int b = 0; b < blobs.
size(); ++b) {
67 blobs[b].tesseract->classify_blob(blobs[b].blob,
"par",
White,
nullptr);
BlobData(int index, Tesseract *tess, const WERD_RES &word)
void PrerecAllWordsPar(const GenericVector< WordData > &words)
BLOB_CHOICE_LIST ** choices