Conjecture::TextPage Class Reference

#include <TextPage.h>

Inheritance diagram for Conjecture::TextPage:

Conjecture::Root List of all members.

Detailed Description

A page of unicode text.

Instances of this class are generated by the 'process' algorithm defined on Page, and are also created from test files for use in training.

We could possibly introduce TextRegion, TextLine, TextWord, and Character classes (and a TextElement superclass) so that there is a one-to-one corresondence between graphical and textual classes, but currently we are exploring a simplier strategy

Internally, a TextPage does emulate the concepts of words (strings) lines (vector<string>), regions (vector<vector<string>>) and page (vector<vector<vector<string>>>).


Public Types

typedef std::string TextWord
typedef std::vector< TextWord > TextLine
typedef std::vector< TextLine > TextRegion

Public Member Functions

 TextPage (const std::string &file)


The documentation for this class was generated from the following files:
Generated on Mon Jun 12 20:27:18 2006 for Conjecture by  doxygen 1.4.6