Python Programming/Natural Language Toolkit

From Wikibooks, open books for an open world
< Python Programming
Jump to: navigation, search
Natural Language Toolkit
PyPi Link
Pip command pip install nltk

NLTK is a module that provides many options for literature and word handling.


The NLTK module does not have anything downloaded. It has a function, download() to download things. In order to bring up the download gui, run

from nltk import download

You can also put in the specific thing you want to download

from nltk import download
download('words') #this will download the list of about 236736 words.