21 #ifndef TESSERACT_CCMAIN_LTR_RESULT_ITERATOR_H__ 22 #define TESSERACT_CCMAIN_LTR_RESULT_ITERATOR_H__ 62 int scale,
int scaled_yres,
63 int rect_left,
int rect_top,
64 int rect_width,
int rect_height);
85 void SetLineSeparator(
const char *
new_line);
88 void SetParagraphSeparator(
const char *new_para);
95 void RowAttributes(
float* row_height,
float* descenders,
96 float* ascenders)
const;
108 const char* WordFontAttributes(
bool* is_bold,
119 const char* WordRecognitionLanguage()
const;
125 bool WordIsFromDictionary()
const;
128 bool WordIsNumeric()
const;
131 bool HasBlamerInfo()
const;
135 const void *GetParamsTrainingBundle()
const;
139 const char *GetBlamerDebug()
const;
143 const char *GetBlamerMisadaptionDebug()
const;
146 bool HasTruthString()
const;
150 bool EquivalentToTruth(
const char *str)
const;
154 char* WordTruthUTF8Text()
const;
158 char* WordNormedUTF8Text()
const;
162 const char *WordLattice(
int *lattice_size)
const;
169 bool SymbolIsSuperscript()
const;
173 bool SymbolIsSubscript()
const;
177 bool SymbolIsDropcap()
const;
213 BLOB_CHOICE_IT* choice_it_;
218 #endif // TESSERACT_CCMAIN_LTR_RESULT_ITERATOR_H__
const char * GetUTF8Text() const
const char * paragraph_separator_
const char * line_separator_
ChoiceIterator(const LTRResultIterator &result_it)