/home/rays/src/opensrc/tesseract-ocr/dict/dawg.h File Reference

#include "elst.h"
#include "ratngs.h"
#include "params.h"
#include "tesscallback.h"

Go to the source code of this file.

Classes

struct  tesseract::NodeChild
class  tesseract::Dawg
struct  tesseract::DawgInfo
class  tesseract::DawgInfoVector
class  tesseract::SquishedDawg

Namespaces

namespace  tesseract

Defines

#define FORWARD_EDGE   (inT32) 0
#define BACKWARD_EDGE   (inT32) 1
#define MAX_NODE_EDGES_DISPLAY   (inT64) 100
#define MARKER_FLAG   (inT64) 1
#define DIRECTION_FLAG   (inT64) 2
#define WERD_END_FLAG   (inT64) 4
#define LETTER_START_BIT   0
#define NUM_FLAG_BITS   3
#define REFFORMAT   "%lld"

Typedefs

typedef uinT64 EDGE_RECORD
typedef EDGE_RECORDEDGE_ARRAY
typedef inT64 EDGE_REF
typedef inT64 NODE_REF
typedef EDGE_REFNODE_MAP
typedef GenericVector< NodeChild > tesseract::NodeChildVector
typedef GenericVector< int > tesseract::SuccessorList
typedef GenericVector
< SuccessorList * > 
tesseract::SuccessorListsVector

Enumerations

enum  tesseract::DawgType {
  tesseract::DAWG_TYPE_PUNCTUATION, tesseract::DAWG_TYPE_WORD, tesseract::DAWG_TYPE_NUMBER, tesseract::DAWG_TYPE_PATTERN,
  tesseract::DAWG_TYPE_COUNT
}

Define Documentation

#define BACKWARD_EDGE   (inT32) 1
#define DIRECTION_FLAG   (inT64) 2
#define FORWARD_EDGE   (inT32) 0
#define LETTER_START_BIT   0
#define MARKER_FLAG   (inT64) 1
#define MAX_NODE_EDGES_DISPLAY   (inT64) 100
#define NUM_FLAG_BITS   3
#define REFFORMAT   "%lld"
#define WERD_END_FLAG   (inT64) 4

Typedef Documentation

typedef inT64 EDGE_REF
typedef EDGE_REF* NODE_MAP
typedef inT64 NODE_REF
Generated on Thu Feb 2 08:19:22 2012 for Tesseract by  doxygen 1.6.3