Example

Example of Multi-Category Named Entity Recognition

Given the task to identify and classify all named entities from a text, a Multi-Category Named Entity Recognition system can be guided by a prompt such as: 'Identify and classify all named entities in the provided text into categories such as person names, locations, dates, and organizations. List each entity with its type on one line.'

For the input text: 'Is the UK really doing that badly or have travel trends shifted, post-pandemic? For Tom Jenkins, CEO of the European Tourism Organisation, it’s the latter...', the expected output would be:

  1. Tom Jenkins - Person Name
  2. European Tourism Organisation - Organization
  3. UK - Location
  4. Europe - Location
  5. 2024 - Date

0

1

Updated 2026-04-29

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences