~vcs-imports/tesseract-ocr/trunk

« back to all changes in this revision

Viewing changes to ccmain/fixspace.cpp

  • Committer: theraysmith at gmail
  • Date: 2013-11-08 20:30:56 UTC
  • Revision ID: svn-v4:d0cd1f9f-072b-0410-8dd7-cf729c803f20:trunk:904
Refactorerd control functions to enable parallel blob classification

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
  for (word_it.mark_cycle_pt(); !word_it.cycled_list(); word_it.forward()) {
205
205
    word = word_it.data();
206
206
    if ((!word->part_of_combo) && (word->box_word == NULL)) {
207
 
      classify_word_and_language(&Tesseract::classify_word_pass2,
208
 
                                 block, row, word);
 
207
      WordData word_data(block, row, word);
 
208
      SetupWordPassN(2, &word_data);
 
209
      classify_word_and_language(&Tesseract::classify_word_pass2, &word_data);
209
210
    }
210
211
    prev_word_best_choice_ = word->best_choice;
211
212
  }