Git Product home page Git Product logo

question-answering-system's Introduction

Question-Answering-System (QAS):

A factoid based question answering system

Screenshot of system

QAS is a system that automatically answer questions posed by humans in natural language query. Natural language (e.g. English) is the common way of sharing knowledge.

Characteristics of the factoid based QAS:

The Question Answering System (QAS):

  • tries to answer factoid based questions.
  • provides concise facts about the question. For example, "where is Taj Mahal located?", โ€œWho is the father of nation of India?โ€.
  • is a web-based QAS.
  • answer open-domain fact based questions.
  • uses wikipedia and google search pages to extract concise answers.

Block diagram of the system:

Block diagram of system

Setup Instructions

  • Clone the source

     git clone https://github.com/Upa005/Question-Answering-System.git
    
  • Requirements
    Python version : 2.7
    Operating System: Windows

  • Python Packages required

    nltk
    flask
    gunicorn
    unidecode
    wolframalpha
    wikipedia
    gevent
    flask_bootstrap
    flask_appconfig
    flask_wtf
    wtforms
    google

  • Generate Wolframalpha API Key (You can use our to test things)

    1. Visit the Wolframalpha APIs Console and log in with your Wolframalpha account.

    2. In the API admin page, you will get your API Key.

    3. Open Question-Answering-System/app.py program. Search this sentence in the program. (At line number 28)

      app.config['SECRET_KEY']= ## insert your secret key
      

      Now insert your secret key after '=' sign

      Example: app.config['SECRET_KEY']= '\\ffedg0890489574'
      
      
  1. Save the file.

To Run

  1. Install python 2.7 to your system
  2. Install the packages givn in the requirements.txt file
  3. Open command prompt.
  4. Go to the directory in command prompt.
  5. Type in command prompt:
    py -2 app.py
    
  6. Now run the browser and type localhost:9191/
  7. Input your question. (Make sure, you are connected to Internet)
  8. Wait for the answer

question-answering-system's People

Contributors

upasana05ghosh avatar

Watchers

 avatar  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.