An instance of the AioTextProcessor class, which provides the text processing methods.
The path to the file that needs to be processed.
The name of the engine to use for processing. This corresponds to a method name in AioTextProcessor.
An object containing options specific to the selected engine.
For example, findMatch might use MatchOptions, split might use chunkSize, and replace or translate might use other custom options.
A Promise that resolves to the processed content of the file. The structure of the returned content depends on the engine used.
For example, findMatch might return an array of matches, split might return an array of chunks, and others might return a string.
Processes a single file using the specified engine and options.
This function acts as a dispatcher, routing the file processing to the appropriate method of the
AioTextProcessorclass based on the providedengineName. It supports various text processing operations like finding matches, splitting, replacing, translating, purifying, analyzing, and summarizing.