• Stars
    star
    163
  • Rank 226,659 (Top 5 %)
  • Language
    Python
  • Created about 12 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PyAIML -- The Python AIML Interpreter

pyAIML

NOTE: This repo has been cloned from sourceforge. Credits follow.

PyAIML -- The Python AIML Interpreter

author: Cort Stratton ([email protected]) web: http://pyaiml.sourceforge.net/

PyAIML is an interpreter for AIML (the Artificial Intelligence Markup Language), implemented entirely in standard Python. It strives for simple, austere, 100% compliance with the AIML 1.0.1 standard, no less and no more.

This is currently pre-alpha software. Use at your own risk!

For information on what's new in this version, see the CHANGES.txt file.

For information on the state of development, including the current level of AIML 1.0.1 compliance, see the SUPPORTED_TAGS.txt file.

Quick & dirty example (assuming you've downloaded the "standard" AIML set):

import aiml

# The Kernel object is the public interface to
# the AIML interpreter.
k = aiml.Kernel()

# Use the 'learn' method to load the contents
# of an AIML file into the Kernel.
k.learn("std-startup.xml")

# Use the 'respond' method to compute the response
# to a user's input string.  respond() returns
# the interpreter's response, which in this case
# we ignore.
k.respond("load aiml b")

# Loop forever, reading user input from the command
# line and printing responses.
while True: print k.respond(raw_input("> "))

More Repositories

1

deck.rocks

Let GPT3 make your pitch deck for you
TypeScript
92
star
2

web-streams-polyfill

Web Streams, based on the WHATWG spec
JavaScript
56
star
3

OpenKudos

An open source port of dcurt.is Kudos buttons (Example below.)
JavaScript
24
star
4

IHeartCode

An open platform for creating interactive courses.
JavaScript
20
star
5

emacs-mint-mode

Emacs major mode for mint lang
Emacs Lisp
14
star
6

hubot.io

A socket.io server for hubot.
CoffeeScript
13
star
7

node-rdio

Rdio OAuth library for node.js
JavaScript
5
star
8

turbo-chat

Idiomatic way to build chatgpt apps using async generators in python
Python
4
star
9

browserify-boilerplate

A simple boilerplate for writing js libraries using browserify.
CoffeeScript
3
star
10

browser-bricks

Browser pong inspired bricks game
CSS
3
star
11

reasonml-experiments

Experiments in reasonml (to try experimental features etc)
Reason
2
star
12

gulp-blaze

Gulp wrapper for firebase's blaze compiler
JavaScript
2
star
13

hahjack

hah JAAAAACKK!
2
star
14

xstate-flow-types

Flow types for xstate and its packages
2
star
15

ThePoet

Poetic Irony..
JavaScript
1
star
16

co-events

Wrapper for EventEmitter for using coroutines.
CoffeeScript
1
star
17

toyserver

Go toy server
Go
1
star
18

creatorrr

1
star
19

golld

GoLLD: Glide on LLD
Python
1
star
20

Ideate

We are a startup. We need your help to ideate.
CSS
1
star
21

Bits

Jekyll Website for Bits
JavaScript
1
star
22

IHeartPy-lessons

Create Interactive Lessons for iheartpy.com
1
star
23

hubot-rdio

Rdio remote control for hubot.
CoffeeScript
1
star
24

mailchimp-adder

A small REST server for adding emails to a mailchimp subscriber list
CoffeeScript
1
star
25

creatorrr.github.io

Me!
CSS
1
star
26

thorax-require-boilerplate

Boillerplate for thorax applications using requirejs
JavaScript
1
star
27

didda

A pixie and her poems
JavaScript
1
star
28

orpheus

Annotate and verbalize your models in a few lines of code
1
star
29

IHeartPy

♥ The lovable Python Interpreter. ♥
Python
1
star
30

lld

Large Logo Dataset for huggingface hub
Python
1
star