public class ProcessedText
extends java.lang.Object
Constructor and Description |
---|
ProcessedText()
Default Constructor
|
ProcessedText(Source metadata,
java.util.List<Paragraph> paragraphs,
java.util.List<Entity> entities)
Constructor to initialize object for processing of text
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Entity> |
getEntities()
Get all the Entity object of the source document that are processed.
|
Source |
getMetadata()
Get source object of the source document.
|
java.util.List<Paragraph> |
getParagraphs()
Get all the Paragraph object of the source document that are processed.
|
void |
setEntities(java.util.List<Entity> entities)
Set the list of processed Entity object.
|
void |
setMetadata(Source metadata) |
void |
setParagraphs(java.util.List<Paragraph> paragraphs)
Set the list of processed Paragraph object.
|
public Source getMetadata()
public void setMetadata(Source metadata)
public java.util.List<Paragraph> getParagraphs()
public void setParagraphs(java.util.List<Paragraph> paragraphs)
paragraphs
- Listpublic java.util.List<Entity> getEntities()
public void setEntities(java.util.List<Entity> entities)
entities
- List