Init from working directory of svn repository.
#ifndef _WORD_H_
#define _WORD_H_
#include "list.h"
#include "Component.h"
class Word {
public:
// Constructor scans through length components starting at first
// to set data fields
Word(ListElement * first, int length);
Word(char * word, int length);
~Word();
char * characters; // text string
int charCount; // Number of characters in the string
short mispelled;
// spelled correctly? only valid if the word
// has been spellchecked
Confidence confid; // The average confidence of each char in word
Point ul; // upper left point of word
Point lr; // lower right point of word
Component ** character; // an array of components that
// make up this word
};
class Words:public List{
public:
int num_words;
Words():List(){};
~Words();
int writeWordPos(char * filename);
int writeAscii(char * filename);
};
#endif