diff_anonymization
Generate a unified diff between original and anonymized text to highlight changes made during anonymization. This enables clear review of anonymization edits.
Instructions
Return a unified diff comparing original and anonymized text.
Args:
original: Original (pre-anonymization) text.
anonymized: Anonymized text from anonymize_text().
Returns a plain unified-diff string suitable for display.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original | Yes | ||
| anonymized | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |