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

Module rude

source code

Functions [hide private]
 
rude_chat() source code
 
demo() source code
Variables [hide private]
  pairs = (('We (.*)', ('What do you mean, \'we\'?', 'Don\'t inc...
  rude_chatbot = Chat(pairs, reflections)
Variables Details [hide private]

pairs

Value:
(('We (.*)',
  ('What do you mean, \'we\'?',
   'Don\'t include me in that!',
   'I wouldn\'t be so sure about that.')),
 ('You should (.*)',
  ('Don\'t tell me what to do, buddy.', 'Really? I should, should I?')\
),
 ('You\\\'re(.*)', ('More like YOU\'RE %1!', 'Hah! Look who\'s talking\
...