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 The maximum number of tokens for proofread tasks. If not set, the model's capacity is used.

TextProofreaderOptions.maxNumTokens

The maximum number of tokens for proofread tasks. If not set, the model's capacity is used.

Signature:

maxNumTokens?: number;