UNPKG

bilingual-summarizer

Version:

A powerful text summarization package for Arabic and English content with sentiment analysis and topic extraction

8 lines (7 loc) 290 B
/** * Generates a summary of the given text * @param text The text to summarize * @param sentenceCount The number of sentences to include in the summary * @returns A summarized version of the text */ export declare function summarizeText(text: string, sentenceCount?: number): string;