tesseract v5.3.3.20231005
ratngs.h File Reference
#include "clst.h"
#include "elst.h"
#include "fontinfo.h"
#include "matrix.h"
#include "unicharset.h"
#include "werd.h"
#include <tesseract/unichar.h>
#include <cassert>
#include <cfloat>

Go to the source code of this file.

Classes

class  tesseract::BLOB_CHOICE
 
class  tesseract::WERD_CHOICE
 

Namespaces

namespace  tesseract
 

Typedefs

using tesseract::BLOB_CHOICE_LIST_VECTOR = std::vector< BLOB_CHOICE_LIST * >
 

Enumerations

enum  tesseract::BlobChoiceClassifier {
  tesseract::BCC_STATIC_CLASSIFIER , tesseract::BCC_ADAPTED_CLASSIFIER , tesseract::BCC_SPECKLE_CLASSIFIER , tesseract::BCC_AMBIG ,
  tesseract::BCC_FAKE
}
 
enum  tesseract::PermuterType {
  tesseract::NO_PERM , tesseract::PUNC_PERM , tesseract::TOP_CHOICE_PERM , tesseract::LOWER_CASE_PERM ,
  tesseract::UPPER_CASE_PERM , tesseract::NGRAM_PERM , tesseract::NUMBER_PERM , tesseract::USER_PATTERN_PERM ,
  tesseract::SYSTEM_DAWG_PERM , tesseract::DOC_DAWG_PERM , tesseract::USER_DAWG_PERM , tesseract::FREQ_DAWG_PERM ,
  tesseract::COMPOUND_PERM , tesseract::NUM_PERMUTER_TYPES
}
 
enum  tesseract::ScriptPos { tesseract::SP_NORMAL , tesseract::SP_SUBSCRIPT , tesseract::SP_SUPERSCRIPT , tesseract::SP_DROPCAP }
 

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)