UNPKG

@sconedev/ai_toolkit

Version:

Simplify AI integration in web apps with local and offline model support

14 lines (13 loc) 435 B
/** * Processes text for analysis by cleaning, normalizing, and applying optional transformations * @param text The input text to process * @param options Processing options * @returns The processed text */ export declare function processText(text: string, options?: { lowercase?: boolean; removeSpecialChars?: boolean; removePunctuation?: boolean; removeExtraSpaces?: boolean; maxLength?: number; }): string;