Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install hal

How to install HAL

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install hal
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
0.0.3 Available View build log
Linux (64-bit)
0.0.3 Available View build log
Lastest release
version 0.0.3 on Nov 21st, 2012

HAL is a matching AI engine that is designed to replace ALICE, Eliza, and like. It currently has three main backends: regex, matrix (or word index), and substring. It also has a few supplement backends: spam [1], oneword [2], and generic.

Note that this is only a library, it doesn't have any fancy interfaces pre-installed. There is only one script, hal.

[1]detects keyboard spam and notify the user instead of giving a "I don't understand" response
[2]one-word variant of matrix, designed to run after matrix, but in practice never used.


To install, do: pip install HAL.

After install, run python in interactive mode and run import HAL.dbtest. If it says you don't have fts (full-text search), then you should install the pysqlite2 module from here.

Now you need a dataset, the main set that I am developing is here: http://github.com/HALTeam/HALdata. Note that it was converted from an older version that I wrote a few months ago, which has only a regex engine. The dataset is based on the standard AIML set, which have a very different design compared to HAL. So I expect many bugs in the dataset, feel free to report them on GitHub.

Subscribe to package updates

Last updated Nov 21st, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.