Constructor for the Paragraph class.
The text of the paragraph.
Optional
paragraphEntities: REF_EntityJSONFormat[]An optional array of entities in the paragraph.
Converts the Paragraph instance to a JSON object.
The name of the annotator for the export.
The JSON representation of the Paragraph.
Static
fromCreates a Paragraph instance from a JSON object.
The JSON object to convert.
The Paragraph instance created from the JSON object.
Paragraph
Description
This class represents a paragraph in the annotations, containing text and entities.