tesseract-doxygen/dict/dawg.h File Reference

#include "elst.h"
#include "general.h"
#include "ratngs.h"
#include "varable.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 NO_EDGE   (inT64) 0xffffffffffffffffll
#define FORWARD_EDGE   (inT32) 0
#define BACKWARD_EDGE   (inT32) 1
#define MAX_NODE_EDGES_DISPLAY   (inT64) 100
#define LAST_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_PREFIX, tesseract::DAWG_TYPE_ROOT, tesseract::DAWG_TYPE_WORD,
  tesseract::DAWG_TYPE_SUFFIX, tesseract::DAWG_TYPE_NUMBER, tesseract::DAWG_TYPE_COUNT
}

Variables

int dawg_debug_level = 0

Define Documentation

#define BACKWARD_EDGE   (inT32) 1
#define DIRECTION_FLAG   (inT64) 2
#define FORWARD_EDGE   (inT32) 0
#define LAST_FLAG   (inT64) 1
#define LETTER_START_BIT   0
#define MAX_NODE_EDGES_DISPLAY   (inT64) 100
#define NO_EDGE   (inT64) 0xffffffffffffffffll
#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

Variable Documentation

"Set to 1 for general debug info, to" " 2 for more details, to 3 to see all the debug messages"

"Set to 1 for general debug info" ", to 2 for more details, to 3 to see all the debug messages"

Generated on Sun Jul 18 17:10:51 2010 for Tesseract by  doxygen 1.6.3