Text Extraction Using Python For Statistical Analysis