File size: 6,094 Bytes
e4ad782
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://huggingface.co/datasets/Hebrish/Example-Sentence-Bank/raw/main/sentence.schema.json",
 "title": "Hebrish sentence dataset row (standard of 2026-11-06)",
 "description": "One row of a Hebrish sentence dataset (text to read, no audio). Source of truth: ASR-Training docs/dataset-format-standard.md. Checked by scripts/check_dataset_format.py.",
 "type": "object",
 "required": [
  "id",
  "text",
  "target_terms",
  "categories",
  "split",
  "derivation",
  "sentence_author",
  "term_origins",
  "pronunciation",
  "takes",
  "prompt_ids",
  "served"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "p_ + first 10 hex of sha1 of the text, lowercased with whitespace collapsed (build_bank.py pid()). Same id in the capture app and an audio set's prompt_id.",
   "pattern": "^p_[0-9a-f]{10}$"
  },
  "text": {
   "type": "string",
   "description": "The sentence exactly as read: punctuated, cased, numbers in digits.",
   "minLength": 1
  },
  "target_terms": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "The words the sentence exists to teach. May be empty only for general sentences."
  },
  "categories": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Category tags such as tech, linux, homophone, numeric, code_switch."
  },
  "split": {
   "enum": [
    "train",
    "test"
   ],
   "description": "Term-disjoint: no target term in test appears in train."
  },
  "derivation": {
   "enum": [
    "mined-verbatim",
    "mined-edited",
    "generated",
    "borrowed",
    "written"
   ],
   "description": "How the sentence came to exist. written = hand-written by a person for the project."
  },
  "sentence_author": {
   "type": "string",
   "description": "The upstream dataset, the model that wrote it, or the person."
  },
  "term_origins": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "One entry per target term, same order: daniel, claude, or the upstream list the term came from."
  },
  "pronunciation": {
   "type": "array",
   "description": "Reading guide: one object per term whose reading is unclear. [] by default. Not a record of how a take was said (that is hebrew_pronunciation / pronunciation_variants).",
   "items": {
    "type": "object",
    "required": [
     "term",
     "say",
     "status"
    ],
    "additionalProperties": false,
    "properties": {
     "term": {
      "type": "string",
      "minLength": 1,
      "description": "The term as it is spelled in text."
     },
     "say": {
      "type": "string",
      "pattern": "^[A-Za-z' ]+(-[A-Za-z' ]+)*$",
      "description": "Stress respelling as in the Recorder's pron-variants.json: syllables joined by hyphens, stressed syllable in CAPITALS, e.g. par-KAY."
     },
     "note": {
      "type": [
       "string",
       "null"
      ],
      "description": "Optional: why, or which reading is meant."
     },
     "status": {
      "enum": [
       "unreviewed",
       "ai-reviewed",
       "human-reviewed"
      ]
     }
    }
   }
  },
  "homophone_set": {
   "type": [
    "array",
    "null"
   ],
   "items": {
    "type": "string"
   },
   "description": "Homophone rows only: the set the context disambiguates."
  },
  "source_dataset": {
   "type": [
    "string",
    "null"
   ],
   "description": "Upstream dataset the row came from."
  },
  "source_licence": {
   "type": [
    "string",
    "null"
   ],
   "description": "Licence of the upstream row. Rows without one are CC-BY-4.0."
  },
  "source_url": {
   "type": [
    "string",
    "null"
   ],
   "description": "Web page the sentence was written from or mined from."
  },
  "source_date": {
   "type": [
    "string",
    "null"
   ],
   "description": "Date of the upstream item."
  },
  "source_authors": {
   "type": [
    "array",
    "null"
   ],
   "items": {
    "type": "string"
   },
   "description": "Upstream authors. Reddit usernames are never copied."
  },
  "original_text": {
   "type": [
    "string",
    "null"
   ],
   "description": "Upstream text before editing (mined-edited)."
  },
  "review_note": {
   "type": [
    "string",
    "null"
   ],
   "description": "Reviewer's note when a sentence was fixed."
  },
  "takes": {
   "type": "integer",
   "description": "Recordings of this sentence in the dataset's takes tab; 0 = unrecorded"
  },
  "prompt_ids": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Every app prompt id that served this sentence (bank p_, task <task>_<sha>, old whispered_<bank id>)"
  },
  "served": {
   "type": "boolean",
   "description": "false = the app no longer offers it; kept because a take used it"
  },
  "spoken_text": {
   "type": [
    "string",
    "null"
   ],
   "description": "The card as read, when it differs from the written text"
  },
  "prompt_kind": {
   "type": [
    "string",
    "null"
   ],
   "description": "The task's own kind for the prompt (e.g. neighbourhood, llm)."
  },
  "prompt_note": {
   "type": [
    "string",
    "null"
   ],
   "description": "Task note on the prompt."
  },
  "text_full": {
   "type": [
    "string",
    "null"
   ],
   "description": "The full-fidelity target with any character, when it differs from `text`; null otherwise."
  },
  "term_language": {
   "type": [
    "string",
    "null"
   ],
   "description": "Origin language of the prompt's main term."
  },
  "aside_text": {
   "type": [
    "string",
    "null"
   ],
   "description": "The aside inserted in the sentence, for aside tasks."
  },
  "aside_position": {
   "type": [
    "string",
    "null"
   ],
   "description": "Where the aside sits in the sentence."
  },
  "paragraph_text": {
   "type": [
    "string",
    "null"
   ],
   "description": "Paragraph tasks: the passage with its paragraph breaks; `text` is flat."
  },
  "fallback_ok": {
   "type": [
    "boolean",
    "null"
   ],
   "description": "With `text_full`: whether `text` is still a correct transcript without it."
  }
 }
}