tesseract 5.2.0
|
#include <string>
#include "include_gunit.h"
#include "log.h"
#include "paragraphs.h"
#include "paragraphs_internal.h"
#include "ocrpara.h"
Go to the source code of this file.
Classes | |
struct | tesseract::TextAndModel |
Namespaces | |
namespace | tesseract |
Typedefs | |
typedef ParagraphModel | tesseract::PModel |
Enumerations | |
enum | tesseract::TextModelInputType { tesseract::PCONT = 0 , tesseract::PSTART = 1 , tesseract::PNONE = 2 } |
Functions | |
void | tesseract::AsciiToRowInfo (const char *text, int row_number, RowInfo *info) |
void | tesseract::MakeAsciiRowInfos (const TextAndModel *row_infos, int n, std::vector< RowInfo > *output) |
void | tesseract::EvaluateParagraphDetection (const TextAndModel *correct, int n, const std::vector< PARA * > &detector_output) |
void | tesseract::TestParagraphDetection (const TextAndModel *correct, int num_rows) |
tesseract::TEST (ParagraphsTest, ListItemsIdentified) | |
tesseract::TEST (ParagraphsTest, TestSimpleParagraphDetection) | |
tesseract::TEST (ParagraphsTest, TestFewCluesWithCrown) | |
tesseract::TEST (ParagraphsTest, TestCrownParagraphDetection) | |
tesseract::TEST (ParagraphsText, TestRealFlushLeftParagraphs) | |
tesseract::TEST (ParagraphsTest, TestSingleFullPageContinuation) | |
tesseract::TEST (ParagraphsTest, TestRightAlignedParagraph) | |
tesseract::TEST (ParagraphsTest, TestTinyParagraphs) | |
tesseract::TEST (ParagraphsTest, TestComplexPage1) | |
tesseract::TEST (ParagraphsTest, TestComplexPage2) | |
tesseract::TEST (ParagraphsTest, TestSubtleCrown) | |
tesseract::TEST (ParagraphsTest, TestStrayLineInBlock) | |
tesseract::TEST (ParagraphsTest, TestUnlvInsurance) | |
tesseract::TEST (ParagraphsTest, TestSplitsOutLeaderLines) | |
tesseract::TEST (ParagraphsTest, NotDistractedBySourceCode) | |
tesseract::TEST (ParagraphsTest, NotOverlyAggressiveWithBlockQuotes) | |
tesseract::TEST (ParagraphsTest, IndexPageTest) | |
Variables | |
const ParagraphJustification | tesseract::kLeft = JUSTIFICATION_LEFT |
const ParagraphJustification | tesseract::kCenter = JUSTIFICATION_CENTER |
const ParagraphJustification | tesseract::kRight = JUSTIFICATION_RIGHT |
const ParagraphJustification | tesseract::kUnknown = JUSTIFICATION_UNKNOWN |
const TextAndModel | tesseract::kTwoSimpleParagraphs [] |
const TextAndModel | tesseract::kFewCluesWithCrown [] |
const TextAndModel | tesseract::kCrownedParagraph [] |
const TextAndModel | tesseract::kFlushLeftParagraphs [] |
const TextAndModel | tesseract::kSingleFullPageContinuation [] |
const TextAndModel | tesseract::kRightAligned [] |
const TextAndModel | tesseract::kTinyParagraphs [] |
const TextAndModel | tesseract::kComplexPage1 [] |
const TextAndModel | tesseract::kComplexPage2 [] |
const TextAndModel | tesseract::kSubtleCrown [] |
const TextAndModel | tesseract::kUnlvRep3AO [] |
const TextAndModel | tesseract::kTableOfContents [] |
const TextAndModel | tesseract::kTextWithSourceCode [] |
const TextAndModel | tesseract::kOldManAndSea [] |
const TextAndModel | tesseract::kNewZealandIndex [] |