ucot.parser
Class Sentence

java.lang.Object
  extended by ucot.parser.Sentence

public class Sentence
extends java.lang.Object

Contains information and words of one sentence. Sentence is builded from a list of words and words cary informaton about their part in the sentence and what part of the speech they represents etc.

Author:
panu

Field Summary
private  java.util.List<Word> words
           
 
Constructor Summary
Sentence()
           
 
Method Summary
 void addWord(Word w)
           
 java.util.List<Word> getWords()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

words

private java.util.List<Word> words
Constructor Detail

Sentence

public Sentence()
Method Detail

addWord

public void addWord(Word w)

getWords

public java.util.List<Word> getWords()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object