Natural Language Processing · Intermediate level

Intermediate level · Module 8 of 8 · 14 guided hours

Information Retrieval and Information Extraction

Finding and extracting information from documents: an inverted index, TF-IDF and BM25 ranking, retrieval evaluation, named entity recognition with spaCy, and rule-based extraction. It ends with the level project.

Learning objectives

  • Build and evaluate a keyword search engine with TF-IDF and BM25
  • Extract named entities with spaCy and custom rules
  • Integrate classification, topics, sentiment, search and extraction in the level project

Topics

  • inverted indexes
  • TF-IDF and BM25 ranking
  • precision@k and recall
  • named entity recognition
  • rule-based extraction with EntityRuler and regex
  • low-resource evaluation of extraction

Lessons

  1. Lesson 1 Building a Document Search Engine

    Learners build a search engine over public documents: an inverted index, TF-IDF cosine ranking and a hand-written BM25 scorer, with evaluation on test queries.

    inverted indexqueryBM25 (k1, b)precision@krelevance judgements

  2. Lesson 2 Named Entity Recognition and Rule-Based Extraction

    Learners extract people, organisations, places, dates and amounts with spaCy's NER, add local place names with an EntityRuler, and use regex for structured fields.

    named entity recognitionentity labels (PERSON, ORG, GPE, DATE, MONEY)EntityRulergazetteerprecision and recall for extraction

  3. Lesson 3 Integrating and Presenting the Text Analytics System

    Learners combine classification, topics, sentiment, search and extraction into one reproducible project, evaluate it on the local sample and present the findings and limits.

    system integrationreproducibilityrequirements.txtresults on local datalimitations section

Practical activity

Complete the level project: integrated news classification, topic discovery, sentiment, search and entity extraction with a datasheet, local-sample evaluation and presentation.

Expected outcomes

  • A complete applied text analytics system
  • Skill in search and information extraction

Assessment

The level project, assessed against the level criteria, with a presentation.

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.