moved text_analysis.py