#include <rejctmap.h>
Definition at line 204 of file rejctmap.h.
◆ REJMAP() [1/2]
◆ REJMAP() [2/2]
REJMAP::REJMAP |
( |
const REJMAP & |
rejmap | ) |
|
|
inline |
◆ accept_count()
inT16 REJMAP::accept_count |
( |
| ) |
|
Definition at line 281 of file rejctmap.cpp.
285 for (i = 0; i < len; i++) {
286 if (ptr[i].accepted ())
◆ full_print()
void REJMAP::full_print |
( |
FILE * |
fp | ) |
|
Definition at line 339 of file rejctmap.cpp.
342 for (i = 0; i < len; i++) {
343 ptr[i].full_print (fp);
◆ initialise()
void REJMAP::initialise |
( |
inT16 |
length | ) |
|
◆ length()
inT32 REJMAP::length |
( |
| ) |
const |
|
inline |
◆ operator=()
Definition at line 267 of file rejctmap.cpp.
269 for (
int i = 0; i < len; i++) {
270 ptr[i] = source.ptr[i];
void initialise(inT16 length)
◆ operator[]()
REJ& REJMAP::operator[] |
( |
inT16 |
index | ) |
const |
|
inline |
◆ print()
void REJMAP::print |
( |
FILE * |
fp | ) |
|
Definition at line 327 of file rejctmap.cpp.
331 for (i = 0; i < len; i++) {
332 buff[i] = ptr[i].display_char ();
335 fprintf (fp,
"\"%s\"", buff);
◆ quality_recoverable_rejects()
BOOL8 REJMAP::quality_recoverable_rejects |
( |
| ) |
|
Definition at line 304 of file rejctmap.cpp.
307 for (i = 0; i < len; i++) {
308 if (ptr[i].accept_if_good_quality ())
◆ recoverable_rejects()
BOOL8 REJMAP::recoverable_rejects |
( |
| ) |
|
Definition at line 293 of file rejctmap.cpp.
296 for (i = 0; i < len; i++) {
297 if (ptr[i].recoverable ())
◆ rej_word_bad_permuter()
void REJMAP::rej_word_bad_permuter |
( |
| ) |
|
Definition at line 385 of file rejctmap.cpp.
388 for (i = 0; i < len; i++) {
389 if (ptr[i].accepted()) ptr[i].setrej_bad_permuter ();
◆ rej_word_bad_quality()
void REJMAP::rej_word_bad_quality |
( |
| ) |
|
Definition at line 421 of file rejctmap.cpp.
424 for (i = 0; i < len; i++) {
425 if (ptr[i].accepted()) ptr[i].setrej_bad_quality();
◆ rej_word_block_rej()
void REJMAP::rej_word_block_rej |
( |
| ) |
|
Definition at line 439 of file rejctmap.cpp.
442 for (i = 0; i < len; i++) {
443 if (ptr[i].accepted()) ptr[i].setrej_block_rej();
◆ rej_word_contains_blanks()
void REJMAP::rej_word_contains_blanks |
( |
| ) |
|
Definition at line 376 of file rejctmap.cpp.
379 for (i = 0; i < len; i++) {
380 if (ptr[i].accepted()) ptr[i].setrej_contains_blanks();
◆ rej_word_doc_rej()
void REJMAP::rej_word_doc_rej |
( |
| ) |
|
Definition at line 430 of file rejctmap.cpp.
433 for (i = 0; i < len; i++) {
434 if (ptr[i].accepted()) ptr[i].setrej_doc_rej();
◆ rej_word_mostly_rej()
void REJMAP::rej_word_mostly_rej |
( |
| ) |
|
Definition at line 412 of file rejctmap.cpp.
415 for (i = 0; i < len; i++) {
416 if (ptr[i].accepted()) ptr[i].setrej_mostly_rej();
◆ rej_word_no_alphanums()
void REJMAP::rej_word_no_alphanums |
( |
| ) |
|
Definition at line 403 of file rejctmap.cpp.
406 for (i = 0; i < len; i++) {
407 if (ptr[i].accepted()) ptr[i].setrej_no_alphanums();
◆ rej_word_not_tess_accepted()
void REJMAP::rej_word_not_tess_accepted |
( |
| ) |
|
Definition at line 367 of file rejctmap.cpp.
370 for (i = 0; i < len; i++) {
371 if (ptr[i].accepted()) ptr[i].setrej_not_tess_accepted();
◆ rej_word_row_rej()
void REJMAP::rej_word_row_rej |
( |
| ) |
|
Definition at line 448 of file rejctmap.cpp.
451 for (i = 0; i < len; i++) {
452 if (ptr[i].accepted()) ptr[i].setrej_row_rej();
◆ rej_word_small_xht()
void REJMAP::rej_word_small_xht |
( |
| ) |
|
Definition at line 349 of file rejctmap.cpp.
352 for (i = 0; i < len; i++) {
353 ptr[i].setrej_small_xht ();
◆ rej_word_tess_failure()
void REJMAP::rej_word_tess_failure |
( |
| ) |
|
Definition at line 358 of file rejctmap.cpp.
361 for (i = 0; i < len; i++) {
362 ptr[i].setrej_tess_failure ();
◆ rej_word_xht_fixup()
void REJMAP::rej_word_xht_fixup |
( |
| ) |
|
Definition at line 394 of file rejctmap.cpp.
397 for (i = 0; i < len; i++) {
398 if (ptr[i].accepted()) ptr[i].setrej_xht_fixup();
◆ reject_count()
inT16 REJMAP::reject_count |
( |
| ) |
|
|
inline |
◆ remove_pos()
void REJMAP::remove_pos |
( |
inT16 |
pos | ) |
|
Definition at line 315 of file rejctmap.cpp.
323 for (; pos < len; pos++) ptr[pos] = ptr[pos + 1];
The documentation for this class was generated from the following files:
- /home/stweil/src/github/tesseract-ocr/tesseract/ccstruct/rejctmap.h
- /home/stweil/src/github/tesseract-ocr/tesseract/ccstruct/rejctmap.cpp