Package nltk_lite :: Package chat
[show private | hide private]
[frames | no frames]

Package nltk_lite.chat

A class for simple chatbots. These perform simple pattern matching on sentences typed by users, and respond with automatically generated sentences.

These chatbots may not work using the windows command line or the windows IDLE GUI.
Submodules
  • eliza
  • iesha: This chatbot is a tongue-in-cheek take on the average teen anime junky that frequents YahooMessenger or MSNM.
  • rude
  • zen: Zen Chatbot talks in gems of Zen wisdom.

Classes
Chat  

Function Summary
  converse(bot, quit)

Variable Summary
dict reflections = {"i'll": 'you will', 'me': 'you', "i've": ...

Variable Details

reflections

Type:
dict
Value:
{'am': 'are',
 'are': 'am',
 'i': 'you',
 "i'd": 'you would',
 "i'll": 'you will',
 "i've": 'you have',
 'me': 'you',
 'my': 'your',
...                                                                    

Generated by Epydoc 2.1 on Tue Sep 5 09:37:21 2006 http://epydoc.sf.net