improvements to textAnalysis project