PII detection using Microsoft Presidio

Mansi Yadav 40 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.

Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
828 questions
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.