Constructor for the AnnotationManager class.
An array of paragraphs with annotations.
Get all input sentences from the annotations.
An array of objects containing the ID and text of each input sentence.
Converts the AnnotationManager instance to a JSON object.
The name of the annotator for the export.
An array of paragraphs in JSON format.
Converts the AnnotationManager instance to RDF format.
Instance of LabelManager to include labels in the RDF export
RDF representation of the annotations
Static
fromReturns new instance of AnnotationManager from a JSON file.
The JSON content of the file.
A new instance of AnnotationManager created from the JSON.
Static
fromReturns new instance of AnnotationManager from a text file.
The text content of the file.
A new instance of AnnotationManager created from the text.
Annotation Manager
Description
This class manages annotations imported from a text or JSON file in the Rich Entity Format (REF).