|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjvntextpro.data.Sentence
public class Sentence
The Class Sentence.
| Constructor Summary | |
|---|---|
Sentence()
Instantiates a new sentence. |
|
| Method Summary | |
|---|---|
void |
addTWord(java.lang.String word)
Adds the t word. |
void |
addTWord(java.lang.String word,
java.lang.String tag)
Adds the t word. |
void |
addTWord(TWord tword)
Adds the t word. |
void |
clear()
Clear. |
java.lang.String |
getTagAt(int pos)
Gets the tag at. |
TWord |
getTWordAt(int pos)
Gets the t word at. |
java.lang.String |
getWordAt(int pos)
Gets the word at. |
void |
print()
Prints the. |
void |
print(java.io.Writer out)
Prints the. |
int |
size()
Size. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sentence()
| Method Detail |
|---|
public void addTWord(TWord tword)
tword - the tword
public void addTWord(java.lang.String word,
java.lang.String tag)
word - the wordtag - the tagpublic void addTWord(java.lang.String word)
word - the wordpublic java.lang.String getWordAt(int pos)
pos - the pos
public java.lang.String getTagAt(int pos)
pos - the pos
public TWord getTWordAt(int pos)
pos - the pos
public void clear()
public int size()
public void print()
public void print(java.io.Writer out)
throws java.io.IOException
out - the out
java.io.IOException - Signals that an I/O exception has occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||