Package peppy :: Package nltk_lite :: Package chat :: Module eliza'
[frames] | no frames]

Module eliza'

Functions
 
demo()
Variables
  eliza = <peppy.nltk_lite.chat.nltk_lite.chat.Chat object at 0x...
  pairs = (('I need (.*)', ('Why do you need %1?', 'Would it rea...
  reflections = {'am': 'are', 'are': 'am', 'i': 'you', 'i\'d': '...
Variables Details

eliza

Value:
<peppy.nltk_lite.chat.nltk_lite.chat.Chat object at 0x854dd50>

pairs

Value:
(('I need (.*)',
  ('Why do you need %1?',
   'Would it really help you to get %1?',
   'Are you sure you need %1?')),
 ('Why don\\\'t you (.*)',
  ('Do you really think I don\'t %1?',
   'Perhaps eventually I will %1.',
   'Do you really want me to %1?')),
...

reflections

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