presidio
presidio copied to clipboard
Loading analyzer engine & recognizer registry from configuration file
Change Description
This PR adds a file-based configuration for presidio-analyzer. It allows users to:
- Configure their app (either Python or REST) using a set of three yaml files for each main engine:
- Analyzer
- Recognizer Registry
- NLP Engine
- Pass those files into the Docker image and read them when the REST version of Presidio (in flask) is loaded
- Easily define which recognizer to use, which language they should support + specific configuration for each (for example, a list of context words per language)
/azp run
Azure Pipelines successfully started running 1 pipeline(s).