Giter VIP home page Giter VIP logo

maieutics's Introduction

maieutics

Maieutics’ or the ‘Socratic Method’ as stated in (wiki1) is: “a cooperative argumentative dialogue between individuals, based on asking and answering questions to stimulate critical thinking and to draw out ideas and underlying presuppositions. This method searches for general commonly held truths that shape beliefs and scrutinizes them to determine their consistency with other views. The basic form is a series of questions formulated as tests of logic and fact intended to help a person or group discover their beliefs about some topic; exploring definitions, and seeking to characterize general characteristics shared by various particular instances.”

This project aims to provide an open domain question answering mechanism that takes the Stanford Encyclopedia of Philosophy and Wikipedia as knowledge sources. To do this, I developed this python package called ‘maieutics’.

You can try it on Google Colab.

You can use pip to install it like:

pip install maieutics

Start asking questions as easy as this:

# package import
>>> from maieutics import Socrates

# class instancing
>>> wiki = Socrates(corpus = "WIKI")

# a question sample
>>> ans, txt, links = wiki.ask(question = 'What is language?')
Searching for relevant content in the WIKI...
>>> ans[0] 
'the mental faculty that allows humans to undertake linguistic behaviour'
>>> links[0] 
'https://en.wikipedia.org/wiki/Language'

maieutics's People

Contributors

alfredolozano avatar

Stargazers

Mykhaylo Dudyak avatar

Watchers

James Cloos 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.