Step 3) To test the installed data use the following code > from rpus import brown NOTE: You can change the download location by Clicking File> Change Download Directory
This process will take time, based on your internet connection
Click the Download Button to download the dataset. Step 1)Run the Python interpreter in Windows or Linux Some of the examples are stopwords, gutenberg, framenet_v15, large_grammarsand so on. NLTK module has many datasets available that you need to download to use. Review the package upgrade, downgrade, install information and enter yes.Note: Refer to this tutorial for detailed steps to install anaconda Step1) Please install anaconda (which can also be used to install different packages) by visiting and select which version of python you need to install for anaconda. Step3)Use following command to install NLTK sudo pip install -U nltk Run the below command to install pip sudo easy_install pip sudo apt-get install python-setuptools python-dev build-essential You can also install pip using easy_install. Step2) Installing pip for Python 3: sudo apt install python3-pip Step1) Update the package index by typing the below command sudo apt update If pip is not installed, please follow the below instructions to complete the process Installing NLTK in Mac/Unix requires python package manager pip to install nltk. If you see no error, Installation is complete. Step 10) You can verify whether the installation is accurate supplying the below command import nltk Step 9) In Windows Start Menu, search and open PythonShell
NOTE: For Python2 use the commandpip2 install nltk Installation should be done successfully.Navigate to the location of the pip folder.Step 7) Copy the path of your Scripts folder. Step 6) Click Close button once install is done. In my case, a folder on C drive is chosen for ease in operation