Fractal interview question

Preprocessing text token for nlp