This repository contains a simple example of a python pipeline for text anonymization. It is based on two open source libraries: Presidio and Faker.
You can find a detailed medium post with examples and comments using this link: Text anonymization with Presidio and Faker