https://github.com/parmentf/pyector
ECTOR is a learning chatterbot. pyECTOR is its python version.
https://github.com/parmentf/pyector
Last synced: 12 months ago
JSON representation
ECTOR is a learning chatterbot. pyECTOR is its python version.
- Host: GitHub
- URL: https://github.com/parmentf/pyector
- Owner: parmentf
- License: gpl-2.0
- Created: 2011-02-04T20:57:38.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2018-06-24T15:59:06.000Z (almost 8 years ago)
- Last Synced: 2024-04-09T01:30:35.283Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 163 KB
- Stars: 13
- Watchers: 5
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
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.
```bash
python ConceptNetwork.py
```
It allows one to play with its internal mechanism: the
[Concept Network](http://code.google.com/p/pyector/wiki/ConceptNetwork).
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](./doc/html/ConceptNetworkModule.html).
# Usage
```bash
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:
```bash
User>@help
```
From the prompt, you just have to speak to Ector.
```bash
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
- http://pyector.googlecode.com/
## COPYING
Copyright (C) 2008 François Parmentier. Free use of this software
is granted under the terms of the GNU General Public License (GPL).