pythainlp.summarize

The summarize is thai text summarize.

Modules

pythainlp.summarize.summarize_text(text, n, engine='frequency', tokenizer='newmm')[source]

Thai text summarization :param str text: text to be summarized :param int n: number of sentences to be included in the summary :param str engine: text summarization engine :param str tokenizer: word tokenizer :return List[str] summary: list of selected sentences