TranslationWord Class Reference

List of all members.

Detailed Description

Class to store one single word in a sentence, including its count of occurences.

This simple class can store one single word, an occurence counter for it and the word's ID in the WordIndex database.

Definition at line 29 of file TranslationWord.php.

Public Member Functions

 __construct ()
 SetID ($id)
 GetID ()
 SetWord ($word)
 GetWord ()
 SetCount ($count)
 GetCount ()

Private Attributes

 $ID
 $Word
 $Count


Constructor & Destructor Documentation

TranslationWord::__construct (  ) 

Create an empy word.

Definition at line 39 of file TranslationWord.php.


Member Function Documentation

TranslationWord::GetCount (  ) 

Get the occurences of this word in your sentence.

Definition at line 89 of file TranslationWord.php.

TranslationWord::GetID (  ) 

Get the WordIndex ID of this word.

Definition at line 57 of file TranslationWord.php.

TranslationWord::GetWord (  ) 

Get this word's actual text.

Definition at line 73 of file TranslationWord.php.

TranslationWord::SetCount ( count  ) 

Set the occurences of this word in your sentence.

Definition at line 81 of file TranslationWord.php.

TranslationWord::SetID ( id  ) 

Set the WordIndex ID of this word.

Definition at line 49 of file TranslationWord.php.

TranslationWord::SetWord ( word  ) 

Set this word's actual text.

Definition at line 65 of file TranslationWord.php.


Member Data Documentation

TranslationWord::$Count [private]

Number of occurences in the current context

Definition at line 33 of file TranslationWord.php.

TranslationWord::$ID [private]

Word's ID in the WordIndex database

Definition at line 31 of file TranslationWord.php.

TranslationWord::$Word [private]

The word's text

Definition at line 32 of file TranslationWord.php.


The documentation for this class was generated from the following file:
Generated on Tue Mar 20 00:42:40 2007 for XarayaTranslationMemory by  doxygen 1.4.7