EdyVision / pii-codex

A research python package for detecting, categorizing, and assessing the severity of personal identifiable information (PII)
BSD 3-Clause "New" or "Revised" License
67 stars 9 forks source link

Exception: An error occurred while processing the detected entity US_BANK_NUMBER [microsoft_presidio_pii] #38

Open subhradip-bose opened 7 months ago

subhradip-bose commented 7 months ago

It's happening because US_BANK_NUMBER is not present in PII_Type column in pii_type_mappings.csv file. So either in microsoft_presidio_pii.py , value of US_BANK_ACCOUNT_NUMBER should be changed from US_BANK_NUMBER to US_BANK_ACCOUNT_NUMBER or in pii_type_mappings.csv , US_BANK_ACCOUNT_NUMBER should be changed to US_BANK_NUMBER

Thanks in advance

moose1882 commented 7 months ago

same issue here!