|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uni_tuebingen.sfb.lichtenstein.treebanks.Sentence
public class Sentence
A sentence in a treebank. It has an id to find it in the treebank and of course a sentence string.
Constructor Summary | |
---|---|
Sentence(String sentence,
String id)
Create a sentence with the given sentence as content and the given id. |
Method Summary | |
---|---|
String |
getId()
Get the id of the linguistic tree this binary tree derives from. |
String |
getSentence()
Get the sentence this tree represents. |
String |
toString()
A sentence shows its id and string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Sentence(String sentence, String id)
sentence
- The sentence string.id
- The id.Method Detail |
---|
public String getId()
public String getSentence()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |