Download and install tokenizer_text_nltk code example Example: import word_tokenize import nltk from nltk import word_tokenize