tommeagher / heroku_ebooks

An archive of a script to generate Markov chains and to post to an _ebooks account on Twitter using Heroku. No longer actively supported.
264 stars 163 forks source link

:. #4

Closed tommeagher closed 10 years ago

tommeagher commented 10 years ago

Added : to this function

' def add_text(self, text): text = re.sub(r'\n\s*\n/m', ".", text) seps = '([.!?;:])'