Skip to content

YIDING-CODER/NLTK

 
 

Repository files navigation

NLTK

You will need 1 gigabyte of harddisk space

Setup Apple Mac

  1. Open the Terminal

  2. Download setup script that will install miniconda, jupiter and nltk (copy & paste the command)

curl  https://raw.githubusercontent.com/doylek1/NLTK/master/setup-mac.sh  --output /tmp/setup-mac.sh
  1. Run the setup script (copy & paste the command)
sh /tmp/setup-mac.sh
  1. When asked “proceed (y/n)” , then type y and hit ENTER key This will take a few minutes. When downloading is complete, your computer is successfully setup to do work.

  2. Open a new terminal window

  3. type jupyter-notebook in command line and hit ENTER key

  4. This will open jupyter notebook in a new internet browser window

If for any reason, you need to re-install Miniconda (eg. broken download), then delete the minconda directory and try again

rm -rf ~/miniconda/

Setup Ubuntu

  1. Open the Terminal

  2. Download setup script that will install miniconda, jupiter and nltk (copy & paste the command)

wget -O /tmp/setup-ubuntu.sh https://raw.githubusercontent.com/doylek1/NLTK/master/setup-ubuntu.sh
  1. Run the setup script (copy & paste the command)
sh /tmp/setup-ubuntu.sh
  1. When asked “proceed (y/n)” , then type y and hit ENTER key This will take a few minutes. When downloading is complete, your computer is successfully setup to do work.

  2. Open a new terminal window

  3. type jupyter-notebook in command line and hit ENTER key

  4. This will open jupyter notebook in a new internet browser window

If for any reason, you need to re-install Miniconda (eg. broken download), then delete the minconda directory and try again

rm -rf ~/miniconda/

Setup Windows

  1. Download the python 3 exe installer from https://conda.io/miniconda.html (If you are not sure and you are using windows 7, 8, 9 or 10, then download the 64-bit exe installer)

  2. Run the exe installer and install using default choices. By clicking next. (The installation might take a few minutes if the computer is slow, you can click "Show Details" to see the installation progress.

  3. When installation is complete, find and open a program called Select Anaconda Prompt from the Windows Start Menu.

This will open a new window with a black background (it might keep blinking if the computer is slow). Wait until you can start typing

  1. Type conda install jupyter nltk beautifulsoup4 and hit ENTER key. When asked do you want to proceed, type y and hit ENTER.

    This will take a a few minutes to download jupyter and nltk.

  2. When download is complete, you may wish to change directory by your home directory so that jupyter notebooks can be opened and saved in your home directroy. Change directory by entering cd c:\users\myUsername and c:

  3. Type jupyter-notebook and press ENTER key. This will start jupyter notebook in the default browser. It might open in Internet Explorer. If you prefer to use Chrome or Firefox, then you need to change the windows settings to use Chrome or Firefox as the default browser.

About

NLTK notebook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.7%
  • Shell 0.3%