Skip to content
forked from parmentf/pyector

ECTOR is a learning chatterbot. pyECTOR is its python version.

License

Notifications You must be signed in to change notification settings

ashrovy/pyector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

pyECTOR README file

author parmentierf@users.sourceforge.net 0.4, 2008-12-11

Description

ECTOR is a learning chatterbot. pyECTOR is its Python version.

ECTOR learns from what people say. It is based on a artificial intelligence architecture, that is inspired from Copycat, an AI system from Mitchell and Hofstadter.

The Concept Network it uses is a mix between neural and semantic networks. It uses co-occurences to compute the influence of one semantic node on another. The links are statistically weighted.

So, ECTOR does not know anything at its "birth". It's to you to teach it.

Prerequisites

pyECTOR is written in Python so you need a Python interpreter (version 2.5 or later) to execute pyECTOR. Python is installed by default in most Linux distributions. You can download Python from the official Python website http://www.python.org.

Obtaining pyECTOR

The latest pyECTOR version and online documentation can be found at http://pyector.googlecode.com/

Installation

Once you've downloaded the file, untar it like that:

tar -xvzf pyector-0.4.tar.gz .

Version 0.4 allows Ector to answer, building original sentences from what users said to it. Generated sentences may seem wrong grammatically. Be indulgent with it, consider it like a child, learning to speak.

python ConceptNetwork.py

It allows one to play with its internal mechanism: the Concept Network.

You can @addnode (add a node), @addlink (add a link between two existing nodes), and even @activate a node, so you can @propagate activation values, and @showstate.

A small reminder about the commands is obtained by typing @help.

See document on Concept Network Module.

Usage

python Ector.py [-p username][-n botname=Ector][-v|-q][-l logfilepath=ector.log][-s|-g][-h]

Be aware that ECTOR does not know anything at the beginning (first launch). You have to teach it all! It learns from what you say (so be polite and write well, if you want ECTOR to do so).

A small help is available from ECTOR prompt:

User>@help

From the prompt, you just have to speak to Ector.

User>Hello!
Ector> Hello!
User>...

The first sentences you will say will be echoed, but after some utterance, Ector will begin to link words, and to create original answers.

Resources

COPYING

Copyright (C) 2008 François Parmentier. Free use of this software is granted under the terms of the GNU General Public License (GPL).

About

ECTOR is a learning chatterbot. pyECTOR is its python version.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%