PII detection using Microsoft Presidio

Mansi Yadav 60 Reputation points
2024-06-04T04:44:38.9166667+00:00

I'm using Microsoft Presidio to detect all PII and then replace it with a generic term. Initially I want to detect organization names Like Amazon, Microsoft, etc. And anonymize the text. When I tried to print supported entities ORGANIZATION was there and when I'm defining that entity in analyzer it's not detecting organization name. IMG_20240604_100831

IMG_20240604_101105

Above is the output of the code that I have written. Please let me know where I'm going wrong. If there is any other solution for pii detection than please let me know. I want to detect pii like organization name and replace it with a generic string let's say anonymous, Comapny-A, etc.

Community Center Discuss the Q&A site Get started on Q&A
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.