"Fossies" - the Fresh Open Source Software Archive

Member "tesseract-ocr/doc/html/tess__lang__mod__edge_8h.html" (26 Oct 2012, 24950 Bytes) of package /linux/misc/old/tesseract-ocr-3.02.02-doc-html.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the tesseract-ocr-3.02.02-doc-html.tar.gz project site itself.

Tesseract  3.02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.