PII detection using Microsoft Presidio
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.
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.