Skip to content

Updated Anonymization#406

Merged
HugoLaurencon merged 13 commits intobigscience-workshop:masterfrom
ianyu93:master
Feb 18, 2022
Merged

Updated Anonymization#406
HugoLaurencon merged 13 commits intobigscience-workshop:masterfrom
ianyu93:master

Conversation

@ianyu93
Copy link
Copy Markdown
Contributor

@ianyu93 ianyu93 commented Feb 18, 2022

apply_regex_anonymization function now takes iterables as arguments for tag_type. This allows targeted application of regex rules, such as ['ID', 'AGE']. By default, if no argument has been passed through, all keys under regex_rulebase is used.

Ian Yu and others added 13 commits February 11, 2022 07:27
Updating submodule config
Updated test case for faker address to be street_address rather than full address
By default, tag_type for anonymization is None to allow passing
iterables as tag_type. This allows applying anonymization of
specific types for specific situation. By default, if tag_type
is None, all keys in regex_rulebase would be applied.
@HugoLaurencon HugoLaurencon merged commit b4be13f into bigscience-workshop:master Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants