installing nltk
nltk- 'natural language tool kit' is a very good language processing tool available for python. It has above 50 corpora,lexical resource like WordNet, and text processing libraries for classification, tokenization, stemming, tagging, parsing, and semantic reasoning. For more on it you can visit the official site too.
Official site of NLTK: http://nltk.org/
Here in this post I will be helping you with installing nltk. To install nltk, use the command
This installs the nltk module for you. Just installing the module is not sufficient for natural language processing quick start. We need the data files of nltk which can be downloaded from https://github.com/nltk/nltk_data/tree/gh-pages or you can choose the data you want to use from https://github.com/nltk. But here we are going to use the nltk downloader that comes with nltk modules. To invoke the nltk downloader:
From the downloader select all and click download to install all the data or as you want you can download. And yes you are ready for the go.
Official site of NLTK: http://nltk.org/
Here in this post I will be helping you with installing nltk. To install nltk, use the command
sudo apt-get install python-nltkor you can use easy_install
sudo easy_install nltkor if you have python-pip you can even use
sudo pip install nltk.
This installs the nltk module for you. Just installing the module is not sufficient for natural language processing quick start. We need the data files of nltk which can be downloaded from https://github.com/nltk/nltk_data/tree/gh-pages or you can choose the data you want to use from https://github.com/nltk. But here we are going to use the nltk downloader that comes with nltk modules. To invoke the nltk downloader:
>>> import nltkThe downloader should pop up:
>>> nltk.download()
From the downloader select all and click download to install all the data or as you want you can download. And yes you are ready for the go.
Comments
Post a Comment