Skip to main content

By doing Web Scrapping i am bring a package called textsummarizer what is textsummarizer ? Takes a string and return summarized text

Project description

[license]

TextSummarizer

What is TextSummarizer ?

  • Automatic text summarization takes a string and it will summarize that text for you
  • this package is developed using bs4 and requests

Installation

pip install textsummarizer

Usage

from textsummarizer.textsummarizer import TextSummarizer

text = """
The United States of America (USA), commonly known as the United States (U.S. or US) or simply America, is a country comprising 50 states, a federal district, five major self-governing territories, and various possessions.[i] At 3.8 million square miles (9.8 million km2), the United States is the world's third or fourth largest country by total area[d] and is slightly smaller than the entire continent of Europe. With a population of over 327 million people, the U.S. is the third most populous country. The capital is Washington, D.C., and the most populous city is New York City. Most of the country is located contiguously in North America between Canada and Mexico.
"""

obj = TextSummarizer(text=text)
print(obj.get)

Authors

Soumil Nitin Shah

Bachelor in Electronic Engineering | Masters in Electrical Engineering | Master in Computer Engineering |

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

textsummarizer-1.0.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file textsummarizer-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: textsummarizer-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for textsummarizer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7dbabe97af99c4752dfd6ebebc9aca78a2122595b1b7611fbac595be9f004969
MD5 22131cb8f2b363c20902897c84a93a63
BLAKE2b-256 198ca9468afc7a159975f09be9d856f0e506b93ff857fb6b4d6a43229a005e3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page