|
Tesseract 3.01
|
#include <tess_lang_model.h>
Public Member Functions | |
| TessLangModel (const string &lm_params, const string &data_file_path, bool load_system_dawg, TessdataManager *tessdata_manager, CubeRecoContext *cntxt) | |
| ~TessLangModel () | |
| TessLangModEdge * | Root () |
| LangModEdge ** | GetEdges (CharAltList *alt_list, LangModEdge *edge, int *edge_cnt) |
| bool | IsValidSequence (const char_32 *sequence, bool eow_flag, LangModEdge **final_edge=NULL) |
| bool | IsLeadingPunc (char_32 ch) |
| bool | IsTrailingPunc (char_32 ch) |
| bool | IsDigit (char_32 ch) |
| void | RemoveInvalidCharacters (string *lm_str) |
| tesseract::TessLangModel::TessLangModel | ( | const string & | lm_params, |
| const string & | data_file_path, | ||
| bool | load_system_dawg, | ||
| TessdataManager * | tessdata_manager, | ||
| CubeRecoContext * | cntxt | ||
| ) |
| tesseract::TessLangModel::~TessLangModel | ( | ) | [inline] |
| LangModEdge ** tesseract::TessLangModel::GetEdges | ( | CharAltList * | alt_list, |
| LangModEdge * | edge, | ||
| int * | edge_cnt | ||
| ) | [virtual] |
Implements tesseract::LangModel.
| bool tesseract::TessLangModel::IsDigit | ( | char_32 | ch | ) | [virtual] |
Implements tesseract::LangModel.
| bool tesseract::TessLangModel::IsLeadingPunc | ( | char_32 | ch | ) | [virtual] |
Implements tesseract::LangModel.
| bool tesseract::TessLangModel::IsTrailingPunc | ( | char_32 | ch | ) | [virtual] |
Implements tesseract::LangModel.
| bool tesseract::TessLangModel::IsValidSequence | ( | const char_32 * | sequence, |
| bool | eow_flag, | ||
| LangModEdge ** | final_edge = NULL |
||
| ) | [virtual] |
Implements tesseract::LangModel.
| void tesseract::TessLangModel::RemoveInvalidCharacters | ( | string * | lm_str | ) |
| TessLangModEdge* tesseract::TessLangModel::Root | ( | ) | [inline, virtual] |
Implements tesseract::LangModel.