Quantitative text analysis