Skip to content

Commit c953ca7

Browse files
authored
Update data-formats.md
1 parent 56feab3 commit c953ca7

File tree

1 file changed

+11
-2
lines changed
  • articles/cognitive-services/language-service/custom-classification/concepts

1 file changed

+11
-2
lines changed

articles/cognitive-services/language-service/custom-classification/concepts/data-formats.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Your tags file should be in the `json` format below.
3434
],
3535
"documents": [
3636
{
37-
"location": "doc1.txt",
37+
"location": "file1.txt",
3838
"language": "en-us",
3939
"classifiers": [
4040
{
@@ -44,6 +44,15 @@ Your tags file should be in the `json` format below.
4444
"classifierName": "Class1"
4545
}
4646
]
47+
},
48+
{
49+
"location": "file2.txt",
50+
"language": "en-us",
51+
"classifiers": [
52+
{
53+
"classifierName": "Class2"
54+
}
55+
]
4756
}
4857
]
4958
}
@@ -55,7 +64,7 @@ Your tags file should be in the `json` format below.
5564
* `documents`: An array of tagged documents. For example:
5665
* `location`: The path of the JSON file containing tags. The tags file has to be in root of the storage container.
5766
* `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.
5968

6069
## Next steps
6170

0 commit comments

Comments
 (0)