Public Member Functions | |
GeometricClassifierState (int dbg_level, GenericVector< RowScratchRegisters > *r, int r_start, int r_end) | |
void | AssumeLeftJustification () |
void | AssumeRightJustification () |
const GenericVector< Cluster > & | AlignTabs () const |
const GenericVector< Cluster > & | OffsideTabs () const |
bool | IsFullRow (int i) const |
int | AlignsideTabIndex (int row_idx) const |
bool | FirstWordWouldHaveFit (int row_a, int row_b) |
void | PrintRows () const |
void | Fail (int min_debug_level, const char *why) const |
ParagraphModel | Model () const |
Public Attributes | |
int | debug_level |
GenericVector < RowScratchRegisters > * | rows |
int | row_start |
int | row_end |
int | tolerance |
bool | ltr |
GenericVector< Cluster > | left_tabs |
GenericVector< Cluster > | right_tabs |
tesseract::ParagraphJustification | just |
int | margin |
int | first_indent |
int | body_indent |
int | eop_threshold |
tesseract::GeometricClassifierState::GeometricClassifierState | ( | int | dbg_level, | |
GenericVector< RowScratchRegisters > * | r, | |||
int | r_start, | |||
int | r_end | |||
) | [inline] |
int tesseract::GeometricClassifierState::AlignsideTabIndex | ( | int | row_idx | ) | const [inline] |
const GenericVector<Cluster>& tesseract::GeometricClassifierState::AlignTabs | ( | ) | const [inline] |
void tesseract::GeometricClassifierState::AssumeLeftJustification | ( | ) | [inline] |
void tesseract::GeometricClassifierState::AssumeRightJustification | ( | ) | [inline] |
void tesseract::GeometricClassifierState::Fail | ( | int | min_debug_level, | |
const char * | why | |||
) | const [inline] |
bool tesseract::GeometricClassifierState::FirstWordWouldHaveFit | ( | int | row_a, | |
int | row_b | |||
) | [inline] |
bool tesseract::GeometricClassifierState::IsFullRow | ( | int | i | ) | const [inline] |
ParagraphModel tesseract::GeometricClassifierState::Model | ( | ) | const [inline] |
const GenericVector<Cluster>& tesseract::GeometricClassifierState::OffsideTabs | ( | ) | const [inline] |
void tesseract::GeometricClassifierState::PrintRows | ( | ) | const [inline] |