Create analyze_tw.py