Skip to content
intermediatetext

Papers Past Genre Soft Labels for Historical Newspapers

Give historical newspaper articles up to four genres with a confidence score each, plus topic words, using select, confidence, and free_list.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/linguistics/papers-past-genre-soft-labels
potato start config.yaml

About this dataset

The Papers Past genre dataset annotates historical New Zealand newspaper articles from the National Library of New Zealand's Papers Past collection. Karin Stahel, Irenie How, Lauren Millar, Luis Paterson, Daniel Steel, and Kaspar Middendorf published it at the 5th International Conference on Natural Language Processing for Digital Humanities (NLP4DH) in 2025. The paper says the dataset will eventually be released openly, so this design uses ten invented articles in the style of 1839 to 1903 newspapers, with made-up newspaper names.

Six annotators took part, including the lead researcher, a doctoral student in data science. Two had recent history PhDs, and the others were a doctoral student in sociology and creative practice, a master's student in linguistics, and the manager of a humanities research lab. Annotators first said whether an article was legible, then chose a primary genre with a confidence percentage in ten percent steps. They could add up to three more genres with their own scores, which did not have to sum to 100, and up to four topic words. The design uses the 22 genres of the paper's Table 2, select schemes for the genres, a confidence scheme as a 0 to 100 slider for each score, and a free_list scheme with at most four entries for the topic words. The paper's interface was a Google Colab notebook, and two radio questions stand in for its legibility and single-or-multiple-item questions.

This is the first showcase design that uses the confidence type. The confidence slider opens at 50, and an untouched slider stores nothing. Clicking the handle in place stores a score of 50, which needs Potato 2.15.0 or later. Annotators should fill genres in order and leave later genres empty, and an analysis would need to ignore scores whose genre is blank.

Genres
22 (paper Table 2)
Genre slots per article
up to 4, each with a confidence score
Topic words per article
up to 4
Sample articles in this design
10 illustrative articles

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# Papers Past: soft genre labels with annotator confidence and topic words for historical newspaper articles (NLP4DH 2025)
#
# Paper:   Stahel, How, Millar, Paterson, Steel and Middendorf, "A Bit of This, a Bit of That: Building a Genre and
#          Topic Annotated Dataset of Historical Newspaper Articles with Soft Labels and Confidence Scores",
#          NLP4DH 2025, pages 377-392, https://aclanthology.org/2025.nlp4dh-1.33/ (doi 10.18653/v1/2025.nlp4dh-1.33).
# Data:    The dataset "will eventually be openly released" (paper abstract), and no repository or licence is cited, so
#          nothing from it is used. The ten articles in sample-data.json are invented, in the style of New Zealand
#          newspapers of 1839-1903, and the newspaper names are made up. The source collection is the National Library of
#          New Zealand's Papers Past open data.
# Protocol (paper section 3.3): "The first annotation requirement was to indicate if an article was legible." For genre,
#          "annotators were instructed to select a primary genre, "Genre 1", that they felt was the best fit for the article
#          from a dropdown list, along with a corresponding confidence score in the form of a percentage, also selected from
#          a dropdown list that incremented in ten percent intervals." "Annotators were advised that they could use up to
#          three additional labels and associated confidence scores to indicate the mix or ambiguity of genre in an article",
#          which "were not intended to necessarily represent the proportion of a genre in the text", so they "did not require
#          that they sum to 100". "Free text fields were provided for entering topic terms and annotators were asked to use
#          their judgement to select up to four representative words from the article text or title", one lowercase word each,
#          and the label "various" could be entered where there were more topics than could be identified. Section 3.1 adds
#          that the interface captured whether the article was legible and whether "it was a single article or if it consisted
#          of multiple items due to errors in the article segmentation process". The 22 genres are those of the paper's Table 2.
# Slider note: the confidence slider opens at 50 and stores nothing until it is moved, clicked in place, or given
#          Enter or Space, so a score of 50 is one click on the handle (Potato 2.15.0 or later). Fill genres in order
#          and leave later genres empty.
# Adaptations: the paper's interface was a Google Colab notebook, and the illegible and multiple-item options were
#          interface items (appendix A, items 6 and 7: "Is the article legible?" with a reason, "Single article or multiple items?" with "Multiple" for unrelated items), so two radio questions stand in for them. The paper also lets annotators leave every genre blank when none fits (appendix A, item 8); here genre 1 is required. Confidence uses the
#          confidence type as a 0-100 slider in steps of 10, one per genre slot, where the paper used a dropdown of percentages.
#          Genres 2 to 4 and their scores are optional, as in the paper. Which genres are mixed is not enforced against the scores.

