pydavid

A simple Python interface of Open-David


Keywords
logic, inference, abduction, explanation, artificial, intelligence, artificial-intelligence, first-order-logic, natural-language-understanding
License
MIT
Install
pip install pydavid==1.0.1

Documentation

pydavid: A simple Python Interface of Open-David

Introduction

pydavid is a simple Python interface of Open-David (version 1.73), an abductive reasoner written in C++.

Installation

pydavid is a frontend of Open-David and does not include Open-David. Please install Open-David , and then install pydavid by the following command.

$ pip install pydavid

Usage

The following is a sample code. Before run, please set approapriate path to an executable file of Open-David in your computer, download toy.dav in this repository, and place it in your current working directly.

NOTE: toy.dav distributed in this repository was obtained from Open-David , but a problem field was deleted, because pydavid separately sets knowledge base data and a problem data.

Please see dhgraph for usage of dhgraph.

sample.png

Bugs/Requests/Discussions

Please report bugs and requests from GitHub Issues , and ask questions from GitHub Discussions .

License

Please see LICENSE .