Text Preprocessing

http://d2l.ai/chapter_recurrent-neural-networks/text-preprocessing.html