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.

Files for textsummarizer, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size textsummarizer-1.0.0-py3-none-any.whl (15.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page