TextProofreaderResult interface

The proofreading result containing the corrected text and fine-grained diff segments.

Signature:

export declare interface TextProofreaderResult 

Properties

Property Type Description
corrections TextProofreaderCorrection[] Ordered list of diff segments transforming the original text into proofreadText.
proofreadText string The complete proofread and corrected text.

TextProofreaderResult.corrections

Ordered list of diff segments transforming the original text into proofreadText.

Signature:

corrections: TextProofreaderCorrection[];

TextProofreaderResult.proofreadText

The complete proofread and corrected text.

Signature:

proofreadText: string;