22 #ifndef TESSERACT_CCMAIN_RESULT_ITERATOR_H_ 23 #define TESSERACT_CCMAIN_RESULT_ITERATOR_H_ 27 #include "ltrresultiterator.h" 29 #include "publictypes.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;
256 #endif // TESSERACT_CCMAIN_RESULT_ITERATOR_H_ Definition: resultiterator.h:33
bool current_paragraph_is_ltr_
Definition: resultiterator.h:236
static const int kMinorRunEnd
Definition: resultiterator.h:141
static const int kMinorRunStart
Definition: resultiterator.h:140
static const int kComplexWord
Definition: resultiterator.h:142
bool preserve_interword_spaces_
Definition: resultiterator.h:251
Definition: resultiterator.h:41
Definition: baseapi.cpp:94
PageIteratorLevel
Definition: publictypes.h:219
Definition: ltrresultiterator.h:48
bool in_minor_direction_
Definition: resultiterator.h:245
bool at_beginning_of_minor_run_
Definition: resultiterator.h:242