NLTK notebook
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 83 commits ahead of FCTweedie:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.ipynb_checkpoints
.gitignore
Convert python2 print to Python 3 print in ipynb.ipynb
README.md
SpeedDating.ipynb
nltk-session-1-beginners-empty.ipynb
nltk-session-1-beginners.ipynb
nltk-session-2-beginners-empty.ipynb
nltk-session-2-beginners.ipynb
setup-mac.sh
setup-ubuntu.sh

README.md

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.