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 details)
Built Distribution
File details
Details for the file easySum-0.2.5.tar.gz
.
File metadata
- Download URL: easySum-0.2.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007f50203952e916bb1324d6a30ac251f13a26a5f51409d2430b533df4e00f15 |
|
MD5 | 0eebfec69c61222d52d93cf1e4c4c092 |
|
BLAKE2b-256 | 85b5dca7707703f9c262ec954039fe8af67b32b8b4da6e42ea4123762de203de |
File details
Details for the file easySum-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: easySum-0.2.5-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e947730d1cb9164c45aeb0de1d8f9781487855ec90385c64d5ad841de2d474d9 |
|
MD5 | c617ead607f31c166265e01962db4b83 |
|
BLAKE2b-256 | 3350b5c4298119736c690221a70b8a95a8daec44af4734eba5b148be62ec90cf |