tesseract v5.3.3.20231005
ratngs.cpp File Reference
#include "ratngs.h"
#include "blobs.h"
#include "matrix.h"
#include "normalis.h"
#include "unicharset.h"
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  tesseract
 

Functions

BLOB_CHOICE * tesseract::FindMatchingChoice (UNICHAR_ID char_id, BLOB_CHOICE_LIST *bc_list)
 
const char * tesseract::ScriptPosToString (enum ScriptPos script_pos)
 
bool tesseract::EqualIgnoringCaseAndTerminalPunct (const WERD_CHOICE &word1, const WERD_CHOICE &word2)
 
void tesseract::print_ratings_list (const char *msg, BLOB_CHOICE_LIST *ratings, const UNICHARSET &current_unicharset)
 

Variables

const int tesseract::kMinSubscriptOffset = 20
 
const int tesseract::kMinSuperscriptOffset = 20
 
const int tesseract::kMaxDropCapBottom = -128
 
const double tesseract::kMaxOverlapDenominator = 0.125
 
const double tesseract::kMinXHeightMatch = 0.5
 
const double tesseract::kMaxBaselineDrift = 0.0625