annotation_task_name: "Papers Past genre and topic annotation"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: article_text

task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl

user_config:
  allow_all_users: true

instance_display:
  layout:
    direction: vertical
    gap: 12px
  fields:
    - key: newspaper
      type: text
      label: "Newspaper"
    - key: date
      type: text
      label: "Date"
    - key: article_text
      type: text
      label: "Article"

annotation_schemes:
  - annotation_type: radio
    name: legibility
    description: "Is the article legible?"
    labels: ["Legible", "Illegible (poor scan or not an article)"]
    horizontal: true
    label_requirement:
      required: true

  - annotation_type: radio
    name: segmentation
    description: "Is this a single article, or several items joined by a segmentation error?"
    labels: ["Single article", "Multiple items"]
    horizontal: true

  - annotation_type: select
    name: genre_1
    description: "Genre 1 (primary): the best fit for the article."
    labels:
      - "News"
      - "Report"
      - "Notice"
      - "List"
      - "Editorial"
      - "Letter"
      - "Review"
      - "Advertisement"
      - "Fiction"
      - "Obituary"
      - "Opinion"
      - "Squib"
      - "Feature"
      - "Poetry or verse"
      - "Table or chart"
      - "Social column"
      - "Narrative humour"
      - "Advice"
      - "Speech"
      - "Recipe"
      - "Joke, riddle, puzzle"
      - "Narrative non-fiction"
    label_requirement:
      required: true

  - annotation_type: confidence
    name: genre_1_confidence
    description: "Confidence in genre 1 (percent, in steps of ten). The four scores need not sum to 100."
    target_schema: genre_1
    scale_type: slider
    min_value: 0
    max_value: 100
    step: 10
    left_label: "0%"
    right_label: "100%"

  - annotation_type: select
    name: genre_2
    description: "Genre 2 (optional): another genre the article partly belongs to."
    labels:
      - "News"
      - "Report"
      - "Notice"
      - "List"
      - "Editorial"
      - "Letter"
      - "Review"
      - "Advertisement"
      - "Fiction"
      - "Obituary"
      - "Opinion"
      - "Squib"
      - "Feature"
      - "Poetry or verse"
      - "Table or chart"
      - "Social column"
      - "Narrative humour"
      - "Advice"
      - "Speech"
      - "Recipe"
      - "Joke, riddle, puzzle"
      - "Narrative non-fiction"

  - annotation_type: confidence
    name: genre_2_confidence
    description: "Confidence in genre 2 (percent, in steps of ten). The four scores need not sum to 100."
    target_schema: genre_2
    scale_type: slider
    min_value: 0
    max_value: 100
    step: 10
    left_label: "0%"
    right_label: "100%"

  - annotation_type: select
    name: genre_3
    description: "Genre 3 (optional): another genre the article partly belongs to."
    labels:
      - "News"
      - "Report"
      - "Notice"
      - "List"
      - "Editorial"
      - "Letter"
      - "Review"
      - "Advertisement"
      - "Fiction"
      - "Obituary"
      - "Opinion"
      - "Squib"
      - "Feature"
      - "Poetry or verse"
      - "Table or chart"
      - "Social column"
      - "Narrative humour"
      - "Advice"
      - "Speech"
      - "Recipe"
      - "Joke, riddle, puzzle"
      - "Narrative non-fiction"

  - annotation_type: confidence
    name: genre_3_confidence
    description: "Confidence in genre 3 (percent, in steps of ten). The four scores need not sum to 100."
    target_schema: genre_3
    scale_type: slider
    min_value: 0
    max_value: 100
    step: 10
    left_label: "0%"
    right_label: "100%"

  - annotation_type: select
    name: genre_4
    description: "Genre 4 (optional): another genre the article partly belongs to."
    labels:
      - "News"
      - "Report"
      - "Notice"
      - "List"
      - "Editorial"
      - "Letter"
      - "Review"
      - "Advertisement"
      - "Fiction"
      - "Obituary"
      - "Opinion"
      - "Squib"
      - "Feature"
      - "Poetry or verse"
      - "Table or chart"
      - "Social column"
      - "Narrative humour"
      - "Advice"
      - "Speech"
      - "Recipe"
      - "Joke, riddle, puzzle"
      - "Narrative non-fiction"

  - annotation_type: confidence
    name: genre_4_confidence
    description: "Confidence in genre 4 (percent, in steps of ten). The four scores need not sum to 100."
    target_schema: genre_4
    scale_type: slider
    min_value: 0
    max_value: 100
    step: 10
    left_label: "0%"
    right_label: "100%"

  - annotation_type: free_list
    name: topic_terms
    description: "Topic terms: up to four representative words from the article text or title."
    instructions: "One lowercase word per entry, without punctuation. Enter 'various' if there are more topics than you can easily name."
    min_items: 1
    max_items: 4
    label_requirement:
      required: true

