Reading text analysis tool written in Python 3