tesseract  4.0.0-1-g2a2b
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 34 of file stopper.h.

Constructor & Destructor Documentation

◆ DANGERR_INFO() [1/2]

DANGERR_INFO::DANGERR_INFO ( )
inline

Definition at line 35 of file stopper.h.

35  :
36  begin(-1), end(-1), dangerous(false), correct_is_ngram(false),
37  leftmost(INVALID_UNICHAR_ID) {}
UNICHAR_ID leftmost
Definition: stopper.h:44
bool dangerous
Definition: stopper.h:42
int begin
Definition: stopper.h:40
bool correct_is_ngram
Definition: stopper.h:43

◆ DANGERR_INFO() [2/2]

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

Definition at line 38 of file stopper.h.

38  :
39  begin(b), end(e), dangerous(d), correct_is_ngram(n), leftmost(l) {}
UNICHAR_ID leftmost
Definition: stopper.h:44
bool dangerous
Definition: stopper.h:42
int begin
Definition: stopper.h:40
bool correct_is_ngram
Definition: stopper.h:43

Member Data Documentation

◆ begin

int DANGERR_INFO::begin

Definition at line 40 of file stopper.h.

◆ correct_is_ngram

bool DANGERR_INFO::correct_is_ngram

Definition at line 43 of file stopper.h.

◆ dangerous

bool DANGERR_INFO::dangerous

Definition at line 42 of file stopper.h.

◆ end

int DANGERR_INFO::end

Definition at line 41 of file stopper.h.

◆ leftmost

UNICHAR_ID DANGERR_INFO::leftmost

Definition at line 44 of file stopper.h.


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