Preprocess Text Function Python Questions Geeksforgeeks Java