TextProofreaderOptions interface

Options to configure the MediaPipe Text Proofreader Task.

Signature:

export declare interface TextProofreaderOptions extends TaskRunnerOptions 

Extends: TaskRunnerOptions

Properties

Property Type Description
maxNumTokens number | undefined Maximum number of tokens for input and output text combined. Defaults to 1024.

TextProofreaderOptions.maxNumTokens

Maximum number of tokens for input and output text combined. Defaults to 1024.

Signature:

maxNumTokens?: number;