Python NLTK Tutorial

NLTK stands for Natural Language ToolKit.

NLTK is a Python library used for human natural language processing. The biggest advantage of NLTK is that, it provides programmatical interface to over 100 lexical resources and corpora. Which means, from within your python program, you can use those corpora.

To install NLTK library, run the following pip command.

pip install -U nltk

You should see something like following, echoed at the end of stack trace.

Successfully installed nltk-3.4 singledispatch-3.4.0.3

NLTK is successfully installed and can be imported in your Python program using the following import.

import nltk

NLTK Tutorial

In this NLTK Tutorial, we will learn the following Natural Language Processing Topics with well detailed examples.