See Here: http://www.sil.org/linguistics/computing.html for links to a number of text analysis tools.