BereketARetta commited on
Commit
ca031c5
·
verified ·
1 Parent(s): 58e7b36

Update metadata.json

Browse files
Files changed (1) hide show
  1. metadata.json +35 -35
metadata.json CHANGED
@@ -34,14 +34,14 @@
34
  {
35
  "@id": "train_images",
36
  "@type": "cr:FileSet",
37
- "contentUrl": "train",
38
  "includes": "*.jpg",
39
  "encodingFormat": "image/jpeg"
40
  },
41
  {
42
  "@id": "test_images",
43
  "@type": "cr:FileSet",
44
- "contentUrl": "test",
45
  "includes": "*.jpg",
46
  "encodingFormat": "image/jpeg"
47
  }
@@ -50,7 +50,7 @@
50
  {
51
  "@id": "train_data",
52
  "@type": "cr:RecordSet",
53
- "key": "image_id",
54
  "split": "train",
55
  "field": [
56
  {
@@ -63,39 +63,39 @@
63
  }
64
  },
65
  {
66
- "@id": "train_data/image_id",
67
  "@type": "cr:Field",
68
  "dataType": "sc:Text",
69
  "source": {
70
- "fileSet": { "@id": "train_images" },
71
- "extract": { "fileProperty": "image_filename" },
72
- "transform": { "regex": "([^/]*)\\.jpg" }
73
  }
74
  },
75
  {
76
- "@id": "train_data/text_label",
77
  "@type": "cr:Field",
78
  "dataType": "sc:Text",
79
  "source": {
80
  "fileObject": { "@id": "train_csv" },
81
- "column": "text"
82
- },
83
- "references": {
84
- "fileObject": { "@id": "train_csv" },
85
- "column": "image_filename"
86
  }
87
  },
88
  {
89
- "@id": "train_data/source_type",
90
  "@type": "cr:Field",
91
  "dataType": "sc:Text",
92
  "source": {
93
  "fileObject": { "@id": "train_csv" },
94
- "column": "source"
95
- },
96
- "references": {
 
 
 
 
 
97
  "fileObject": { "@id": "train_csv" },
98
- "column": "image_filename"
99
  }
100
  }
101
  ]
@@ -103,7 +103,7 @@
103
  {
104
  "@id": "test_data",
105
  "@type": "cr:RecordSet",
106
- "key": "image_id",
107
  "split": "test",
108
  "field": [
109
  {
@@ -116,39 +116,39 @@
116
  }
117
  },
118
  {
119
- "@id": "test_data/image_id",
120
  "@type": "cr:Field",
121
  "dataType": "sc:Text",
122
  "source": {
123
- "fileSet": { "@id": "test_images" },
124
- "extract": { "fileProperty": "filename" },
125
- "transform": { "regex": "([^/]*)\\.jpg" }
126
  }
127
  },
128
  {
129
- "@id": "test_data/text_label",
130
  "@type": "cr:Field",
131
  "dataType": "sc:Text",
132
  "source": {
133
  "fileObject": { "@id": "test_csv" },
134
- "column": "text"
135
- },
136
- "references": {
137
- "fileObject": { "@id": "test_csv" },
138
- "column": "image_filename"
139
  }
140
  },
141
  {
142
- "@id": "test_data/source_type",
143
  "@type": "cr:Field",
144
  "dataType": "sc:Text",
145
  "source": {
146
  "fileObject": { "@id": "test_csv" },
147
- "column": "source"
148
- },
149
- "references": {
 
 
 
 
 
150
  "fileObject": { "@id": "test_csv" },
151
- "column": "image_filename"
152
  }
153
  }
154
  ]
@@ -159,4 +159,4 @@
159
  "rai:dataAnnotationPlatform": "Custom annotation platform for validating transcriptions",
160
  "rai:annotatorDemographics": "Contributors for handwritten samples included diverse age groups (18-65), balanced gender representation, and participants from different regions of Ethiopia.",
161
  "rai:personalSensitiveInformation": "The dataset does not contain any personally identifiable information of the contributors."
162
- }
 
34
  {
35
  "@id": "train_images",
36
  "@type": "cr:FileSet",
37
+ "contentUrl": "train/images/",
38
  "includes": "*.jpg",
39
  "encodingFormat": "image/jpeg"
40
  },
41
  {
42
  "@id": "test_images",
43
  "@type": "cr:FileSet",
44
+ "contentUrl": "test/images/",
45
  "includes": "*.jpg",
46
  "encodingFormat": "image/jpeg"
47
  }
 
50
  {
51
  "@id": "train_data",
52
  "@type": "cr:RecordSet",
53
+ "key": "image_filename",
54
  "split": "train",
55
  "field": [
56
  {
 
63
  }
64
  },
65
  {
66
+ "@id": "train_data/image_filename",
67
  "@type": "cr:Field",
68
  "dataType": "sc:Text",
69
  "source": {
70
+ "fileObject": { "@id": "train_csv" },
71
+ "column": "image_filename"
 
72
  }
73
  },
74
  {
75
+ "@id": "train_data/line_text",
76
  "@type": "cr:Field",
77
  "dataType": "sc:Text",
78
  "source": {
79
  "fileObject": { "@id": "train_csv" },
80
+ "column": "line_text"
 
 
 
 
81
  }
82
  },
83
  {
84
+ "@id": "train_data/type",
85
  "@type": "cr:Field",
86
  "dataType": "sc:Text",
87
  "source": {
88
  "fileObject": { "@id": "train_csv" },
89
+ "column": "type"
90
+ }
91
+ },
92
+ {
93
+ "@id": "train_data/writer",
94
+ "@type": "cr:Field",
95
+ "dataType": "sc:Text",
96
+ "source": {
97
  "fileObject": { "@id": "train_csv" },
98
+ "column": "writer"
99
  }
100
  }
101
  ]
 
103
  {
104
  "@id": "test_data",
105
  "@type": "cr:RecordSet",
106
+ "key": "image_filename",
107
  "split": "test",
108
  "field": [
109
  {
 
116
  }
117
  },
118
  {
119
+ "@id": "test_data/image_filename",
120
  "@type": "cr:Field",
121
  "dataType": "sc:Text",
122
  "source": {
123
+ "fileObject": { "@id": "test_csv" },
124
+ "column": "image_filename"
 
125
  }
126
  },
127
  {
128
+ "@id": "test_data/line_text",
129
  "@type": "cr:Field",
130
  "dataType": "sc:Text",
131
  "source": {
132
  "fileObject": { "@id": "test_csv" },
133
+ "column": "line_text"
 
 
 
 
134
  }
135
  },
136
  {
137
+ "@id": "test_data/type",
138
  "@type": "cr:Field",
139
  "dataType": "sc:Text",
140
  "source": {
141
  "fileObject": { "@id": "test_csv" },
142
+ "column": "type"
143
+ }
144
+ },
145
+ {
146
+ "@id": "test_data/writer",
147
+ "@type": "cr:Field",
148
+ "dataType": "sc:Text",
149
+ "source": {
150
  "fileObject": { "@id": "test_csv" },
151
+ "column": "writer"
152
  }
153
  }
154
  ]
 
159
  "rai:dataAnnotationPlatform": "Custom annotation platform for validating transcriptions",
160
  "rai:annotatorDemographics": "Contributors for handwritten samples included diverse age groups (18-65), balanced gender representation, and participants from different regions of Ethiopia.",
161
  "rai:personalSensitiveInformation": "The dataset does not contain any personally identifiable information of the contributors."
162
+ }