src/ccstruct/pageres.cpp
void WERD_RES::SetAllScriptPositions(tesseract::ScriptPos position) {
  raw_choice->SetAllScriptPositions(position);
  WERD_CHOICE_IT wc_it(&best_choices);
  for (wc_it.mark_cycle_pt(); !wc_it.cycled_list(); wc_it.forward()) {
    wc_it.data()->SetAllScriptPositions(position);
  }
}
// Sets all the blobs in all the words (raw choice and best choices) to be
// the given position. (When a sub/superscript is recognized as a separate
// word, it falls victim to the rule that a whole word cannot be sub or
// superscript, so this function overrides that problem.)
Sets all the blobs in all the words (raw choice and best choices) to be
the given position. (When a sub/superscript is recognized as a separate
word, it falls victim to the rule that a whole word cannot be sub or
superscript, so this function overrides that problem.)
Sets all the blobs in all the words ( raw choice and best choices ) to be the given position . ( When a sub / superscript is recognized as a separate word it falls victim to the rule that a whole word cannot be sub or superscript so this function overrides that problem . )
void WERD_RES::SetAllScriptPositions(tesseract::ScriptPos position) {
  raw_choice->SetAllScriptPositions(position);
  WERD_CHOICE_IT wc_it(&best_choices);
  for (wc_it.mark_cycle_pt(); !wc_it.cycled_list(); wc_it.forward()) {
    wc_it.data()->SetAllScriptPositions(position);
  }
}
void WERD_RES :: SetAllScriptPositions ( tesseract :: ScriptPos position ) { raw_choice -> SetAllScriptPositions ( position ) ; WERD_CHOICE_IT wc_it ( & best_choices ) ; for ( wc_it . mark_cycle_pt ( ) ; ! wc_it . cycled_list ( ) ; wc_it . forward ( ) ) { wc_it . data ( ) -> SetAllScriptPositions ( position ) ; } }
Sets all the blobs in all the words (raw choice and best choices) to be
the given position.
Sets all the blobs in all the words ( raw choice and best choices ) to be the given position .