markberger / reverse-autocorrect

Intentionally breaking correct sentences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reverse-autocorrect

reverse-autocorrrect is a small Python app that is meant to break sentences. The idea originated from the autocorrect on smartphones, which often miscorrects words to form funny or shocking sentences. reverse-autocorrect is an attempt to form those funny or shocking sentences by breaking sentences that are otherwise correct.

To run the program, type:

python main.py

I used nose to run the tests. If you would like to run the tests yourself, type:

nosetests

Many of the concepts and ideas in this small program were inspired by Peter Norvig's web page on spellcheck. I also use Norvig's corpus, a concatenation of Project Gutenberg books.

About

Intentionally breaking correct sentences

License:MIT License


Languages

Language:Python 100.0%