NLP practices In this codes you can find the main concepts to work with text like: Tokenizer Vocabulary Bag of words Encoding Word cloud TF-IDF And how to create a wordcloud and apply a mask in order to obtain a image: