annotatedtext - v1.2.1

Example

import { compose } from "annotatedtext";
import { remarkparse } from "remark-parse";
import { unified } from "unified";

const text = "This is a sentence.";
const nodes = unified()
.use(remarkparse, remarkoptions)
.parse(text) as annotatedtext.INode;

const annotatedtext = compose(text, nodes);
console.log(annotatedtext);

Description

This module provides functions for building annotated text suitable for use with LanguageTool.

See

https://languagetool.org/http-api/

Index

Interfaces

Variables

Functions