A Java based word count deciphering program ported over to Python