tesseract
3.05.02
|
#include <lang_model.h>
Public Member Functions | |
LangModel () | |
virtual | ~LangModel () |
virtual LangModEdge * | Root ()=0 |
virtual LangModEdge ** | GetEdges (CharAltList *alt_list, LangModEdge *parent_edge, int *edge_cnt)=0 |
virtual bool | IsValidSequence (const char_32 *str, bool eow_flag, LangModEdge **edge_array=NULL)=0 |
virtual bool | IsLeadingPunc (char_32 ch)=0 |
virtual bool | IsTrailingPunc (char_32 ch)=0 |
virtual bool | IsDigit (char_32 ch)=0 |
bool | OOD () |
bool | Numeric () |
bool | WordList () |
bool | Punc () |
void | SetOOD (bool ood) |
void | SetNumeric (bool numeric) |
void | SetWordList (bool word_list) |
void | SetPunc (bool punc_enabled) |
Protected Attributes | |
bool | ood_enabled_ |
bool | numeric_enabled_ |
bool | word_list_enabled_ |
bool | punc_enabled_ |
Definition at line 34 of file lang_model.h.
|
inline |
Definition at line 36 of file lang_model.h.
|
inlinevirtual |
Definition at line 42 of file lang_model.h.
|
pure virtual |
Implemented in tesseract::TessLangModel, and tesseract::WordListLangModel.
|
pure virtual |
Implemented in tesseract::TessLangModel, and tesseract::WordListLangModel.
|
pure virtual |
Implemented in tesseract::TessLangModel, and tesseract::WordListLangModel.
|
pure virtual |
Implemented in tesseract::TessLangModel, and tesseract::WordListLangModel.
|
pure virtual |
Implemented in tesseract::TessLangModel, and tesseract::WordListLangModel.
|
inline |
Definition at line 62 of file lang_model.h.
|
inline |
Definition at line 61 of file lang_model.h.
|
inline |
Definition at line 64 of file lang_model.h.
|
pure virtual |
Implemented in tesseract::TessLangModel, and tesseract::WordListLangModel.
|
inline |
Definition at line 66 of file lang_model.h.
|
inline |
Definition at line 65 of file lang_model.h.
|
inline |
Definition at line 68 of file lang_model.h.
|
inline |
Definition at line 67 of file lang_model.h.
|
inline |
Definition at line 63 of file lang_model.h.
|
protected |
Definition at line 72 of file lang_model.h.
|
protected |
Definition at line 71 of file lang_model.h.
|
protected |
Definition at line 74 of file lang_model.h.
|
protected |
Definition at line 73 of file lang_model.h.