tesseract::TessLangModel Class Reference

#include <tess_lang_model.h>

Inheritance diagram for tesseract::TessLangModel:
tesseract::LangModel

List of all members.

Public Member Functions

 TessLangModel (const string &lm_params, const string &data_file_path, bool load_system_dawg, TessdataManager *tessdata_manager, CubeRecoContext *cntxt)
 ~TessLangModel ()
TessLangModEdgeRoot ()
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)

Constructor & Destructor Documentation

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]

Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Thu Feb 2 08:19:26 2012 for Tesseract by  doxygen 1.6.3