Tools for analyzing text