Package rivescript
[hide private]
[frames] | no frames]

Package rivescript

source code


Version: 1.02

Author: Noah Petherbridge

Copyright: Copyright 2013, Noah Petherbridge

License: GPL

Submodules [hide private]

Classes [hide private]
  RiveScript
A RiveScript interpreter for Python 2.
Variables [hide private]
  __credits__ = ['Noah Petherbridge', 'dinever']
  __maintainer__ = 'Noah Petherbridge'
  __status__ = 'Production'
  re_equals = re.compile(r'\s*=\s*')
  re_ws = re.compile(r'\s+')
  re_objend = re.compile(r'<\s*object')
  re_weight = re.compile(r'\{weight=(\d+)\}')
  re_inherit = re.compile(r'\{inherits=(\d+)\}')
  re_wilds = re.compile(r'[\s\*#_]+')
  re_rot13 = re.compile(r'<rot13sub>(.+?)<bus31tor>')
  re_nasties = re.compile(r'[^A-Za-z0-9 ]')
  rs_version = 2.0
  __package__ = 'rivescript'