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,
97 float* ascenders)
const;
109 const char* WordFontAttributes(
bool* is_bold,
120 const char* WordRecognitionLanguage()
const;
126 bool WordIsFromDictionary()
const;
129 bool WordIsNumeric()
const;
132 bool HasBlamerInfo()
const;
136 const void *GetParamsTrainingBundle()
const;
140 const char *GetBlamerDebug()
const;
144 const char *GetBlamerMisadaptionDebug()
const;
147 bool HasTruthString()
const;
151 bool EquivalentToTruth(
const char *str)
const;
155 char* WordTruthUTF8Text()
const;
159 char* WordNormedUTF8Text()
const;
163 const char *WordLattice(
int *lattice_size)
const;
170 bool SymbolIsSuperscript()
const;
174 bool SymbolIsSubscript()
const;
178 bool SymbolIsDropcap()
const;
214 BLOB_CHOICE_IT* choice_it_;
219 #endif // TESSERACT_CCMAIN_LTR_RESULT_ITERATOR_H__
const char * paragraph_separator_
const char * line_separator_
const char * GetUTF8Text() const
ChoiceIterator(const LTRResultIterator &result_it)