java.lang.Objectucot.parser.ParsedData
public class ParsedData
Parsed data is returned by parser. This contains a list of sentences (containing words) that have been parsed from usecase.
Field Summary | |
---|---|
private java.util.List<Sentence> |
sentences
Sentences parsed from usecase |
private UseCase |
usecase
Usecase this ParsedData was created from |
Constructor Summary | |
---|---|
ParsedData()
|
Method Summary | |
---|---|
void |
addSentence(Sentence sentence)
Adds a new sentence |
java.lang.String |
getOriginal()
Returns the text of the original use case. |
java.util.List<Sentence> |
getSentences()
Returns a list of sentences this parsedData contains |
UseCase |
getUseCase()
return the usecase that this parsedData was created from |
void |
setUseCase(UseCase a)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.List<Sentence> sentences
private UseCase usecase
Constructor Detail |
---|
public ParsedData()
Method Detail |
---|
public void setUseCase(UseCase a)
public UseCase getUseCase()
public void addSentence(Sentence sentence)
sentence
- sentence to addpublic java.util.List<Sentence> getSentences()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getOriginal()