Code Monkey home page Code Monkey logo

wikipedia-summary's Introduction

wikipedia-summary

With this program we can generate summary(8 lines) of a wikipedia article

Requirements

  1. wikipedia ->open command prompt and type 'pip install wikipedia' without quotes

Usage

  1. Run the program
  2. Input The Title of Wikipedia Article
  3. Summary of Inputted Article Will be shown in tkinter box

Now a days it has become quite common for us to search for some information in web rather than just searching for the books related to our search. But when you are in an urgent need to get for some information,Will you be patient in reading those big paragraphs from Wikipedia?Ofcourse it is not possible at that time because you would be in hurry to get for an information that is small and delivers all the information needed.Let me expain it with an example,If you are asked to play a game that is, to search for a definition of a word and your given 1 minute for it.Will you be searching for the full definition in those long paragraphs of Wikipedia ?No right?So we have come up with a project in python which summarizes those long paragraphs of Wikipedia into an understandable shorter one.Even if you are in a need to gather a very less information about many stuffs,this would be a greater advantageous one for you.This would also be highly beneficial and helpful one to get a particular and needed information. And this is all about our project.So is it enough to say that we did a project? Don't you want to look on our code?Not a big work just scroll down,

  1. In the first line of our code ,we have used "tkinter", which is for a fast and easy way to create GUI applications.
  2. In the next line we are importing wikipedia.Before you import make sure that you have installed the module using, pip install wikipedia in your command prompt.Wikipedia is a Python library that makes an easy access to get data from Wikipedia.
  3. In the next part of the code we are getting the text written inside the widget.
  4. The next line is used to insert the specified string at the given index.
  5. The next line is absolutely to create a root window.
  6. The next line is to implement a display box.
  7. In the next line the Pack geometry manager packs widgets in row or columns.
  8. In the next line the button widget adds button to the application.
  9. In the next line pack geometry manager packs widgets in rows or columns.
  10. The next part is that ,The text widget provides formatted text display and pack geometry manager packs widgets in rows or columns.
  11. The last line of the code is an infinite loop which is used to run the application.

wikipedia-summary's People

Contributors

rohan-cce avatar

Stargazers

 avatar

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.