Skip to content

This repository contains Jupyter notebooks for exercise sheets based on the "Natural Language Toolkit (NLTK)" book, a popular guide for learning and applying Natural Language Processing (NLP) in Python.

Notifications You must be signed in to change notification settings

elkezza/Natural-Language-Processing-Exercise-Sheets

Repository files navigation

NLTK Book Exercise Sheets

This repository contains Jupyter notebooks for exercise sheets based on the "Natural Language Toolkit (NLTK)" book, a popular guide for learning and applying Natural Language Processing (NLP) in Python.

Overview of Exercise Sheets

Each notebook corresponds to an exercise sheet focusing on different aspects of NLP, demonstrating practical applications and exercises for mastering the NLTK framework.

Summary: Introduces basic NLP concepts using NLTK, including word counts and lexical diversity calculations.

Summary: Focuses on improving Python code efficiency by rewriting loops as list comprehensions, with applications in NLP tasks.

Summary: Explores the Brown corpus in NLTK, teaching how to sort and understand both original and universal part-of-speech tags.

Summary: Involves building a name gender classifier using the Names Corpus in NLTK, covering feature extraction, Naive Bayes Classifier application, and model evaluation.

Installation and Setup

To work with these notebooks, you'll need Python 3.x, NLTK, and Jupyter Notebook. Install them using pip:

pip install nltk jupyter

Usage

Clone this repository and run the Jupyter notebooks locally:

jupyter notebook

About

This repository contains Jupyter notebooks for exercise sheets based on the "Natural Language Toolkit (NLTK)" book, a popular guide for learning and applying Natural Language Processing (NLP) in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published