Tesseract 3.02

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros
tess_lang_mod_edge.h File Reference
`#include "dawg.h"`
`#include "char_set.h"`
`#include "lang_mod_edge.h"`
`#include "cube_reco_context.h"`
`#include "cube_utils.h"`

Go to the source code of this file.

## Classes
class | tesseract::TessLangModEdge

## Namespaces
namespace | tesseract

## Macros
#define | LEAD_PUNC_EDGE_REF_MASK (inT64) 0x0000000100000000ll
#define | TRAIL_PUNC_EDGE_REF_MASK (inT64) 0x0000000200000000ll
#define | TRAIL_PUNC_REPEAT_MASK (inT64) 0xffff000000000000ll
#define | NUMBER_STATE_SHIFT 0
#define | NUMBER_STATE_MASK 0x0000000fl
#define | NUMBER_LITERAL_SHIFT 4
#define | NUMBER_LITERAL_MASK 0x000000f0l
#define | NUMBER_REPEAT_SHIFT 8
#define | NUMBER_REPEAT_MASK 0x00000f00l
#define | NUM_TRM -99
#define | TRAIL_PUNC_REPEAT_SHIFT 48
#define | IsLeadingPuncEdge(edge_mask) ((edge_mask & LEAD_PUNC_EDGE_REF_MASK) != 0)
#define | IsTrailingPuncEdge(edge_mask) ((edge_mask & TRAIL_PUNC_EDGE_REF_MASK) != 0)
#define | TrailingPuncCount(edge_mask) ((edge_mask & TRAIL_PUNC_REPEAT_MASK) >> TRAIL_PUNC_REPEAT_SHIFT)
#define | TrailingPuncEdgeMask(Cnt) (TRAIL_PUNC_EDGE_REF_MASK | ((Cnt) << TRAIL_PUNC_REPEAT_SHIFT))
#define | DAWG_OOD 0
#define | DAWG_NUMBER 1

## Macro Definition Documentation

#define DAWG_NUMBER 1

Definition at line 65 of file tess_lang_mod_edge.h.

#define DAWG_OOD 0

Definition at line 64 of file tess_lang_mod_edge.h.

#define IsLeadingPuncEdge | ( |  | edge_mask | ) | ((edge_mask & LEAD_PUNC_EDGE_REF_MASK) != 0)

Definition at line 54 of file tess_lang_mod_edge.h.

#define IsTrailingPuncEdge | ( |  | edge_mask | ) | ((edge_mask & TRAIL_PUNC_EDGE_REF_MASK) != 0)

Definition at line 56 of file tess_lang_mod_edge.h.

#define LEAD_PUNC_EDGE_REF_MASK (inT64) 0x0000000100000000ll

Definition at line 39 of file tess_lang_mod_edge.h.

#define NUM_TRM -99

Definition at line 51 of file tess_lang_mod_edge.h.

#define NUMBER_LITERAL_MASK 0x000000f0l

Definition at line 48 of file tess_lang_mod_edge.h.

#define NUMBER_LITERAL_SHIFT 4

Definition at line 47 of file tess_lang_mod_edge.h.

#define NUMBER_REPEAT_MASK 0x00000f00l

Definition at line 50 of file tess_lang_mod_edge.h.

#define NUMBER_REPEAT_SHIFT 8

Definition at line 49 of file tess_lang_mod_edge.h.

#define NUMBER_STATE_MASK 0x0000000fl

Definition at line 46 of file tess_lang_mod_edge.h.

#define NUMBER_STATE_SHIFT 0

Definition at line 45 of file tess_lang_mod_edge.h.

#define TRAIL_PUNC_EDGE_REF_MASK (inT64) 0x0000000200000000ll

Definition at line 40 of file tess_lang_mod_edge.h.

#define TRAIL_PUNC_REPEAT_MASK (inT64) 0xffff000000000000ll

Definition at line 41 of file tess_lang_mod_edge.h.

#define TRAIL_PUNC_REPEAT_SHIFT 48

Definition at line 52 of file tess_lang_mod_edge.h.

#define TrailingPuncCount | ( |  | edge_mask | ) | ((edge_mask & TRAIL_PUNC_REPEAT_MASK) >> TRAIL_PUNC_REPEAT_SHIFT)

Definition at line 58 of file tess_lang_mod_edge.h.

#define TrailingPuncEdgeMask | ( |  | Cnt | ) | (TRAIL_PUNC_EDGE_REF_MASK | ((Cnt) << TRAIL_PUNC_REPEAT_SHIFT))

Definition at line 60 of file tess_lang_mod_edge.h.