Skip to content

Commit 0db1561

Browse files
phone and address update to try-text-api
1 parent 3f9a5f8 commit 0db1561

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

articles/cognitive-services/Content-Moderator/try-text-api.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ For **Content-Type**, select the type of content you want to screen. For this ex
5959
In the **Request body** box, enter some text. The following example shows an intentional typo in the text.
6060

6161
```
62-
Is this a grabage or crap email [email protected], phone: 6657789887, IP: 255.255.255.255, 1 Microsoft Way, Redmond, WA 98052.
63-
These are all UK phone numbers, the last two being Microsoft UK support numbers: +44 870 608 4000 or 0344 800 2400 or 0800 820 3300.
64-
Also, 999-99-9999 looks like a social security number (SSN).
62+
Is this a grabage or crap email [email protected], phone: 4255550111, IP: 255.255.255.255, 1234 Main Boulevard, Panapolis WA 96555. These are all UK phone numbers, the last two being Microsoft UK support numbers: +44 870 608 4000 or 0344 800 2400 or 0800 820 3300. Also, 999-99-9999 looks like a social security number (SSN).
6563
```
6664

6765
## Analyze the response
@@ -72,8 +70,8 @@ The following response shows the various insights from the API. It contains pote
7270
> The machine-assisted 'Classification' feature is in preview and supports English only.
7371
7472
```json
75-
{"OriginalText":"Is this a grabage or crap email [email protected], phone: 6657789887, IP: 255.255.255.255, 1 Microsoft Way, Redmond, WA 98052.\r\nThese are all UK phone numbers, the last two being Microsoft UK support numbers: +44 870 608 4000 or 0344 800 2400 or 0800 820 3300.\r\nAlso, 544-56-7788 looks like a social security number (SSN).",
76-
"NormalizedText":"Is this a grabage or crap email abcdef@ abcd. com, phone: 6657789887, IP: 255. 255. 255. 255, 1 Microsoft Way, Redmond, WA 98052. \r\nThese are all UK phone numbers, the last two being Microsoft UK support numbers: +44 870 608 4000 or 0344 800 2400 or 0800 820 3300. \r\nAlso, 544- 56- 7788 looks like a social security number ( SSN) .",
73+
{"OriginalText":"Is this a grabage or crap email [email protected], phone: 4255550111, IP: 255.255.255.255, 1234 Main Boulevard, Panapolis WA 96555.\r\nThese are all UK phone numbers: +44 123 456 7890 or 0234 567 8901 or 0456 789 0123.\r\nAlso, 999-99-9999 looks like a social security number (SSN).",
74+
"NormalizedText":"Is this a grabage or crap email abcdef@ abcd. com, phone: 4255550111, IP: 255. 255. 255. 255, 1234 Main Boulevard, Panapolis WA 96555. \r\nThese are all UK phone numbers: +44 123 456 7890 or 0234 567 8901 or 0456 789 0123. \r\nAlso, 999- 99- 9999 looks like a social security number ( SSN) .",
7775
"Misrepresentation":null,
7876
"PII":{
7977
"Email":[
@@ -94,33 +92,33 @@ The following response shows the various insights from the API. It contains pote
9492
"Phone":[
9593
{
9694
"CountryCode":"US",
97-
"Text":"6657789887",
95+
"Text":"4255550111",
9896
"Index":56
9997
},
10098
{
10199
"CountryCode":"US",
102-
"Text":"870 608 4000",
100+
"Text":"425 555 0111",
103101
"Index":211
104102
},
105103
{
106104
"CountryCode":"UK",
107-
"Text":"+44 870 608 4000",
105+
"Text":"+44 123 456 7890",
108106
"Index":207
109107
},
110108
{
111109
"CountryCode":"UK",
112-
"Text":"0344 800 2400",
110+
"Text":"0234 567 8901",
113111
"Index":227
114112
},
115113
{
116114
"CountryCode":"UK",
117-
"Text":"0800 820 3300",
115+
"Text":"0456 789 0123",
118116
"Index":244
119117
}
120118
],
121119
"Address":[
122120
{
123-
"Text":"1 Microsoft Way, Redmond, WA 98052",
121+
"Text":"1234 Main Boulevard, Panapolis WA 96555",
124122
"Index":89
125123
}
126124
],

0 commit comments

Comments
 (0)