ccmain/tfacepp.h

Go to the documentation of this file.
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(                           //recog one owrd
00036                         WERD *word,                //word to do
00037                         DENORM *denorm,            //de-normaliser
00038                         POLY_MATCHER matcher,      //matcher function
00039                         POLY_TESTER tester,        //tester function
00040                         POLY_TESTER trainer,       //trainer function
00041                         BOOL8 testing,             //true if answer driven
00042                         WERD_CHOICE *&raw_choice,  //raw result //list of blob lists
00043                         BLOB_CHOICE_LIST_CLIST *blob_choices,
00044                         WERD *&outword             //bln word output
00045                        );
00046                                  //recog one owrd
00047 WERD_CHOICE *recog_word_recursive(WERD *word,                //word to do
00048                         DENORM *denorm,            //de-normaliser
00049                         POLY_MATCHER matcher,      //matcher function
00050                         POLY_TESTER tester,        //tester function
00051                         POLY_TESTER trainer,       //trainer function
00052                         BOOL8 testing,             //true if answer driven
00053                         WERD_CHOICE *&raw_choice,  //raw result //list of blob lists
00054                         BLOB_CHOICE_LIST_CLIST *blob_choices,
00055                         WERD *&outword             //bln word output
00056                        );
00057                                  //recog one owrd
00058 WERD_CHOICE *split_and_recog_word(WERD *word,                //word to do
00059                         DENORM *denorm,            //de-normaliser
00060                         POLY_MATCHER matcher,      //matcher function
00061                         POLY_TESTER tester,        //tester function
00062                         POLY_TESTER trainer,       //trainer function
00063                         BOOL8 testing,             //true if answer driven
00064                         WERD_CHOICE *&raw_choice,  //raw result //list of blob lists
00065                         BLOB_CHOICE_LIST_CLIST *blob_choices,
00066                         WERD *&outword             //bln word output
00067                        );
00068 LIST call_matcher(                  //call a matcher
00069                   TBLOB *ptblob,    //previous
00070                   TBLOB *tessblob,  //blob to match
00071                   TBLOB *ntblob,    //next
00072                   void *,           //unused parameter
00073                   TEXTROW *         //always null anyway
00074                  );
00075 void call_tester(                     //call a tester
00076                  TBLOB *tessblob,     //blob to test
00077                  BOOL8 correct_blob,  //true if good
00078                  char *text,          //source text
00079                  INT32 count,         //chars in text
00080                  LIST result          //output of matcher
00081                 );
00082 void call_train_tester(                     //call a tester
00083                        TBLOB *tessblob,     //blob to test
00084                        BOOL8 correct_blob,  //true if good
00085                        char *text,          //source text
00086                        INT32 count,         //chars in text
00087                        LIST result          //output of matcher
00088                       );
00089 #endif

Generated on Wed Feb 28 19:49:08 2007 for Tesseract by  doxygen 1.5.1