Natural Language Processing

Level 2 of 3

Intermediate Level

Prerequisites

Basic Python (functions, lists, dictionaries, loops), basic data analysis with pandas, an understanding of text preprocessing (the Beginner level or equivalent) and introductory machine learning (train/test splits, classification and evaluation). Rescue Academy's Python and Machine Learning Beginner levels cover these foundations.

Duration

8 weeks · 100 guided hours · 8 modules. Taught live by an instructor — online or in person.

By the end of this level you can

  • Build robust preprocessing pipelines for web, document and informal text, including low-resource and spelling-variant text
  • Represent documents with counts, n-grams and TF-IDF, and words with Word2Vec embeddings
  • Train, tune and evaluate Naive Bayes and linear text classifiers
  • Tag parts of speech and explain and apply Hidden Markov Models with the Viterbi algorithm
  • Discover and interpret topics in a document collection with LDA
  • Analyse sentiment with trained models and build simple search and information-extraction tools

Modules

  1. 1Module 1 · 12 h · 3 lessonsAdvanced Text Preprocessing
  2. 2Module 2 · 13 h · 3 lessonsFeature Extraction and TF-IDF
  3. 3Module 3 · 12 h · 3 lessonsWord Embeddings and Word2Vec
  4. 4Module 4 · 12 h · 3 lessonsNaive Bayes and Text Classification
  5. 5Module 5 · 13 h · 3 lessonsPart-of-Speech Tagging and Hidden Markov Models
  6. 6Module 6 · 12 h · 3 lessonsTopic Modelling and Document Analysis
  7. 7Module 7 · 12 h · 3 lessonsSentiment Analysis
  8. 8Module 8 · 14 h · 3 lessonsInformation Retrieval and Information Extraction

Intermediate level project

News Classification, Topic Discovery and Sentiment Analysis

Build an analysis system for a collection of news articles and institutional documents. Use a licensed public English corpus (for example the 20 Newsgroups data distributed through scikit-learn) for development, plus a small sample of public local news or public notices collected under the course's collection rules (titles and public text only, with source and date recorded). The system must classify documents into subject categories, discover topics, score sentiment and support keyword search, and must report where it fails on local text.

Deliverables

  • A datasheet for the combined corpus: sources, licences or terms, collection method, languages, sizes and limitations
  • A preprocessing module (functions in a .py file) used by every notebook
  • A classification notebook comparing Naive Bayes and logistic regression on TF-IDF features, with per-class evaluation
  • A topic-modelling notebook (LDA) with labelled topics, top words and example documents
  • A sentiment notebook with a trained classifier compared to a lexicon baseline, and a search and entity-extraction demo
  • A ten-minute presentation of findings and limits, including results on the local sample

Assessed on

  • Data sources, licences and collection rules are documented and respected
  • Feature extraction and models are implemented correctly and compared fairly on the same test data
  • Topics are labelled from evidence (top words and example documents), not guessed
  • Evaluation is reported per class, with error analysis on the local sample
  • Limits for local-language and code-switched text are stated honestly

All levels are taught live by an instructor — online or in person — see registration options.