kiji-proxy icon indicating copy to clipboard operation
kiji-proxy copied to clipboard

openpii import leaves German birth dates unlabelled when the birth word follows the date

Open Davidnet opened this issue 2 weeks ago • 0 comments

Found while reviewing #688. Code: model/dataset/huggingface/german_sources.py:253-262.

When importing openpii rows, the birth-cue check looks only at the text before a date. So the most common German phrasing, with the birth word after the date, leaves a real birth date unlabelled:

  • "Herr Jonas Weber ist am 03.04.2001 in Köln geboren."
  • "… wurde am 14.02.2012 geboren."

The model learns that these dates aren't PII. This works against the v3 goal of recognising birth dates in every phrasing.

Suggested fix: also look for a birth word (geboren, zur Welt gekommen, …) shortly after the date in the same sentence. Add tests for both phrasings. Count how many openpii rows change before the next mix.

Davidnet avatar Nov 17 '26 02:11 Davidnet