viveksahukar / AIND-NLP

Coding exercises for the Natural Language Processing concentration, part of Udacity's AIND program.

Home Page:https://www.udacity.com/ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AIND: Natural Language Processing

Coding exercises for the Natural Language Processing concentration, part of Udacity's Artificial Intelligence Nanodegree program.

Setup

You need Python 3.6+, and the packages mentioned in requirements.txt. You can install them using:

pip install -r requirements.txt

Data

Data files for exercises are included under data/, but some of the NLP libraries require additional data for performing tasks like PoS tagging, lemmatization, etc. Specifically, nltk will throw an error if the required data is not installed. You can use the following Python statement to open the NLTK downloader and select the desired package(s) to install:

nltk.download()

You can also download all available NLTK data packages, which includes a number of sample corpora as well, but that may take a while (10+GB).

Run

To run any script file, use:

python <script.py>

To open a notebook, use:

jupyter notebook <notebook.ipynb>

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. Please refer to Udacity Terms of Service for further information.

About

Coding exercises for the Natural Language Processing concentration, part of Udacity's AIND program.

https://www.udacity.com/ai


Languages

Language:Jupyter Notebook 99.6%Language:TeX 0.4%