UNPKG

bilingual-summarizer

Version:

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

8 lines (7 loc) 318 B
/** * Summarizes Arabic text using available Arabic NLP libraries * @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 summarizeArabicText(text: string, sentenceCount?: number): string;