littleq0903/spritz-cmd — pull request #4 by smargh (2014-06-23 13:45:37+00:00)
Title: Unicode support and clean up

I've made a number of cosmetic changes along with explicit support for Unicode input. The cosmetic changes make `spritz.py` fully compliant with PEP8 standards (as tested by `pylinter`) and offers better documentation. I've also opted for more "Pythonic" methods in a few places (concatenating strings via the str -> list -> str method, etc). I've also altered the behavior around punctuation. Full- and half-stop punctuation is replaced with a single ``, while newlines are replaced with two. Then, I've shortened the pause time to 3x the seconds per word.

Other than all of the cosmetic changes tho, it works from the command line exactly as before (but with Unicode support).