-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
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
Labels
No labels