annotation_instructions: |
  Say first whether the article can be read. Choose a primary genre and how confident you are in it, as a
  percentage. If the article mixes genres, add up to three more genres, each with its own confidence. The
  scores are independent, so a verse letter to the editor can be 100% letter and 100% poetry. Then list up to
  four topic words.

Sample Data

json
[
  {
    "id": "paperspast_001",
    "newspaper": "Evening Courier (invented)",
    "date": "1868-03-14",
    "article_text": "TO MAKE A PLUM PUDDING. Take one pound of suet, finely chopped, one pound of raisins stoned, half a pound of currants, four ounces of bread crumbs, and six eggs well beaten. Mix with a little milk, tie in a floured cloth, and boil for six hours. A pudding made thus will keep a month if hung in a cool place; and it is a good plan to warm it up on the day it is wanted."
  },
  {
    "id": "paperspast_002",
    "newspaper": "Colonial Gazette (invented)",
    "date": "1859-07-02",
    "article_text": "ARRIVED. June 29.--Wanganui, schooner, 47 tons, Smith, from Wellington. Passengers: Mrs Rae and two children, Messrs Jones and Parsons. Cargo: 20 bales wool, 14 casks tallow. SAILED. June 30.--Emily Jane, brig, 120 tons, Boyd, for Sydney. Cargo: 60 tons flax, 300 bags wheat."
  }
]

// ... and 8 more items

Dataset & paper

Stahel et al., NLP4DH 2025

Paper DOI
10.18653/v1/2025.nlp4dh-1.33

Citation (BibTeX)

bibtex
@inproceedings{stahel-etal-2025-bit,
    title = "A Bit of This, a Bit of That: Building a Genre and Topic Annotated Dataset of Historical Newspaper Articles with Soft Labels and Confidence Scores",
    author = "Stahel, Karin  and
      How, Irenie  and
      Millar, Lauren  and
      Paterson, Luis  and
      Steel, Daniel  and
      Middendorf, Kaspar",
    editor = {H{\"a}m{\"a}l{\"a}inen, Mika  and
      {\"O}hman, Emily  and
      Bizzoni, Yuri  and
      Miyagawa, So  and
      Alnajjar, Khalid},
    booktitle = "Proceedings of the 5th International Conference on Natural Language Processing for Digital Humanities",
    month = may,
    year = "2025",
    address = "Albuquerque, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.nlp4dh-1.33/",
    doi = "10.18653/v1/2025.nlp4dh-1.33",
    pages = "377--392",
    ISBN = "979-8-89176-234-3"
}

Details

Annotation Types

radioselectconfidencefree_list

Domain

Digital HumanitiesHistorical NewspapersNew Zealand

Use Cases

Genre ClassificationSoft LabelsAnnotator Confidence

Tags

papers pasthistorical newspapersgenresoft labelsconfidence scorestopic wordsnlp4dh

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)