You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/custom-classification/concepts/data-formats.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Your tags file should be in the `json` format below.
34
34
],
35
35
"documents": [
36
36
{
37
-
"location": "doc1.txt",
37
+
"location": "file1.txt",
38
38
"language": "en-us",
39
39
"classifiers": [
40
40
{
@@ -44,6 +44,15 @@ Your tags file should be in the `json` format below.
44
44
"classifierName": "Class1"
45
45
}
46
46
]
47
+
},
48
+
{
49
+
"location": "file2.txt",
50
+
"language": "en-us",
51
+
"classifiers": [
52
+
{
53
+
"classifierName": "Class2"
54
+
}
55
+
]
47
56
}
48
57
]
49
58
}
@@ -55,7 +64,7 @@ Your tags file should be in the `json` format below.
55
64
*`documents`: An array of tagged documents. For example:
56
65
*`location`: The path of the JSON file containing tags. The tags file has to be in root of the storage container.
57
66
*`language`: Language of the document. Use one of the [supported culture locales](../language-support.md).
58
-
*`classifiers`: Array of classifier objects assigned to the document. If you're working on a single classification project, there should be one classifier only.
67
+
*`classifiers`: Array of classifier objects assigned to the document. If you're working on a single classification project, there should be one classifier per file only.
0 commit comments