22 #ifndef TESSERACT_CCMAIN_RESULT_ITERATOR_H_ 23 #define TESSERACT_CCMAIN_RESULT_ITERATOR_H_ 90 int BlanksBeforeWord()
const;
103 virtual std::vector<std::vector<std::pair<const char*, float>>>* GetBestLSTMSymbolChoices()
const;
109 bool ParagraphIsLtr()
const;
135 static void CalculateTextlineOrder(
136 bool paragraph_is_ltr,
158 bool CurrentParagraphIsLtr()
const;
171 void CalculateTextlineOrder(
bool paragraph_is_ltr,
175 void CalculateTextlineOrder(
bool paragraph_is_ltr,
184 int LTRWordIndex()
const;
193 void MoveToLogicalStartOfTextline();
199 void MoveToLogicalStartOfWord();
202 bool IsAtFinalSymbolOfWord()
const;
205 bool IsAtFirstSymbolOfWord()
const;
211 void AppendSuffixMarks(
STRING *text)
const;
214 void AppendUTF8WordText(
STRING *text)
const;
223 void IterateAndAppendUTF8TextlineText(
STRING *text);
231 void AppendUTF8ParagraphText(
STRING *text)
const;
234 bool BidiDebug(
int min_level)
const;
236 bool current_paragraph_is_ltr_;
242 bool at_beginning_of_minor_run_;
245 bool in_minor_direction_;
251 bool preserve_interword_spaces_;
256 #endif // TESSERACT_CCMAIN_RESULT_ITERATOR_H_
static const int kComplexWord
static const int kMinorRunStart
static const int kMinorRunEnd