Content Moderator API

5 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€43.50
List Price:  €60.90
You save:  €17.40
£37.39
List Price:  £52.35
You save:  £14.96
CA$69.17
List Price:  CA$96.85
You save:  CA$27.67
A$78.07
List Price:  A$109.31
You save:  A$31.23
S$65.36
List Price:  S$91.50
You save:  S$26.14
HK$387.81
List Price:  HK$542.97
You save:  HK$155.15
CHF 40.55
List Price:  CHF 56.77
You save:  CHF 16.22
NOK kr517.27
List Price:  NOK kr724.23
You save:  NOK kr206.95
DKK kr324.78
List Price:  DKK kr454.72
You save:  DKK kr129.94
NZ$83.24
List Price:  NZ$116.55
You save:  NZ$33.30
د.إ183.61
List Price:  د.إ257.07
You save:  د.إ73.45
৳6,070.98
List Price:  ৳8,499.86
You save:  ৳2,428.88
₹4,258.23
List Price:  ₹5,961.86
You save:  ₹1,703.63
RM219.45
List Price:  RM307.25
You save:  RM87.80
₦80,219.95
List Price:  ₦112,314.35
You save:  ₦32,094.40
₨14,022.19
List Price:  ₨19,632.19
You save:  ₨5,610
฿1,660.65
List Price:  ฿2,325.05
You save:  ฿664.39
₺1,912.68
List Price:  ₺2,677.91
You save:  ₺765.22
B$290.37
List Price:  B$406.55
You save:  B$116.17
R931.74
List Price:  R1,304.52
You save:  R372.77
Лв85.01
List Price:  Лв119.03
You save:  Лв34.01
₩71,210.16
List Price:  ₩99,699.92
You save:  ₩28,489.76
₪185.77
List Price:  ₪260.09
You save:  ₪74.32
₱2,833.15
List Price:  ₱3,966.64
You save:  ₱1,133.48
¥7,021.45
List Price:  ¥9,830.60
You save:  ¥2,809.14
MX$981.93
List Price:  MX$1,374.78
You save:  MX$392.85
QR182.01
List Price:  QR254.83
You save:  QR72.82
P688.61
List Price:  P964.11
You save:  P275.50
KSh6,483.70
List Price:  KSh9,077.70
You save:  KSh2,594
E£2,552.66
List Price:  E£3,573.93
You save:  E£1,021.27
ብር6,546.19
List Price:  ብር9,165.19
You save:  ብር2,619
Kz45,865.82
List Price:  Kz64,215.82
You save:  Kz18,350
CLP$48,067.30
List Price:  CLP$67,298.07
You save:  CLP$19,230.76
CN¥364.54
List Price:  CN¥510.39
You save:  CN¥145.84
RD$2,986.90
List Price:  RD$4,181.90
You save:  RD$1,195
DA6,595.03
List Price:  DA9,233.57
You save:  DA2,638.54
FJ$112.49
List Price:  FJ$157.49
You save:  FJ$45
Q385.02
List Price:  Q539.06
You save:  Q154.03
GY$10,484.65
List Price:  GY$14,679.35
You save:  GY$4,194.70
ISK kr6,303.23
List Price:  ISK kr8,825.03
You save:  ISK kr2,521.80
DH461.89
List Price:  DH646.68
You save:  DH184.79
L863.83
List Price:  L1,209.44
You save:  L345.60
ден2,674.89
List Price:  ден3,745.06
You save:  ден1,070.17
MOP$399.43
List Price:  MOP$559.23
You save:  MOP$159.80
N$938.31
List Price:  N$1,313.71
You save:  N$375.40
C$1,838.39
List Price:  C$2,573.90
You save:  C$735.50
रु6,815.87
List Price:  रु9,542.77
You save:  रु2,726.89
S/185.18
List Price:  S/259.27
You save:  S/74.09
K203.18
List Price:  K284.47
You save:  K81.29
SAR187.51
List Price:  SAR262.53
You save:  SAR75.02
ZK1,423.44
List Price:  ZK1,992.94
You save:  ZK569.49
L216.50
List Price:  L303.11
You save:  L86.61
Kč1,089.97
List Price:  Kč1,526.05
You save:  Kč436.07
Ft17,792.75
List Price:  Ft24,911.28
You save:  Ft7,118.52
SEK kr474.58
List Price:  SEK kr664.46
You save:  SEK kr189.87
ARS$54,615.02
List Price:  ARS$76,465.40
You save:  ARS$21,850.38
Bs345.82
List Price:  Bs484.18
You save:  Bs138.35
COP$212,845.24
List Price:  COP$298,000.37
You save:  COP$85,155.12
₡25,121.87
List Price:  ₡35,172.63
You save:  ₡10,050.75
L1,292.24
List Price:  L1,809.24
You save:  L516.99
₲399,820.51
List Price:  ₲559,780.71
You save:  ₲159,960.20
$U2,116.99
List Price:  $U2,963.96
You save:  $U846.96
zł186.32
List Price:  zł260.87
You save:  zł74.54
Already have an account? Log In

Transcript

Hello guys. Welcome to this session of using Microsoft Word framework Luis and cognitive services tutorials for beginners. In this session we'll learn how to use content moderator APA. Content moderator API can be used for various purposes. We have already seen some of them such as identifying that image contains that I see are added contains offer OCR, offering key phrases etc. In this session, I'm going to declare PII data from text.

PII means personal identifiable information, such as IP, mobile number, email id, address, etc. We need to use Cognitive Services content moderator package. I have already created a new dialog for this and updated it in message controller. Here, I'm just optimizing text and pass it to this method. For this required a key for content moderator APA so click on new search content moderators. Country target and click on Create I already created so I'm hoping to keys from existing and also copy and pasting an address.

Here we need to set a base address. So it just includes domain name only, not HTTPS, or a fabless need to create an instance of content moderator client passkey update base URL. To obtain PII, we need to call screen text method of text moderation property. Here several other properties exist for manipulating the immediate media etc. The first parameter is the language of the text that you are passing. I'm using English.

The second parameter is the format of text that you are passing. It can be plain text markdown HTML or XML. I'm using plain text. Next is text on which you want to perform the operation. Next is for enable autocorrect oppression on this text Now next is for detect PII, where we need to send through. Our result includes a list of PII data.

So let us convert it to comma separated string. copy this and change for me for number at the end containing all those PII details. To create a new customization, let me address domain.com. So, we got this in the email address. Let us try my mobile number is plus 919876543210. Here we got just 987-654-3210 in mobile that is 10 192 dot 168 dot one dot one.

We got it in IP and private address. Here I am used Microsoft secretaries I have created one string please contains all of those PII data and paste it. Here you can see that it detected address, email, IP and multiple phone numbers. Now, let us see what we have learned in this session. You use a content moderator, we need to use Cognitive Services content moderator package. To detect the data use plain text method.

Note that for PII operation we must need to pass through in the last parameter. Thanks for watching this video. If you have any doubts, please feel free to contact me. Have a nice day.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.