Skip to content
intermediatetext

Named Entity Recognition

Span-based annotation for identifying entities like persons, organizations, locations, and dates in text.

Try it live — no install

Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.

Run live in your browser

Get This Design

This design is available in our showcase. Copy the configuration below to get started.

Quick start:

bash
# Create your project folder
mkdir named-entity-recognition
cd named-entity-recognition
# Save config.yaml from this page into this folder
potato start config.yaml
Named Entity Recognition annotation interface preview

Configuration File

yaml
# Named Entity Recognition Configuration
# Generated by Potato Annotation Showcase

port: 8000
annotation_task_name: "Named Entity Recognition"
task_dir: "."

# Data configuration
data_files:
  - "data.json"

item_properties:
  id_key: id
  text_key: text

# Output
output_annotation_dir: "annotation_output/"
export_annotation_format: "jsonl"
instance_display:
  fields:
    - key: text
      type: text
      label: "Text"

# Annotation scheme
annotation_schemes:
  - annotation_type: span
    name: entities
    description: "Highlight named entities in the text and select their type"
    labels:
      - name: PERSON
        color: "#3b82f6"
        tooltip: "Names of people (e.g., 'John Smith', 'Dr. Johnson')"
      - name: ORGANIZATION
        color: "#10b981"
        tooltip: "Companies, institutions, agencies (e.g., 'Google', 'United Nations')"
      - name: LOCATION
        color: "#f59e0b"
        tooltip: "Places, cities, countries (e.g., 'New York', 'France')"
      - name: DATE
        color: "#8b5cf6"
        tooltip: "Dates and time expressions (e.g., 'January 2024', 'next Monday')"
      - name: MISC
        color: "#6b7280"
        tooltip: "Other named entities that don't fit the above categories"

# User configuration
require_password: false

# Task assignment

Sample Data

json
[
  {
    "id": "named_entity_recognition_1",
    "text": "Apple announced new products in Cupertino on Tuesday."
  },
  {
    "id": "named_entity_recognition_2",
    "text": "Dr. Sandra Okoye joined the World Health Organization in Geneva."
  }
]

// ... and 3 more items

Details

Annotation Types

span

Domain

NLP

Use Cases

Named Entity RecognitionInformation Extraction

Tags

NERentitiesspan annotationinformation extraction