Interface GrammarError

interface GrammarError {
    errorCode: number;
    errorLen: number;
    shortDescription: string;
    startPos: number;
    suggestions: string[];
}

Properties

errorCode: number

Error code describing the type of error.

errorLen: number

Length of the error segment

shortDescription: string

Human readable short description for the error.

startPos: number

Start of the error segment within the paragraph

suggestions: string[]

List of suggested replacements for the marked error