Ruby Text Analyzer