Anonymizer: A framework for text anonymization

An example

There were three bids for the painting: David bid 30.000€, Larissa bid 35.000€, and Mark bid 37.000€.

There were three bids for the painting: XXX bid XXX€, XXX bid XXX€, and XXX bid XXX€.

There were three bids for the painting: Person 1 bid XXX€, Person 2 bid XXX€, and Person 3 bid XXX€.

There were three bids for the painting: Person 1 bid 27.517€, Person 2 bid 26.189€, and Person 3 bid 41.023€.

The Anonymizer Component as part of OpenRedact

Using the Anonymizer somewhere else

>>> from anonymizer.mechanisms.pseudonymization import Pseudonymization

>>> mechanism = Pseudonymization(format_string='Person {}')
>>> mechanism.anonymize('test')
'Person 1'

What’s next, and how can you help?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store