|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkr.ac.kaist.swrc.jhannanum.comm.CommObject
kr.ac.kaist.swrc.jhannanum.comm.PlainSentence
public class PlainSentence
This class contains a plain sentence which is not analyzed yet. It is used by the HanNanum work flow and its plug-ins to communicate each other.
| Field Summary | |
|---|---|
private java.lang.String |
sentence
The plain sentence. |
| Constructor Summary | |
|---|---|
PlainSentence(int documentID,
int sentenceID,
boolean endOfDocument)
Constructor. |
|
PlainSentence(int documentID,
int sentenceID,
boolean endOfDocument,
java.lang.String sentence)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSentence()
Getter of the plain sentence. |
void |
setSentence(java.lang.String sentence)
Setter of the plain sentence. |
java.lang.String |
toString()
It returns the plain string. |
| Methods inherited from class kr.ac.kaist.swrc.jhannanum.comm.CommObject |
|---|
getDocumentID, getSentenceID, isEndOfDocument, setDocumentID, setEndOfDocument, setSentenceID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String sentence
| Constructor Detail |
|---|
public PlainSentence(int documentID,
int sentenceID,
boolean endOfDocument)
documentID - - ID of the document which this sentence belong tosentenceID - - ID of this sentenceendOfDocument - - If this flag is true, the sentence is the last one of the document.
public PlainSentence(int documentID,
int sentenceID,
boolean endOfDocument,
java.lang.String sentence)
documentID - - ID of the document which this sentence belong tosentenceID - - ID of this sentenceendOfDocument - - If this flag is true, the sentence is the last one of the document.sentence - - the plain sentence| Method Detail |
|---|
public java.lang.String getSentence()
public void setSentence(java.lang.String sentence)
sentence - - the plain sentencepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||