This workshop will be retired on March 14, 2024.
Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
For our second plugin, let's create a bot that randomly replaces a noun in a random message with the word "banana".
You can read more about NLTK on it's official site. You should also check out NounHound on PyPI.
You may find that you need to install some additional NLTK libraries before you can use the tokenizers and other parts of the library. You can do this in your Python shell with the following commands:
>>> import nltk
>>> nltk.download()
And then choosing the appropriate components from the window that opens.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up