Documentation - v1.5.3
    Preparing search index...

    Paragraph

    This class represents a paragraph in the annotations, containing text and entities.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Constructor for the Paragraph class.

      Parameters

      • paragraphText: string

        The text of the paragraph.

      • OptionalparagraphEntities: REF_EntityJSONFormat[]

        An optional array of entities in the paragraph.

      Returns Paragraph

      This constructor initializes the Paragraph with text and an optional array of entities.

    Properties

    entities: Entity[]

    An array of entities in the paragraph.

    text: string

    The text of the paragraph.

    Methods