Coder Social home page Coder Social logo

piyushxbajaj / 1-stop-shortener Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 2.88 MB

One Stop place to summarize news articles, blogs, paragraphs of texts and even Youtube Videos 💻

Home Page: https://onestopshortener.herokuapp.com/

Python 98.67% Shell 1.33%
nlp nltk text-summarization heroku python3 youtube-api wikipedia-api news

1-stop-shortener's Introduction

1-stop-shortener

1 Stop Shortener tool can be used to summarise:

  1. Hindu News Article
  2. Wikipedia Articles
  3. Simple Text Paragraphs
  4. Youtube Videos

It uses an ​extractive approach​ and is ​an unsupervised graph​ based textual content summarization method. It is based on the Page-Rank technique used by search engines like google to provide the top prioritized pages or links to the end -user based on his/her search using this ranking algorithm to calculate the rank of the web-pages.

Watch this demo: https://youtu.be/x9w27wqZdO4

App live at: https://onestopshortener.herokuapp.com/

Installation

Install the requirements from requirements.txt

pip install -r requirements.txt

Usage

1. Hindu News Article

Enter the Hindu News Article Link in the respective input field and number of sentences required of summarized text in respective input field.

Example

Link: https://www.thehindu.com/news/national/pm-modi-congratulates-new-zealand-counterpart-jacinda-ardern-on-poll-win/article32885939.ece
Number of Sentences: 10

2. Wikipedia Articles

Enter the Wikipedia Article Link in the respective input field and number of words of summarized text in respective input field.

Example

Link: https://en.wikipedia.org/wiki/Python_(programming_language)
Number of Words : 300

3. Simple Text Paragraphs

Enter the paragraphs of text to summarize in the respective text area field and number of sentences required of summarized text in respective input field.

Example

Text Area: Copy SampleData.txt into that text area
Number of Sentences: 10

4. Youtube Videos

Enter the Video id of Youtube video to summarize in the respective input field and number of sentences required of summarized text in respective input field.

Example

For Video https://www.youtube.com/watch?v=KR0g-1hnQPA
Enter the following details
Youtube Video Id: KR0g-1hnQPA
Number of Sentences: 5

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

1-stop-shortener's People

Contributors

piyushxbajaj avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kakamband

1-stop-shortener's Issues

please make content rephraser too

Hi Piyush,
At the first special thanks for your special works,
please if it's possible make content rephraser too
waiting for your response
finest regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.