Home | Trees | Index | Help |
|
---|
Package pywikipedia :: Module replace :: Class ReplaceRobot |
|
Method Summary | |
---|---|
__init__(self,
generator,
replacements,
exceptions,
regex,
acceptall)
| |
If one of the exceptions applies for the given text, returns the substring. | |
Returns the text which is generated by applying all replacements to the given text. | |
Starts the robot. |
Method Details |
---|
checkExceptions(self, original_text)If one of the exceptions applies for the given text, returns the substring. which matches the exception. Otherwise it returns None. |
doReplacements(self, original_text)Returns the text which is generated by applying all replacements to the given text. |
run(self)Starts the robot. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Jul 03 17:07:35 2005 | http://epydoc.sf.net |