35 BOOL8 REJ::rej_before_nn_accept() {
42 BOOL8 REJ::rej_between_nn_and_mm() {
49 BOOL8 REJ::rej_between_mm_and_quality_accept() {
54 BOOL8 REJ::rej_between_quality_and_minimal_rej_accept() {
60 BOOL8 REJ::rej_before_mm_accept() {
61 return rej_between_nn_and_mm () ||
62 (rej_before_nn_accept () &&
67 BOOL8 REJ::rej_before_quality_accept() {
68 return rej_between_mm_and_quality_accept () ||
78 rej_between_quality_and_minimal_rej_accept () ||
90 (!rej_between_nn_and_mm () &&
91 !rej_between_mm_and_quality_accept () &&
92 !rej_between_quality_and_minimal_rej_accept ()));
244 fprintf (fp,
"R_NOT_TESS_ACCEPTED: %s\n",
246 fprintf (fp,
"R_CONTAINS_BLANKS: %s\n",
249 fprintf (fp,
"R_HYPHEN: %s\n",
flag (
R_HYPHEN) ?
"T" :
"F");
250 fprintf (fp,
"R_DUBIOUS: %s\n",
flag (
R_DUBIOUS) ?
"T" :
"F");
255 fprintf (fp,
"R_DOC_REJ: %s\n",
flag (
R_DOC_REJ) ?
"T" :
"F");
257 fprintf (fp,
"R_ROW_REJ: %s\n",
flag (
R_ROW_REJ) ?
"T" :
"F");
263 fprintf (fp,
"R_MINIMAL_REJ_ACCEPT: %s\n",
278 REJ *from = source.ptr;
286 for (i = 0; i < len; i++) {
309 for (i = 0; i < len; i++) {
325 0, len *
sizeof (
REJ));
335 for (i = 0; i < len; i++) {
336 if (ptr[i].accepted ())
346 for (i = 0; i < len; i++) {
347 if (ptr[i].recoverable ())
357 for (i = 0; i < len; i++) {
358 if (ptr[i].accept_if_good_quality ())
378 0, len *
sizeof (
REJ));
382 for (i = 0; i < pos; i++)
385 for (; pos < len; pos++)
386 new_ptr[pos] = ptr[pos + 1];
398 for (i = 0; i < len; i++) {
402 fprintf (fp,
"\"%s\"", buff);
409 for (i = 0; i < len; i++) {
419 for (i = 0; i < len; i++) {
428 for (i = 0; i < len; i++) {
437 for (i = 0; i < len; i++) {
446 for (i = 0; i < len; i++) {
455 for (i = 0; i < len; i++) {
464 for (i = 0; i < len; i++) {
473 for (i = 0; i < len; i++) {
482 for (i = 0; i < len; i++) {
491 for (i = 0; i < len; i++) {
500 for (i = 0; i < len; i++) {
509 for (i = 0; i < len; i++) {
518 for (i = 0; i < len; i++) {
void setrej_hyphen_accept()
BOOL8 quality_recoverable_rejects()
void rej_word_bad_quality()
BOOL8 recoverable_rejects()
void setrej_minimal_rej_accept()
void free_struct(void *deadstruct, inT32, const char *)
void setrej_no_alphanums()
void setrej_not_tess_accepted()
void full_print(FILE *fp)
void initialise(inT16 length)
void rej_word_not_tess_accepted()
BOOL8 accept_if_good_quality()
void remove_pos(inT16 pos)
void rej_word_tess_failure()
void rej_word_xht_fixup()
void setrej_tess_failure()
void setrej_1Il_conflict()
void rej_word_block_rej()
void full_print(FILE *fp)
void rej_word_mostly_rej()
REJMAP & operator=(const REJMAP &source)
void setrej_bad_repetition()
void setrej_contains_blanks()
BOOL8 flag(REJ_FLAGS rej_flag)
void rej_word_small_xht()
void setrej_bad_quality()
void rej_word_bad_permuter()
void rej_word_contains_blanks()
void * alloc_struct(inT32 count, const char *)
void rej_word_no_alphanums()
void setrej_bad_permuter()
void setrej_quality_accept()