def download_preferences(self): import nltk # importing the natural language processing module nltk.download() # opening the gui based Natural language processing download kit