Learning Python – day three.
sahillavingia.com
sahillavingia.com
oops
"Enter a paragraph of text. We'll run it through our highly sophisticated algorithms* and output a lovely, totally original piece of text."
rather amusingly yields:
"come in a piece of writing of text. We'll run it done our extremely advanced algorithms* and end product a lovely, wholly unoriginal part of text."
As a next step you could encode rules from Strunk & White [Strunk: http://www.bartleby.com/141/].
"seed in a partially of writing of text. We'll run it done our extremely forward-looking algorithms* and end ware a lovely, wholly unoriginal partly of textual matter"
There was a website at one point which would pass example text through babelfish's English to Spanish filter, then back to English to Russian to English to French to English to Korean to English (or somesuch), and the levels of artifacts introduced along the way sounded quite similar (though there was usually a random word in Russian or something thrown in). It was particularly fun passing legalese through it.
Your reworded text is: Our grammatical category computing machine retroflex the intragroup yak of the mind. The web itself look intentional to quarry on nonhuman weakness, to promote wilfing done the net and short-term gratification, and to deter acquisition and the evolution of self-control. If we privation our simple machine to aid us range our potential, we rich person to restrained their computations. We rich person to Teach our simple machine to meditate.
Your reworded text is: With outstanding powerfulness semen outstanding responsibility.
D:
Your reworded text is: Is this as uninteresting as it seems?
I guess so.
http://www.nltk.org/ http://web.media.mit.edu/~hugo/montylingua/