File size: 3,470 Bytes
fd111e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.invalid/parakeet-context-fusion/benchmark.schema.json",
  "title": "JP-HomophoneBench record",
  "type": "object",
  "required": ["id", "group_id", "split", "text", "category", "source", "difficulty"],
  "properties": {
    "id": {"type": "string", "minLength": 1},
    "group_id": {"type": "string", "minLength": 1},
    "split": {"enum": ["train", "validation", "test"]},
    "audio_filepath": {"type": ["string", "null"]},
    "audio_ref": {
      "type": ["object", "null"],
      "properties": {
        "kind": {"enum": ["hf_row", "local", "none"]},
        "repo_id": {"type": ["string", "null"]},
        "config": {"type": ["string", "null"]},
        "split": {"type": ["string", "null"]},
        "row_id": {"type": ["string", "number", "null"]}
      },
      "additionalProperties": true
    },
    "text": {"type": "string"},
    "target": {
      "type": ["object", "null"],
      "properties": {
        "surface": {"type": "string"},
        "reading": {"type": ["string", "null"]},
        "phones": {"type": "array", "items": {"type": "string"}},
        "pitch_accent": {"type": ["integer", "number", "string", "null"]},
        "start_sec": {"type": ["number", "null"], "minimum": 0},
        "end_sec": {"type": ["number", "null"], "minimum": 0}
      },
      "required": ["surface", "phones"],
      "additionalProperties": true
    },
    "candidates": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["surface", "phones", "relation"],
        "properties": {
          "surface": {"type": "string"},
          "reading": {"type": ["string", "null"]},
          "phones": {"type": "array", "items": {"type": "string"}},
          "pitch_accent": {"type": ["integer", "number", "string", "null"]},
          "phone_distance": {"type": ["number", "null"], "minimum": 0},
          "relation": {"enum": ["target", "random", "orthographic", "near_homophone", "exact_homophone", "voicing", "long_vowel", "geminate", "moraic_nasal", "pitch_accent", "semantic_only", "prosodic"]}
        },
        "additionalProperties": true
      }
    },
    "category": {"enum": ["general", "voicing", "long_vowel", "geminate", "moraic_nasal", "near_homophone", "pitch_accent", "exact_homophone", "semantic_only", "acoustic_stress"]},
    "source": {
      "type": "object",
      "required": ["dataset", "license"],
      "properties": {
        "dataset": {"type": "string"},
        "config": {"type": ["string", "null"]},
        "split": {"type": ["string", "null"]},
        "source_id": {"type": ["string", "number", "null"]},
        "revision": {"type": ["string", "null"]},
        "license": {"type": "string", "minLength": 1},
        "synthetic": {"type": "boolean", "default": false},
        "audio_redistributed": {"type": "boolean", "default": false}
      },
      "additionalProperties": true
    },
    "difficulty": {
      "type": "object",
      "required": ["acoustic", "lexical", "context"],
      "properties": {
        "acoustic": {"type": "number", "minimum": 0, "maximum": 1},
        "lexical": {"type": "number", "minimum": 0, "maximum": 1},
        "context": {"type": "number", "minimum": 0, "maximum": 1},
        "phone_distance": {"type": ["number", "null"], "minimum": 0}
      },
      "additionalProperties": true
    },
    "metadata": {"type": "object"}
  },
  "additionalProperties": true
}