Skip to content

Commit

Permalink
Updated 'de-identify' to be consistent everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
dinesh-crest committed Apr 6, 2023
1 parent 1cdb329 commit 99bef54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dlp/deIdentifyWithSimpleWordList.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// sample-metadata:
// title: De-identify sensitive data with a simple word list
// description: Uses the Data Loss Prevention API to deidentify sensitive data in a
// description: Uses the Data Loss Prevention API to de-identify sensitive data in a
// string using a custom simple word list.
// usage: node deIdentifyWithSimpleWordList.js my-project text-to-insect word-list custom-info-type-name

Expand All @@ -29,7 +29,7 @@ function main(projectId, textToInspect, words, customInfoTypeName) {
// TODO(developer): Replace these variables before running the sample.
// const projectId = "your-project-id";

// The string to deidentify
// The string to de-identify
// const textToInspect = 'Patient was seen in RM-YELLOW then transferred to rm green.';

// Words to look for during inspection
Expand Down Expand Up @@ -60,7 +60,7 @@ function main(projectId, textToInspect, words, customInfoTypeName) {
},
};

// Construct deidentify configuration
// Construct de-identify configuration
const deidentifyConfig = {
infoTypeTransformations: {
transformations: [
Expand Down

0 comments on commit 99bef54

Please sign in to comment.