00001
00020 #ifndef TFACEPP_H
00021 #define TFACEPP_H
00022
00023 #include "varable.h"
00024 #include "tstruct.h"
00025 #include "ratngs.h"
00026 #include "tessclas.h"
00027 #include "notdll.h"
00028
00031 extern BOOL_VAR_H (tessedit_override_permuter, TRUE,
00032 "According to dict_word");
00035 WERD_CHOICE *recog_word(
00036 WERD *word,
00037 DENORM *denorm,
00038 POLY_MATCHER matcher,
00039 POLY_TESTER tester,
00040 POLY_TESTER trainer,
00041 BOOL8 testing,
00042 WERD_CHOICE *&raw_choice,
00043 BLOB_CHOICE_LIST_CLIST *blob_choices,
00044 WERD *&outword
00045 );
00046
00047 WERD_CHOICE *recog_word_recursive(WERD *word,
00048 DENORM *denorm,
00049 POLY_MATCHER matcher,
00050 POLY_TESTER tester,
00051 POLY_TESTER trainer,
00052 BOOL8 testing,
00053 WERD_CHOICE *&raw_choice,
00054 BLOB_CHOICE_LIST_CLIST *blob_choices,
00055 WERD *&outword
00056 );
00057
00058 WERD_CHOICE *split_and_recog_word(WERD *word,
00059 DENORM *denorm,
00060 POLY_MATCHER matcher,
00061 POLY_TESTER tester,
00062 POLY_TESTER trainer,
00063 BOOL8 testing,
00064 WERD_CHOICE *&raw_choice,
00065 BLOB_CHOICE_LIST_CLIST *blob_choices,
00066 WERD *&outword
00067 );
00068 LIST call_matcher(
00069 TBLOB *ptblob,
00070 TBLOB *tessblob,
00071 TBLOB *ntblob,
00072 void *,
00073 TEXTROW *
00074 );
00075 void call_tester(
00076 TBLOB *tessblob,
00077 BOOL8 correct_blob,
00078 char *text,
00079 INT32 count,
00080 LIST result
00081 );
00082 void call_train_tester(
00083 TBLOB *tessblob,
00084 BOOL8 correct_blob,
00085 char *text,
00086 INT32 count,
00087 LIST result
00088 );
00089 #endif