'PL61109010140000071219812874'},     'LOCATION': {'<LOCATION>': 'Kilmarnock'},     'PERSON': {'<PERSON>': 'John Doe', '<PERSON_2>': 'Victoria Cherry'},     'PHONE_NUMBER': {'<PHONE_NUMBER>': '999-888-7777'},     'POLISH_ID': {'<POLISH_ID>': 'ABC123456'},     'TIME': {'<TIME>': '9:30 AM'},     'UK_NHS': {'<UK_NHS>': '987-654-3210'},     'US_DRIVER_LICENSE': {'<US_DRIVER_LICENSE>': '999000680'},     'US_SSN': {'<US_SSN>': '602-76-4532'}}As you can see, our new recognizers work as expected. The anonymizer has replaced the time and Polish ID entities with the <TIME> and <POLISH_ID> markers, and the deanonymizer mapping has been updated accordingly.Now, when all PII values are detected correctly, we can proceed to the next step, which is replacing the original values with synthetic ones. To do this, we need to set add_default_faker_operators=True (or just remove this parameter, because it's set to True by default):anonymizer = PresidioReversibleAnonymizer(    add_default_faker_operators=True,    # Faker seed is used here to make sure the same fake data is generated for the test purposes    # In production, it is recommended to remove the faker_seed parameter (it will default to None)    faker_seed=42,)anonymizer.add_recognizer(polish_id_recognizer)anonymizer.add_recognizer(time_recognizer)print_colored_pii(anonymizer.anonymize(document_content))    Date: 1986-04-18    Witness: Brian Cox DVM    Subject: Testimony Regarding the Loss of Wallet        Testimony Content:        Hello Officer,        My name is Brian Cox DVM and on 1986-04-18, my wallet was stolen in the vicinity of New Rita during a bike trip. This wallet contains some very important things to me.        Firstly, the wallet contains my credit card with number 6584801845146275, which is registered under my name and linked to my bank account, GB78GSWK37672423884969.        Additionally, the wallet had a driver's license - DL No: 781802744 issued to my name. It also houses my Social Security Number,
Open In Colab
Open In Colab ->: 'PL61109010140000071219812874'},     'LOCATION': {'<LOCATION>': 'Kilmarnock'},     'PERSON': {'<PERSON>': 'John Doe', '<PERSON_2>': 'Victoria Cherry'},     'PHONE_NUMBER': {'<PHONE_NUMBER>': '999-888-7777'},     'POLISH_ID': {'<POLISH_ID>': 'ABC123456'},     'TIME': {'<TIME>': '9:30 AM'},     'UK_NHS': {'<UK_NHS>': '987-654-3210'},     'US_DRIVER_LICENSE': {'<US_DRIVER_LICENSE>': '999000680'},     'US_SSN': {'<US_SSN>': '602-76-4532'}}As you can see, our new recognizers work as expected. The anonymizer has replaced the time and Polish ID entities with the <TIME> and <POLISH_ID> markers, and the deanonymizer mapping has been updated accordingly.Now, when all PII values are detected correctly, we can proceed to the next step, which is replacing the original values with synthetic ones. To do this, we need to set add_default_faker_operators=True (or just remove this parameter, because it's set to True by default):anonymizer = PresidioReversibleAnonymizer(    add_default_faker_operators=True,    # Faker seed is used here to make sure the same fake data is generated for the test purposes    # In production, it is recommended to remove the faker_seed parameter (it will default to None)    faker_seed=42,)anonymizer.add_recognizer(polish_id_recognizer)anonymizer.add_recognizer(time_recognizer)print_colored_pii(anonymizer.anonymize(document_content))    Date: 1986-04-18    Witness: Brian Cox DVM    Subject: Testimony Regarding the Loss of Wallet        Testimony Content:        Hello Officer,        My name is Brian Cox DVM and on 1986-04-18, my wallet was stolen in the vicinity of New Rita during a bike trip. This wallet contains some very important things to me.        Firstly, the wallet contains my credit card with number 6584801845146275, which is registered under my name and linked to my bank account, GB78GSWK37672423884969.        Additionally, the wallet had a driver's license - DL No: 781802744 issued to my name. It also houses my Social Security Number,