Tesseract  3.02
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

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