Skip to content
Related Articles

Related Articles

How to Install NLTK on Linux?

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 16 Dec, 2021

NLTK is Natural Language Tool Kit. It is used to build python programming. It helps to work with human languages data. It gives a very easy user interface. It supports classification, steaming, tagging, etc.

In this article, we will look into the process of installing NLTK on Linux.

Installing NLTK on Linux using PIP:

Follow the below steps to install NLTK on Linux using pip:

Step 1: Open Terminal & execute the below command:

sudo pip3 install nltk

Wait for installation.

Installing NLTK on Linux using PIP

Step 2: Then enter the following commands

>>import nltk

verifying nltk installation on Linux 1

Step 3: Wait for some time, then installation will complete.

verifying nltk installation on linux 2

Hence, your installation is successful.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!