Package nltk :: Package chat :: Module eliza
[hide private]
[frames] | no frames]

Module eliza

source code

Functions [hide private]
eliza_chat() source code
demo() source code
Variables [hide private]
  pairs = (('I need (.*)', ('Why do you need %1?', 'Would it rea...
  eliza_chatbot = Chat(pairs, reflections)
Variables Details [hide private]


(('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?')),