src/ccmain/ltrresultiterator.cpp
const char *LTRResultIterator::WordRecognitionLanguage() const {
  if (it_->word() == nullptr || it_->word()->tesseract == nullptr) {
    return nullptr;
  }
  return it_->word()->tesseract->lang.c_str();
}
// Returns the name of the language used to recognize this word.
Returns the name of the language used to recognize this word.
Returns the name of the language used to recognize this word .
const char *LTRResultIterator::WordRecognitionLanguage() const {
  if (it_->word() == nullptr || it_->word()->tesseract == nullptr) {
    return nullptr;
  }
  return it_->word()->tesseract->lang.c_str();
}
const char * LTRResultIterator :: WordRecognitionLanguage ( ) const { if ( it_ -> word ( ) == nullptr || it_ -> word ( ) -> tesseract == nullptr ) { return nullptr ; } return it_ -> word ( ) -> tesseract -> lang . c_str ( ) ; }
Returns the name of the language used to recognize this word.
Returns the name of the language used to recognize this word .