tesseract v5.3.3.20231005
tesseract::DANGERR_INFO Struct Reference

#include <stopper.h>

Public Member Functions

 DANGERR_INFO ()
 
 DANGERR_INFO (int b, int e, bool d, bool n, UNICHAR_ID l)
 

Public Attributes

int begin
 
int end
 
bool dangerous
 
bool correct_is_ngram
 
UNICHAR_ID leftmost
 

Detailed Description

Definition at line 31 of file stopper.h.

Constructor & Destructor Documentation

◆ DANGERR_INFO() [1/2]

tesseract::DANGERR_INFO::DANGERR_INFO ( )
inline

Definition at line 32 of file stopper.h.

33 : begin(-1)
34 , end(-1)
35 , dangerous(false)
36 , correct_is_ngram(false)
37 , leftmost(INVALID_UNICHAR_ID) {}
UNICHAR_ID leftmost
Definition: stopper.h:44

◆ DANGERR_INFO() [2/2]

tesseract::DANGERR_INFO::DANGERR_INFO ( int  b,
int  e,
bool  d,
bool  n,
UNICHAR_ID  l 
)
inline

Definition at line 38 of file stopper.h.

39 : begin(b), end(e), dangerous(d), correct_is_ngram(n), leftmost(l) {}

Member Data Documentation

◆ begin

int tesseract::DANGERR_INFO::begin

Definition at line 40 of file stopper.h.

◆ correct_is_ngram

bool tesseract::DANGERR_INFO::correct_is_ngram

Definition at line 43 of file stopper.h.

◆ dangerous

bool tesseract::DANGERR_INFO::dangerous

Definition at line 42 of file stopper.h.

◆ end

int tesseract::DANGERR_INFO::end

Definition at line 41 of file stopper.h.

◆ leftmost

UNICHAR_ID tesseract::DANGERR_INFO::leftmost

Definition at line 44 of file stopper.h.


The documentation for this struct was generated from the following file: