tesseract::WordListLangModel Class Reference

#include <word_list_lang_model.h>

Inheritance diagram for tesseract::WordListLangModel:
tesseract::LangModel

List of all members.

Public Member Functions

 WordListLangModel (CubeRecoContext *cntxt)
 ~WordListLangModel ()
LangModEdgeRoot ()
LangModEdge ** GetEdges (CharAltList *alt_list, LangModEdge *edge, int *edge_cnt)
bool IsValidSequence (const char_32 *sequence, bool eow_flag, LangModEdge **edges)
bool IsLeadingPunc (char_32 ch)
bool IsTrailingPunc (char_32 ch)
bool IsDigit (char_32 ch)
bool AddString (const char *char_ptr)
bool AddString32 (const char_32 *char_32_ptr)

Static Public Member Functions

static void WordVariants (const CharSet &char_set, const UNICHARSET *uchset, string_32 str32, vector< WERD_CHOICE * > *word_variants)

Constructor & Destructor Documentation

tesseract::WordListLangModel::WordListLangModel ( CubeRecoContext cntxt  )  [explicit]
tesseract::WordListLangModel::~WordListLangModel (  ) 

Member Function Documentation

bool tesseract::WordListLangModel::AddString ( const char *  char_ptr  ) 
bool tesseract::WordListLangModel::AddString32 ( const char_32 char_32_ptr  ) 
LangModEdge ** tesseract::WordListLangModel::GetEdges ( CharAltList alt_list,
LangModEdge edge,
int *  edge_cnt 
) [virtual]

Implements tesseract::LangModel.

bool tesseract::WordListLangModel::IsDigit ( char_32  ch  )  [inline, virtual]

Implements tesseract::LangModel.

bool tesseract::WordListLangModel::IsLeadingPunc ( char_32  ch  )  [inline, virtual]

Implements tesseract::LangModel.

bool tesseract::WordListLangModel::IsTrailingPunc ( char_32  ch  )  [inline, virtual]

Implements tesseract::LangModel.

bool tesseract::WordListLangModel::IsValidSequence ( const char_32 sequence,
bool  eow_flag,
LangModEdge **  edges 
) [virtual]

Implements tesseract::LangModel.

LangModEdge * tesseract::WordListLangModel::Root (  )  [virtual]

Implements tesseract::LangModel.

void tesseract::WordListLangModel::WordVariants ( const CharSet char_set,
const UNICHARSET uchset,
string_32  str32,
vector< WERD_CHOICE * > *  word_variants 
) [static]

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