Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HC200ok authored Jul 19, 2022
1 parent 6de3009 commit 4b28848
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ By using `manual-data-masking` you can do a manual data masking job like this:

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/easy-data-masking-igykl?file=/index.html)

At the same time, data masked and text after data masking will be generated by `manual-data-masking`.
At the same time, `dataMasked` and `textAfterDataMasking` will be generated by `manual-data-masking`.

Data masked:
`dataMasked`:

```js
[
Expand All @@ -47,9 +47,9 @@ Data masked:
},
];
```
Data masked can be used to build a dataset for training data masking related NLP model.
> `dataMasked` can be used to build a dataset for training data-masking related NLP model.
Text after data masking:
`textAfterDataMasking`:

```html
*******, The phone I just bought last week has been broken 😠, I need refund
Expand Down Expand Up @@ -160,7 +160,7 @@ $manualDataMasking.on("afterDataMasking", (dataMasked, textAfterDataMasking) =>
});
$manualDataMasking.on(
"afterdataMasking",
"afterDataMasking",
(dataMasked, textAfterDataMasking) => {
console.log(JSON.stringify(dataMasked));
console.log(textAfterDataMasking);
Expand Down Expand Up @@ -192,7 +192,7 @@ $manualDataMasking.on("afterDataMasking", (dataMasked, textAfterDataMasking) =>

| Event Name | Description |
| :----------: | ----------------------------------------------------------------------------------- |
| afterDataMasking | Registered callback functions will be triggered when new sensitive data been masked. Value of text after masking and data msked can be used inside of the callback function. <br><br> $manualDataMasking.on( "afterdataMasking", (dataMasked, textAfterDataMasking) => {<br> &nbsp;&nbsp;console.log(JSON.stringify(dataMasked));<br> &nbsp;&nbsp;console.log(textAfterDataMasking);<br>});|
| afterDataMasking | Registered callback functions will be triggered when new sensitive data been masked. Value of text after masking and data msked can be used inside of the callback function. <br><br> $manualDataMasking.on( "afterDataMasking", (dataMasked, textAfterDataMasking) => {<br> &nbsp;&nbsp;console.log(JSON.stringify(dataMasked));<br> &nbsp;&nbsp;console.log(textAfterDataMasking);<br>});|

## ⭐ Stargazers
[![Stargazers repo roster for @HC200ok/manual-data-masking](https://reporoster.com/stars/HC200ok/manual-data-masking)](https://github.com/HC200ok/manual-data-masking/stargazers)
Expand Down

0 comments on commit 4b28848

Please sign in to comment.