Tesseract  3.02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tesseract::LanguageModelConsistencyInfo Struct Reference

#include <language_model.h>

List of all members.

Public Member Functions

 LanguageModelConsistencyInfo ()
int NumInconsistentPunc () const
int NumInconsistentCase () const
int NumInconsistentChartype () const
bool Consistent () const
int NumInconsistentSpaces () const

Public Attributes

EDGE_REF punc_ref
int num_punc
bool invalid_punc
int num_non_first_upper
int num_lower
int script_id
bool inconsistent_script
int num_alphas
int num_digits
int num_other
int num_inconsistent_spaces
bool inconsistent_font

Detailed Description

Definition at line 40 of file language_model.h.


Constructor & Destructor Documentation

tesseract::LanguageModelConsistencyInfo::LanguageModelConsistencyInfo ( )
inline

Member Function Documentation

bool tesseract::LanguageModelConsistencyInfo::Consistent ( ) const
inline

Definition at line 57 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::NumInconsistentCase ( ) const
inline

Definition at line 50 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::NumInconsistentChartype ( ) const
inline

Definition at line 53 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::NumInconsistentPunc ( ) const
inline

Definition at line 47 of file language_model.h.

{
return invalid_punc ? num_punc : 0;
}
int tesseract::LanguageModelConsistencyInfo::NumInconsistentSpaces ( ) const
inline

Definition at line 61 of file language_model.h.


Member Data Documentation

bool tesseract::LanguageModelConsistencyInfo::inconsistent_font

Definition at line 76 of file language_model.h.

bool tesseract::LanguageModelConsistencyInfo::inconsistent_script

Definition at line 71 of file language_model.h.

bool tesseract::LanguageModelConsistencyInfo::invalid_punc

Definition at line 67 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::num_alphas

Definition at line 72 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::num_digits

Definition at line 73 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::num_inconsistent_spaces

Definition at line 75 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::num_lower

Definition at line 69 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::num_non_first_upper

Definition at line 68 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::num_other

Definition at line 74 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::num_punc

Definition at line 66 of file language_model.h.

EDGE_REF tesseract::LanguageModelConsistencyInfo::punc_ref

Definition at line 65 of file language_model.h.

int tesseract::LanguageModelConsistencyInfo::script_id

Definition at line 70 of file language_model.h.


The documentation for this struct was generated from the following file: