be.ac.ucl.tele.ccg.jXDRS
Class Utterance

java.lang.Object
  extended by be.ac.ucl.tele.ccg.jXDRS.Utterance

public class Utterance
extends java.lang.Object


Field Summary
 java.util.LinkedHashMap words
           
 
Constructor Summary
Utterance()
           
 
Method Summary
 void addWord(Word word)
          Adds a feature to the Word attribute of the Utterance object
 Word getWordById(java.lang.String sWord)
          Gets the wordById attribute of the Utterance object
 java.util.HashMap getWordsByWord(java.lang.String word)
          Gets the wordsByWord attribute of the Utterance object
 java.util.HashMap getWordsByWords(java.lang.String[] wordList)
          Gets the wordsByWords attribute of the Utterance object
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

words

public java.util.LinkedHashMap words
UML type:
Word
Constructor Detail

Utterance

public Utterance()
Method Detail

addWord

public void addWord(Word word)
Adds a feature to the Word attribute of the Utterance object

Parameters:
word - The feature to be added to the Word attribute

getWordById

public Word getWordById(java.lang.String sWord)
Gets the wordById attribute of the Utterance object

Parameters:
sWord - Description of the Parameter
Returns:
The wordById value

getWordsByWord

public java.util.HashMap getWordsByWord(java.lang.String word)
Gets the wordsByWord attribute of the Utterance object

Parameters:
word - Description of the Parameter
Returns:
The wordsByWord value

getWordsByWords

public java.util.HashMap getWordsByWords(java.lang.String[] wordList)
Gets the wordsByWords attribute of the Utterance object

Parameters:
wordList - Description of the Parameter
Returns:
The wordsByWords value

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class java.lang.Object
Returns:
Description of the Return Value


MIT style licence.