00001
00020 #ifndef WERDCLASSH
00021 #define WERDCLASSH
00022
00023 #include "choices.h"
00024 #include "callcpp.h"
00025 #include "states.h"
00026 #include "tessclas.h"
00027
00028
00029
00030
00032 extern INT16 first_pass;
00033
00034
00035
00036
00037 CHOICES classify_blob(TBLOB *pblob,
00038 TBLOB *blob,
00039 TBLOB *nblob,
00040 TEXTROW *row,
00041 int fx,
00042 const char *string,
00043 C_COL color,
00044 STATE *this_state,
00045 STATE *best_state,
00046 INT32 pass,
00047 INT32 blob_index);
00048
00049 void write_text_files(TWERD *word,
00050 char *raw_choice,
00051 int same_row,
00052 int good_word,
00053 int firstpass);
00054
00055 void save_answer(TWERD *word,
00056 TEXTROW *row,
00057 A_CHOICE *best_choice,
00058 A_CHOICE *raw_choice,
00059 int firstpass);
00060 #endif