annotatedtext - v1.2.1
    Preparing search index...

    Function composeannotation

    • Compose an annotated text from an array of text nodes.

      Parameters

      • text: string

        The text that the AST was generated from.

      • annotatedtextnodes: IAnnotatedtext

        An array of annotations for text nodes.

      • Optionaloptions: IOptions

        Options to control how the text is parsed.

      Returns IAnnotatedtext

      An annotated text suitable for use with LanguageTool.