Skip to content

Commit 725f4ca

Browse files
authored
Fix Language authoring policheck issues (#19223)
* Fix Language authoring policheck issues * Replace the API response with the latest value * Rename `Persina (Farsi) to `Persian` * Revert "Rename `Persina (Farsi) to `Persian`" This reverts commit 5a1feff. * Rename `Persian (Farsi)` to `Persian` * Remove the Bengali example
1 parent f07a806 commit 725f4ca

File tree

6 files changed

+24
-110
lines changed

6 files changed

+24
-110
lines changed

specification/cognitiveservices/data-plane/Language/preview/2022-05-15-preview/examples/analyzeconversations-authoring/SuccessfulGetSupportedLanguages.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@
118118
"languageName": "Bulgarian",
119119
"languageCode": "bg"
120120
},
121-
{
122-
"languageName": "Bengali",
123-
"languageCode": "bn"
124-
},
125121
{
126122
"languageName": "Breton",
127123
"languageCode": "br"
@@ -163,7 +159,7 @@
163159
"languageCode": "eu"
164160
},
165161
{
166-
"languageName": "Persian (Farsi)",
162+
"languageName": "Persian",
167163
"languageCode": "fa"
168164
},
169165
{
@@ -287,7 +283,7 @@
287283
"languageCode": "nb"
288284
},
289285
{
290-
"languageName": "Oriya",
286+
"languageName": "Odia",
291287
"languageCode": "or"
292288
},
293289
{

specification/cognitiveservices/data-plane/Language/preview/2022-05-15-preview/examples/analyzeconversations-authoring/SuccessfulGetSupportedPrebuiltEntities.json

Lines changed: 8 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,51 +10,11 @@
1010
"headers": {},
1111
"body": {
1212
"value": [
13-
{
14-
"category": "Media.Artist",
15-
"description": "Artist name",
16-
"examples": "Phil Collins"
17-
},
18-
{
19-
"category": "Media.Title",
20-
"description": "Drama name, Song title",
21-
"examples": "Hey Jude"
22-
},
2313
{
2414
"category": "Person.Name",
2515
"description": "Name of an individual",
2616
"examples": "john, Sam, Lisa"
2717
},
28-
{
29-
"category": "Geography.Location",
30-
"description": "Parent of all location subtypes",
31-
"examples": "Tokyo, Asia, Taj Mahal"
32-
},
33-
{
34-
"category": "Geography.Location.POI",
35-
"description": "Place of interest",
36-
"examples": "National park, Eifel tower"
37-
},
38-
{
39-
"category": "Geography.Location.City",
40-
"description": "City names",
41-
"examples": "Cairo, London"
42-
},
43-
{
44-
"category": "Geography.Location.State",
45-
"description": "US State names",
46-
"examples": "Texas, California"
47-
},
48-
{
49-
"category": "Geography.Location.Continent",
50-
"description": "Continent names",
51-
"examples": "Asia, Europe"
52-
},
53-
{
54-
"category": "Geography.Location.CountryRegion",
55-
"description": "Country names",
56-
"examples": "Japan, France"
57-
},
5818
{
5919
"category": "General.Event",
6020
"description": "Important events",
@@ -66,15 +26,20 @@
6626
"examples": "Microsoft, Amazon"
6727
},
6828
{
69-
"category": "Geography.Address",
70-
"description": "Full US addresses",
71-
"examples": "123 main street, TX 75080"
29+
"category": "Choice.Boolean",
30+
"description": "boolean choice",
31+
"examples": "yes, no, agreed"
7232
},
7333
{
7434
"category": "Quantity.Age",
7535
"description": "Age of a person or thing",
7636
"examples": "10-month-old, 19 years old, 58 year-old"
7737
},
38+
{
39+
"category": "Quantity.NumberRange",
40+
"description": "a numeric interval",
41+
"examples": "between 25 and 35, 25-35"
42+
},
7843
{
7944
"category": "Quantity.Number",
8045
"description": "A cardinal number in numeric or text form",

specification/cognitiveservices/data-plane/Language/preview/2022-05-15-preview/examples/analyzetext-authoring/SuccessfulGetSupportedLanguages.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@
6969
"languageName": "Bulgarian",
7070
"languageCode": "bg"
7171
},
72-
{
73-
"languageName": "Bengali",
74-
"languageCode": "bn"
75-
},
7672
{
7773
"languageName": "Breton",
7874
"languageCode": "br"
@@ -114,7 +110,7 @@
114110
"languageCode": "eu"
115111
},
116112
{
117-
"languageName": "Persian (Farsi)",
113+
"languageName": "Persian",
118114
"languageCode": "fa"
119115
},
120116
{
@@ -262,7 +258,7 @@
262258
"languageCode": "nb"
263259
},
264260
{
265-
"languageName": "Oriya",
261+
"languageName": "Odia",
266262
"languageCode": "or"
267263
},
268264
{

specification/cognitiveservices/data-plane/Language/stable/2022-05-01/examples/analyzeconversations-authoring/SuccessfulGetSupportedLanguages.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@
118118
"languageName": "Bulgarian",
119119
"languageCode": "bg"
120120
},
121-
{
122-
"languageName": "Bengali",
123-
"languageCode": "bn"
124-
},
125121
{
126122
"languageName": "Breton",
127123
"languageCode": "br"
@@ -163,7 +159,7 @@
163159
"languageCode": "eu"
164160
},
165161
{
166-
"languageName": "Persian (Farsi)",
162+
"languageName": "Persian",
167163
"languageCode": "fa"
168164
},
169165
{
@@ -287,7 +283,7 @@
287283
"languageCode": "nb"
288284
},
289285
{
290-
"languageName": "Oriya",
286+
"languageName": "Odia",
291287
"languageCode": "or"
292288
},
293289
{

specification/cognitiveservices/data-plane/Language/stable/2022-05-01/examples/analyzeconversations-authoring/SuccessfulGetSupportedPrebuiltEntities.json

Lines changed: 8 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,51 +10,11 @@
1010
"headers": {},
1111
"body": {
1212
"value": [
13-
{
14-
"category": "Media.Artist",
15-
"description": "Artist name",
16-
"examples": "Phil Collins"
17-
},
18-
{
19-
"category": "Media.Title",
20-
"description": "Drama name, Song title",
21-
"examples": "Hey Jude"
22-
},
2313
{
2414
"category": "Person.Name",
2515
"description": "Name of an individual",
2616
"examples": "john, Sam, Lisa"
2717
},
28-
{
29-
"category": "Geography.Location",
30-
"description": "Parent of all location subtypes",
31-
"examples": "Tokyo, Asia, Taj Mahal"
32-
},
33-
{
34-
"category": "Geography.Location.POI",
35-
"description": "Place of interest",
36-
"examples": "National park, Eifel tower"
37-
},
38-
{
39-
"category": "Geography.Location.City",
40-
"description": "City names",
41-
"examples": "Cairo, London"
42-
},
43-
{
44-
"category": "Geography.Location.State",
45-
"description": "US State names",
46-
"examples": "Texas, California"
47-
},
48-
{
49-
"category": "Geography.Location.Continent",
50-
"description": "Continent names",
51-
"examples": "Asia, Europe"
52-
},
53-
{
54-
"category": "Geography.Location.CountryRegion",
55-
"description": "Country names",
56-
"examples": "Japan, France"
57-
},
5818
{
5919
"category": "General.Event",
6020
"description": "Important events",
@@ -66,15 +26,20 @@
6626
"examples": "Microsoft, Amazon"
6727
},
6828
{
69-
"category": "Geography.Address",
70-
"description": "Full US addresses",
71-
"examples": "123 main street, TX 75080"
29+
"category": "Choice.Boolean",
30+
"description": "boolean choice",
31+
"examples": "yes, no, agreed"
7232
},
7333
{
7434
"category": "Quantity.Age",
7535
"description": "Age of a person or thing",
7636
"examples": "10-month-old, 19 years old, 58 year-old"
7737
},
38+
{
39+
"category": "Quantity.NumberRange",
40+
"description": "a numeric interval",
41+
"examples": "between 25 and 35, 25-35"
42+
},
7843
{
7944
"category": "Quantity.Number",
8045
"description": "A cardinal number in numeric or text form",

specification/cognitiveservices/data-plane/Language/stable/2022-05-01/examples/analyzetext-authoring/SuccessfulGetSupportedLanguages.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@
6969
"languageName": "Bulgarian",
7070
"languageCode": "bg"
7171
},
72-
{
73-
"languageName": "Bengali",
74-
"languageCode": "bn"
75-
},
7672
{
7773
"languageName": "Breton",
7874
"languageCode": "br"
@@ -114,7 +110,7 @@
114110
"languageCode": "eu"
115111
},
116112
{
117-
"languageName": "Persian (Farsi)",
113+
"languageName": "Persian",
118114
"languageCode": "fa"
119115
},
120116
{
@@ -262,7 +258,7 @@
262258
"languageCode": "nb"
263259
},
264260
{
265-
"languageName": "Oriya",
261+
"languageName": "Odia",
266262
"languageCode": "or"
267263
},
268264
{

0 commit comments

Comments
 (0)