You can easily summarize the text.
Project description
easySum
LICENSE
This software is released under the MIT License, see LICENSE.txt.
Install
pip install easySum
Usage
from easySum import summarize_sentences
result = summarize_sentences(<要約したい文章>, sentences_count=<要約後の文章数(デフォルトは3)>, algorithm=<アルゴリズム(デフォルトはlexrank)>)
-
アルゴリズムは以下から選択
- lex: LexRank
- tex: TextRank
- lsa: LSA
- kl: KL
- luhn: Luhn
- redu: Reduction
- sum: SumBasic
-
現在は日本語のみに対応. 英語対応は修正中.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easySum-0.2.5.tar.gz
(3.4 kB
view hashes)