src/ccstruct/pageres.cpp
BLOB_CHOICE *WERD_RES::GetBlobChoice(unsigned index) const {
  if (index >= best_choice->length()) {
    return nullptr;
  }
  BLOB_CHOICE_LIST *choices = GetBlobChoices(index);
  return FindMatchingChoice(best_choice->unichar_id(index), choices);
}
// Returns the BLOB_CHOICE corresponding to the given index in the
// best choice word taken from the appropriate cell in the ratings MATRIX.
// Borrowed pointer, so do not delete. May return nullptr if there is no
// BLOB_CHOICE matching the unichar_id at the given index.
Returns the BLOB_CHOICE corresponding to the given index in the
best choice word taken from the appropriate cell in the ratings MATRIX.
Borrowed pointer, so do not delete. May return nullptr if there is no
BLOB_CHOICE matching the unichar_id at the given index.
Returns the BLOB_CHOICE corresponding to the given index in the best choice word taken from the appropriate cell in the ratings MATRIX . Borrowed pointer so do not delete . May return nullptr if there is no BLOB_CHOICE matching the unichar_id at the given index .
BLOB_CHOICE *WERD_RES::GetBlobChoice(unsigned index) const {
  if (index >= best_choice->length()) {
    return nullptr;
  }
  BLOB_CHOICE_LIST *choices = GetBlobChoices(index);
  return FindMatchingChoice(best_choice->unichar_id(index), choices);
}
BLOB_CHOICE * WERD_RES :: GetBlobChoice ( unsigned index ) const { if ( index >= best_choice -> length ( ) ) { return nullptr ; } BLOB_CHOICE_LIST * choices = GetBlobChoices ( index ) ; return FindMatchingChoice ( best_choice -> unichar_id ( index ) , choices ) ; }
Returns the BLOB_CHOICE corresponding to the given index in the
best choice word taken from the appropriate cell in the ratings MATRIX.
Returns the BLOB_CHOICE corresponding to the given index in the best choice word taken from the appropriate cell in the ratings MATRIX .