Attempt at simple text normalization in Python.