|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.textual.IE.representation.Paragraph
public class Paragraph
Represents a paragraph of the text. It is composed by sentences.
Sentence
Field Summary | |
---|---|
protected java.util.List<Sentence> |
sentences
|
Constructor Summary | |
---|---|
Paragraph(java.lang.String text)
Creates a paragraph object that representes the text of the parameter. |
Method Summary | |
---|---|
void |
addSentence(Sentence sentence)
Adds a sentence |
void |
addSentences(java.util.List<Sentence> sentences)
Adds sentences |
java.lang.String |
getRawContent()
Returns the original text of the paragraph |
java.util.List<Sentence> |
getSentences()
Returns the sentences |
java.lang.String |
toString()
Prints the content and annotations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.List<Sentence> sentences
Constructor Detail |
---|
public Paragraph(java.lang.String text)
Method Detail |
---|
public java.lang.String getRawContent()
public java.util.List<Sentence> getSentences()
public void addSentences(java.util.List<Sentence> sentences)
public void addSentence(Sentence sentence)
public java.lang.String toString()
toString
in class java.lang.Object
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |