Preprocess Text Function Python Example Code