Python Programming/Natural Language Toolkit

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

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

Downloading[edit]

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
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.