#include <cube_reco_context.h>
Definition at line 43 of file cube_reco_context.h.
tesseract::CubeRecoContext::CubeRecoContext |
( |
Tesseract * |
tess_obj | ) |
|
tesseract::CubeRecoContext::~CubeRecoContext |
( |
| ) |
|
Definition at line 55 of file cube_reco_context.cpp.
56 if (char_classifier_ !=
NULL) {
57 delete char_classifier_;
58 char_classifier_ =
NULL;
61 if (word_size_model_ !=
NULL) {
62 delete word_size_model_;
63 word_size_model_ =
NULL;
66 if (char_set_ !=
NULL) {
71 if (char_bigrams_ !=
NULL) {
76 if (word_unigrams_ !=
NULL) {
77 delete word_unigrams_;
78 word_unigrams_ =
NULL;
81 if (lang_mod_ !=
NULL) {
86 if (params_ !=
NULL) {
CharBigrams* tesseract::CubeRecoContext::Bigrams |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::CaseSensitive |
( |
| ) |
const |
|
inline |
CharSet* tesseract::CubeRecoContext::CharacterSet |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::Contextual |
( |
| ) |
const |
|
inline |
Definition at line 182 of file cube_reco_context.cpp.
188 fprintf(stderr,
"Cube ERROR (CubeRecoContext::Create): unable to create " 189 "CubeRecoContext object\n");
193 if (cntxt->Load(tessdata_manager, tess_unicharset) ==
false) {
194 fprintf(stderr,
"Cube ERROR (CubeRecoContext::Create): unable to init " 195 "CubeRecoContext object\n");
CubeRecoContext(Tesseract *tess_obj)
bool tesseract::CubeRecoContext::Cursive |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::GetDataFilePath |
( |
string * |
path | ) |
const |
bool tesseract::CubeRecoContext::HasCase |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::HasItalics |
( |
| ) |
const |
|
inline |
const string& tesseract::CubeRecoContext::Lang |
( |
| ) |
const |
|
inline |
LangModel* tesseract::CubeRecoContext::LangMod |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::NoisyInput |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::Numeric |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::OOD |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::Punc |
( |
| ) |
const |
|
inline |
ReadOrder tesseract::CubeRecoContext::ReadingOrder |
( |
| ) |
const |
|
inline |
void tesseract::CubeRecoContext::SetCaseSensitive |
( |
bool |
case_sensitive | ) |
|
|
inline |
void tesseract::CubeRecoContext::SetNoisyInput |
( |
bool |
noisy_input | ) |
|
|
inline |
void tesseract::CubeRecoContext::SetNumeric |
( |
bool |
numeric_enabled | ) |
|
|
inline |
void tesseract::CubeRecoContext::SetOOD |
( |
bool |
ood_enabled | ) |
|
|
inline |
void tesseract::CubeRecoContext::SetPunc |
( |
bool |
punc_enabled | ) |
|
|
inline |
void tesseract::CubeRecoContext::SetSizeNormalization |
( |
bool |
size_normalization | ) |
|
|
inline |
void tesseract::CubeRecoContext::SetWordList |
( |
bool |
word_list_enabled | ) |
|
|
inline |
bool tesseract::CubeRecoContext::SizeNormalization |
( |
| ) |
const |
|
inline |
const UNICHARSET* tesseract::CubeRecoContext::TessUnicharset |
( |
| ) |
const |
|
inline |
bool tesseract::CubeRecoContext::WordList |
( |
| ) |
const |
|
inline |
WordUnigrams* tesseract::CubeRecoContext::WordUnigramsObj |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: