ucot.parser
Class Sentence
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
words
private java.util.List<Word> words
Sentence
public Sentence()
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