All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tesseract::WordData Struct Reference

#include <tesseractclass.h>

Public Member Functions

 WordData ()
 WordData (const PAGE_RES_IT &page_res_it)
 WordData (BLOCK *block_in, ROW *row_in, WERD_RES *word_res)

Public Attributes

PointerVector< WERD_RESlang_words

Detailed Description

Definition at line 144 of file tesseractclass.h.

Constructor & Destructor Documentation

tesseract::WordData::WordData ( )

Definition at line 145 of file tesseractclass.h.

145 : word(NULL), row(NULL), block(NULL), prev_word(NULL) {}
#define NULL
Definition: host.h:144
tesseract::WordData::WordData ( const PAGE_RES_IT page_res_it)

Definition at line 146 of file tesseractclass.h.

147  : word(page_res_it.word()), row(page_res_it.row()->row),
148  block(page_res_it.block()->block), prev_word(NULL) {}
BLOCK * block
Definition: pageres.h:99
BLOCK_RES * block() const
Definition: pageres.h:739
ROW_RES * row() const
Definition: pageres.h:736
ROW * row
Definition: pageres.h:127
#define NULL
Definition: host.h:144
WERD_RES * word() const
Definition: pageres.h:733
tesseract::WordData::WordData ( BLOCK block_in,
ROW row_in,
WERD_RES word_res 

Definition at line 149 of file tesseractclass.h.

150  : word(word_res), row(row_in), block(block_in), prev_word(NULL) {}
#define NULL
Definition: host.h:144

Member Data Documentation

BLOCK* tesseract::WordData::block

Definition at line 154 of file tesseractclass.h.

PointerVector<WERD_RES> tesseract::WordData::lang_words

Definition at line 156 of file tesseractclass.h.

WordData* tesseract::WordData::prev_word

Definition at line 155 of file tesseractclass.h.

ROW* tesseract::WordData::row

Definition at line 153 of file tesseractclass.h.

WERD_RES* tesseract::WordData::word

Definition at line 152 of file tesseractclass.h.

The documentation for this struct was generated from the following file: