Jump to content
Wikibooks The Free Textbook Project

Python Programming/Natural Language Toolkit

From Wikibooks, open books for an open world
This page may need to be reviewed for quality.
nltk
Natural Language Toolkit
PyPi Linkhttps://pypi.python.org/pypi/nltk
Pip commandpip install nltk

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

Downloading

[edit | edit source ]

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

fromnltkimport download
download()

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

fromnltkimport download
download('words') #this will download the list of about 236736 words.
This page or section is an undeveloped draft or outline.
You can help to develop the work, or you can ask for assistance in the project room.

AltStyle によって変換されたページ (->オリジナル) /