Workflow language excludes applicable PII format recognizers
Is your feature request related to a problem? Please describe.
classificationLanguage selects the NLP language, but also filters which PII recognizers run. This excludes existing format-based entities when the workflow language differs from the recognizer's configured language.
With the shipped PII configuration and default confidence, a fixed-input TagProcessor replay produced:
| Sample value | English workflow | Spanish workflow |
|---|---|---|
Synthetic email [email protected] |
PII.Sensitive |
No tag |
Valid Spanish NIF 12345678Z |
No tag | PII.Sensitive |
The format of an email address or NIF does not change with the language selected for NLP analysis.
Describe the solution you'd like
Review the shipped recognizers and make format-based checks eligible across workflow languages where their matching logic supports it. Use recognizer-level supportedLanguage: any for suitable recognizers while retaining the workflow's selected language for NLP. This does not require setting the whole workflow to classificationLanguage: any.
Where column-name words help score a match in sampled values, add appropriate language-specific context words. Reuse the same regex, checksum, or other validator when the underlying format is unchanged; use a separate matching algorithm only where the format requires one. Keep genuinely language-dependent recognition, such as name NLP, tied to an appropriate language model.
Add final-tag tests for the same personal values under English and Spanish workflows, together with nonpersonal and competing-format controls. Check processing cost before applying the approach across the shipped recognizers. Ensure that changes to shipped recognizer configurations reach existing installations without overwriting user edits; startup seed reconciliation does not update an existing recognizer with the same name.
Describe alternatives you've considered.
Setting the whole workflow to classificationLanguage: any includes all configured language groups, but analyzes sampled values through multiple language models. Duplicating an unchanged email regex for each language would also increase configuration maintenance.
Additional context
Parent: #33827. Issues #27911 and #31845 addressed recognizers explicitly configured with supportedLanguage: any; this request concerns which shipped recognizers should use that capability.
The reproduced results are from a fixed-input processor replay. Server persistence and production frequency were not measured.
Pre-submission checklist
- I searched for duplicate feature requests.
- The examples contain synthetic data and no credentials or personal information.
Source: open-metadata/OpenMetadata