Skip to content

Adding names to the whitelist does not except them #147

@msnackey

Description

@msnackey

Using the code suggestion from the documentation page, I tried adding a name ('Max') to the whitelist to prevent it from being deidentified:
deduce.lookup_structs['whitelist'].add_items_from_iterable(["Max"])

Unfortunately, this did not lead to the expected result of 'Max' still being represented in the deidentified text. I checked to make sure that adding it to the whitelist lookup structure did work, and indeed it was one of the items of the whitelist LookupSet. I also tried this with the placename Utrecht and had similar results. Maybe it is not intended to work with names but only (common) words?

Using deduce 3.0.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions