﻿# A Presidio language setting does not install equivalent PII coverage

A practical investigation of a Presidio language setting does not install equivalent PII coverage, with explicit observations, control cases and evidence limits.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/field-sovereign-presidio-language-model-recognizer-coverage/
Language: en

## The deployment scenario

A private bilingual document service runs a local PII detector before exporting evaluation examples. Its configuration accepts the requested language, so the operator assumes equivalent entity coverage in both languages. A configured NLP model and a recognizer registry are different parts of that path. The acceptance question is whether the intended entity types and their language-specific detection mechanisms are actually present, rather than whether the API accepts a language label.

## The data and control mechanism

Presidio’s language documentation requires adapting both the NLP engine and PII recognizers when adding a language. It notes that a regular-expression mechanism can be language-agnostic while the context words that affect recognition are not. The tutorial configures models and supported languages together. These examples establish configuration responsibilities; they do not provide a measured recall guarantee for every language, document style or identifier format that a deployment might process.

## Define the intended boundary

Define the entity-by-language coverage contract for the export workflow. List the model, recognizer and context vocabulary responsible for each required entity class. Mark unsupported or unreviewed cells explicitly instead of silently using an empty result as permission to export. Distinguish operational locality from language support: installing a detector locally says where it runs, while the coverage matrix says what the selected configuration is intended to recognize.

## A step-by-step review

First inspect the effective NLP models and registered recognizers for the actual request language. Build invented examples containing the required entity types in realistic contexts for each language, plus harmless controls that resemble them. Observe detected type, span and score before transformation. Include a missing-recognizer or wrong-language configuration as a negative case. The fixture should demonstrate a detectable coverage gap without requiring private production records to leave the environment.

## Evidence required for acceptance

Acceptance requires configuration evidence and reviewed outcomes for each promised entity-language pair. Record false negatives and false positives separately, since preserving utility and preventing disclosure are different objectives. A successful language request or loaded model is insufficient evidence. Preserve the exact synthetic examples and detector revision so later recognizer changes can be evaluated against the same requirement without claiming that a tiny fixture estimates population-wide detection quality.

## Failure cases and limits

This review does not establish complete anonymization or legal suitability of the exported dataset. Domain-specific identifiers and mixed-language documents can require additional review, and undiscovered sensitive content remains possible. Model downloads and remote recognizers have separate network boundaries. The supported claim is a visible, tested configuration contract for specified language and entity pairs, with unsupported cases routed to explicit review rather than converted into a blanket privacy assurance.

## Primary references and related reading

Review the NLP model and language-specific recognizers together; an accepted language code is not evidence of complete detection. [Presidio language models and language-specific recognizers](https://raw.githubusercontent.com/data-privacy-stack/presidio/main/docs/analyzer/languages.md); [Presidio multilingual analyzer configuration example](https://raw.githubusercontent.com/data-privacy-stack/presidio/main/docs/tutorial/05_languages.md).

The proposed investigation of presidio language model recognizer coverage is a proposed technical boundary review; no production workload or private data was used. Related reading: [Presidio dataset redaction: detection spans, replacement offsets and provenance](/journal/data-guide-pii-redaction-offset-lineage/); [Evaluating embeddings for Russian language retrieval](/journal/embeddings-russian-retrieval/).
