ccmain/tessbox.h

Go to the documentation of this file.
00001 
00020 #ifndef           TESSBOX_H
00021 #define           TESSBOX_H
00022 
00023 #include          "ratngs.h"
00024 #include          "notdll.h"
00025 
00026 WERD_CHOICE *tess_segment_pass1(                           //recog one word
00027                  WERD *word,                //bln word to do
00028                  DENORM *denorm,            //de-normaliser
00029                  POLY_MATCHER matcher,      //matcher function
00030                  WERD_CHOICE *&raw_choice,  //raw result //list of blob lists
00031                  BLOB_CHOICE_LIST_CLIST *blob_choices,
00032                  WERD *&outword             //bln word output
00033                 );
00034 WERD_CHOICE *tess_segment_pass2(                           //recog one word
00035                  WERD *word,                //bln word to do
00036                  DENORM *denorm,            //de-normaliser
00037                  POLY_MATCHER matcher,      //matcher function
00038                  WERD_CHOICE *&raw_choice,  //raw result //list of blob lists
00039                  BLOB_CHOICE_LIST_CLIST *blob_choices,
00040                  WERD *&outword             //bln word output
00041                 );
00042                                  //recog one word
00043 WERD_CHOICE *correct_segment_pass2(WERD *word,                //bln word to do
00044                     DENORM *denorm,            //de-normaliser
00045                     POLY_MATCHER matcher,      //matcher function
00046                     POLY_TESTER tester,        //tester function
00047                     WERD_CHOICE *&raw_choice,  //raw result //list of blob lists
00048                     BLOB_CHOICE_LIST_CLIST *blob_choices,
00049                     WERD *&outword             //bln word output
00050                    );
00051 WERD_CHOICE *test_segment_pass2(                           //recog one word
00052                  WERD *word,                //bln word to do
00053                  DENORM *denorm,            //de-normaliser
00054                  POLY_MATCHER matcher,      //matcher function
00055                  POLY_TESTER tester,        //tester function
00056                  WERD_CHOICE *&raw_choice,  //raw result //list of blob lists
00057                  BLOB_CHOICE_LIST_CLIST *blob_choices,
00058                  WERD *&outword             //bln word output
00059                 );
00060 BOOL8 tess_acceptable_word(                           //test acceptability
00061                  WERD_CHOICE *word_choice,  //after context
00062                  WERD_CHOICE *raw_choice    //before context
00063                 );
00064 BOOL8 tess_adaptable_word(                           //test adaptability
00065                 WERD *word,                //word to test
00066                 WERD_CHOICE *word_choice,  //after context
00067                 WERD_CHOICE *raw_choice    //before context
00068                );
00069 void tess_cn_matcher(                           //call tess
00070                 PBLOB *pblob,              //previous blob
00071                 PBLOB *blob,               //blob to match
00072                 PBLOB *nblob,              //next blob
00073                 WERD *word,                //word it came from
00074                 DENORM *denorm,            //de-normaliser
00075                 BLOB_CHOICE_LIST &ratings  //list of results
00076                );
00077 void tess_bn_matcher(                           //call tess
00078                 PBLOB *pblob,              //previous blob
00079                 PBLOB *blob,               //blob to match
00080                 PBLOB *nblob,              //next blob
00081                 WERD *word,                //word it came from
00082                 DENORM *denorm,            //de-normaliser
00083                 BLOB_CHOICE_LIST &ratings  //list of results
00084                );
00085 void tess_default_matcher(                           //call tess
00086                 PBLOB *pblob,              //previous blob
00087                 PBLOB *blob,               //blob to match
00088                 PBLOB *nblob,              //next blob
00089                 WERD *word,                //word it came from
00090                 DENORM *denorm,            //de-normaliser
00091                 BLOB_CHOICE_LIST &ratings  //list of results
00092                );
00093 void tess_training_tester(                           //call tess
00094                 PBLOB *blob,               //blob to match
00095                 DENORM *denorm,            //de-normaliser
00096                 BOOL8 correct,             //ly segmented
00097                 char *text,                //correct text
00098                 INT32 count,               //chars in text
00099                 BLOB_CHOICE_LIST *ratings  //list of results
00100                );
00101 void tess_adapter(                         //adapt to word
00102                 WERD *word,              //bln word
00103                 DENORM *denorm,          //de-normalise
00104                 const char *string,      //string for word
00105                 const char *raw_string,  //before context
00106                 const char *rejmap);
00107 void tess_add_doc_word(                          //test acceptability
00108                 WERD_CHOICE *word_choice  //after context
00109                );
00110 #endif

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