Open main menu

Wikibooks β

Python Programming/Natural Language Toolkit

< Python Programming

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

nltk
Natural Language Toolkit
PyPi Link https://pypi.python.org/pypi/nltk
Pip command pip install nltk

DownloadingEdit

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.