/nlp-basics

Demo of embedding words into vector space - for Phx Data Science Meetup (10/16 and 2/14)

Primary LanguageJupyter Notebook

NLP Basics

Preparation

You can clone this repository:

git@github.com:michaelcapizzi/nlp-basics.git

To run the jupyter notebook you'll need a python environment for python 3 with the following requirements:

  • jupyter
  • numpy
  • gensim
  • sklearn
  • numpy
  • beautifulsoup4

All of these can be installed via pip or using the requirements.txt file:

pip install -r requirements.txt

Then to open the notebook, simply run the following in the root folder of the cloned project:

jupyter notebook

This will open a new window in your default browser. You can then open the notebook file of choice (ending in .ipynb) by clicking on it.

It will open in a new window.

You can edit a given cell by clicking on it. To run the cell, push CTRL-c.