20 #ifndef TESSERACT_CCUTIL_UNICHARMAP_H_ 21 #define TESSERACT_CCUTIL_UNICHARMAP_H_ 48 bool contains(
const char*
const unichar_repr,
int length)
const;
52 int minmatch(
const char*
const unichar_repr)
const;
61 struct UNICHARMAP_NODE {
66 UNICHARMAP_NODE* children;
70 UNICHARMAP_NODE* nodes;
73 #endif // TESSERACT_CCUTIL_UNICHARMAP_H_
UNICHAR_ID unichar_to_id(const char *const unichar_repr, int length) const
bool contains(const char *const unichar_repr, int length) const
void insert(const char *const unichar_repr, UNICHAR_ID id)
int minmatch(const char *const unichar_repr) const