simple text analysis