72 WERD(C_BLOB_LIST *blob_list,
WERD *clone);
92 C_BLOB_LIST *orphan_blobs);
126 void set_text(
const char *new_text) { correct = new_text; }
150 #ifndef GRAPHICS_DISABLED 162 #endif // GRAPHICS_DISABLED 182 bool *make_next_word_fuzzy);
192 C_BLOB_LIST rej_cblobs;
196 #include "ocrrow.h" // placed here due to void copy_on(WERD *other)
TBOX true_bounding_box() const
TBOX restricted_bounding_box(bool upper_dots, bool lower_dots) const
BOOL8 bit(uinT8 bit_num) const
void CleanNoise(float size_threshold)
void set_blanks(uinT8 new_blanks)
void plot(ScrollView *window, ScrollView::Color colour)
void join_on(WERD *other)
static ScrollView::Color NextColor(ScrollView::Color colour)
void set_display_flag(uinT8 flag, BOOL8 value)
BOOL8 display_flag(uinT8 flag) const
void set_bit(uinT8 bit_num, BOOL8 value)
const char * string() const
BOOL8 flag(WERD_FLAGS mask) const
void plot_rej_blobs(ScrollView *window)
int word_comparator(const void *word1p, const void *word2p)
#define ELIST2IZEH(CLASSNAME)
void GetNoiseOutlines(GenericVector< C_OUTLINE *> *outlines)
bool AddSelectedOutlines(const GenericVector< bool > &wanted, const GenericVector< C_BLOB *> &target_blobs, const GenericVector< C_OUTLINE *> &outlines, bool *make_next_word_fuzzy)
const char * text() const
WERD & operator=(const WERD &source)
WERD * ConstructWerdWithNewBlobs(C_BLOB_LIST *all_blobs, C_BLOB_LIST *orphan_blobs)
void move(const ICOORD vec)
void set_script_id(int id)
void set_flag(WERD_FLAGS mask, BOOL8 value)
C_BLOB_LIST * cblob_list()
TBOX bounding_box() const
WERD * ConstructFromSingleBlob(bool bol, bool eol, C_BLOB *blob)
void set_text(const char *new_text)
C_BLOB_LIST * rej_cblob_list()