Type pip install matplotlib on command prompt. Open command prompt and type pip install beautifulsoup4. Now, let’s install some libraries for drawing word cloud. Open Python shell and type the following commands.Ī new window should open, showing the NLTK Downloader.Install numpy with a command python -m pip install numpy.Open command prompt and type python -m pip install nltk.It is said that you need to avoid 64-bits versions of Python for NLTK but my friend who is using 64-bit version still doesn’t have any problems yet. First, you have to install NLTK on windows. See more about NLTK here.įor this post, I will be writing code in Windows. Best of all, NLTK is a free, open source, community-driven object. NLTK is available for Windows, Mac OS X, and Linux. NLTK is a suite of libraries and programs for symbolic and statistical natural language processing (NLP) for English written in the Python programming language. On this post, I am going to share a Python code to draw a simple word cloud (of the texts from URL), using NLTK.