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

Module rude'

Functions
 
demo()
Variables
  DOTALL = 16
  I = 2
  IGNORECASE = 2
  L = 4
  LOCALE = 4
  M = 8
  MULTILINE = 8
  S = 16
  U = 32
  UNICODE = 32
  VERBOSE = 64
  X = 64
  pairs = (('We (.*)', ('What do you mean, \'we\'?', 'Don\'t inc...
  reflections = {'am': 'are', 'are': 'am', 'i': 'you', 'i\'d': '...
  rude = <peppy.nltk_lite.chat.nltk_lite.chat.Chat object at 0x8...
Variables Details

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\
...

reflections

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

rude

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