Text-Summarizer
Text summarization Python library (in progress)
Installation
pip install text-summarizer
Packages needed
- NLTK
- iso-639
- lang-detect
Usage
# Import summarizer
from text_summarizer import summarizer
# Init summarizer parameters
summarizer.text = input_text
summarizer.algo = Summ.TEXT_RANK # Summ.TEXT_RANK is equals to "textrank"
summarizer.percentage = 0.25
# Summarize with summarize() (returns a paragraph) or schematize() (returns a schema)
summarizer.summarize()
summarizer.schematize()
# You can also init the parameters in the summarize() / schematize() call
summarizer.summarize(text_to_be_summarized)
summarizer.summarize(text_to_be_summarized, "textrank", 0.5)
Metadata
Release files for text-summarizer 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| text_summarizer-0.0.6.tar.gz | 4.2 kB | Without provenance | Details for text_summarizer-0.0.6.tar.gz |
Release files / text_summarizer-0.0.6.tar.gz
| Download URL | text_summarizer-0.0.6.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4958e254553bce9adfd8b2cbe6b18af907190e8d5de84273e492e45b31202a84
|
|
BLAKE2b-256 checksum How to use checksums |
cab71e5cbe26751fbc53c81283c41dcc832709c199e41be54342e80f1e4549eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.2
|
Security for text-summarizer 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.