Giter VIP home page Giter VIP logo

cobe's Introduction

COBE stands for Code of Business Ethics. Cobe is a conversation simulator, originally a database backed port of MegaHAL but a bit more now.

According to the Nobel Prize committee, "the COBE project can also be regarded as the starting point for cosmology as a precision science."

There are a few relevant posts here:

You can read its release history here.

Cobe has been inspired by the success of Hailo

Our goals are similar to Hailo: an on-disk data store for lower memory usage, better support for Unicode, and general stability.

You can read about the original MegaHAL here.

In short, it uses Markov modeling to generate text responses after learning from input text.

Cobe creates a directed graph of word n-grams (default n=3) from the text it learns. When generating a response, it performs random walks on this graph to create as many candidate replies as it can in half a second.

As the candidate responses are created, they're run through a scoring algorithm that identifies which is the best of the group. After the half second is over, the best candidate is returned as the response.

Cobe installs a command line tool (called cobe) for interacting with a brain database, though it is also intended to be used as a Python api. See the documentation in the cobe.brain module for details.

To install from a tarball:

$ python setup.py install

Or from the Python Package Index:

$ easy_install pip
# pip install cobe

Usage:

$ cobe init
$ cobe learn <text file>
$ cobe console

cobe's People

Contributors

anisse avatar crazypython avatar fawaf avatar hamaxx avatar miachm avatar pteichman 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.