20 #ifndef TESSERACT_CCUTIL_UNICHARMAP_H_ 21 #define TESSERACT_CCUTIL_UNICHARMAP_H_ 37 void insert(
const char*
const unichar_repr, UNICHAR_ID
id);
43 UNICHAR_ID
unichar_to_id(
const char*
const unichar_repr,
int length)
const;
48 bool contains(
const char*
const unichar_repr,
int length)
const;
52 int minmatch(
const char*
const unichar_repr)
const;
73 #endif // TESSERACT_CCUTIL_UNICHARMAP_H_ UNICHARMAP_NODE()
Definition: unicharmap.cpp:122
~UNICHARMAP()
Definition: unicharmap.cpp:29
UNICHARMAP()
Definition: unicharmap.cpp:25
Definition: unicharmap.h:61
void clear()
Definition: unicharmap.cpp:117
int minmatch(const char *const unichar_repr) const
Definition: unicharmap.cpp:102
bool contains(const char *const unichar_repr, int length) const
Definition: unicharmap.cpp:81
UNICHAR_ID id
Definition: unicharmap.h:67
Definition: unicharmap.h:27
void insert(const char *const unichar_repr, UNICHAR_ID id)
Definition: unicharmap.cpp:58
UNICHARMAP_NODE * nodes
Definition: unicharmap.h:70
~UNICHARMAP_NODE()
Definition: unicharmap.cpp:128
UNICHAR_ID unichar_to_id(const char *const unichar_repr, int length) const
Definition: unicharmap.cpp:36
UNICHARMAP_NODE * children
Definition: unicharmap.h:66