{
  "input": {
    "expected": "O gato correu pela rua",
    "spoken": "O gatinho corre pela rua.",
    "audio": "test5.wav"
  },
  "results": {
    "phonetic": {
      "ipa_expected": "o ɡɐto koʁew pɛlɐ ʁuɐ",
      "ipa_spoken": "o ɡɐtino koʁɛ pɛlɐ ʁuɐ",
      "words": [
        {
          "index": 1,
          "expected": "o",
          "spoken": "o",
          "ipa_expected": "o",
          "ipa_spoken": "o",
          "status": "correct",
          "similarity": 100.0,
          "distance": 0,
          "diffs": []
        },
        {
          "index": 2,
          "expected": "gato",
          "spoken": "gatinho",
          "ipa_expected": "ɡɐto",
          "ipa_spoken": "ɡɐtino",
          "status": "mismatch",
          "similarity": 80.0,
          "distance": 2,
          "diffs": [
            {
              "type": "insertion",
              "expected": "",
              "spoken": "i"
            },
            {
              "type": "insertion",
              "expected": "",
              "spoken": "n"
            }
          ]
        },
        {
          "index": 3,
          "expected": "correu",
          "spoken": "corre",
          "ipa_expected": "koʁew",
          "ipa_spoken": "koʁɛ",
          "status": "mismatch",
          "similarity": 66.66666666666667,
          "distance": 2,
          "diffs": [
            {
              "type": "substitution",
              "expected": "e",
              "spoken": "ɛ"
            },
            {
              "type": "deletion",
              "expected": "w",
              "spoken": ""
            }
          ]
        },
        {
          "index": 4,
          "expected": "pela",
          "spoken": "pela",
          "ipa_expected": "pɛlɐ",
          "ipa_spoken": "pɛlɐ",
          "status": "correct",
          "similarity": 100.0,
          "distance": 0,
          "diffs": []
        },
        {
          "index": 5,
          "expected": "rua",
          "spoken": "rua",
          "ipa_expected": "ʁuɐ",
          "ipa_spoken": "ʁuɐ",
          "status": "correct",
          "similarity": 100.0,
          "distance": 0,
          "diffs": []
        }
      ],
      "summary": {
        "total_words_expected": 5,
        "total_words_spoken": 5,
        "phonetic_matches": 3,
        "phonetic_errors": 2
      }
    },
    "syllables": {
      "words": [
        {
          "index": 1,
          "expected": {
            "word": "o",
            "syllables": [
              "o"
            ],
            "hyphenated": "o",
            "count": 1,
            "structures": [
              "V"
            ]
          },
          "spoken": {
            "word": "o",
            "syllables": [
              "o"
            ],
            "hyphenated": "o",
            "count": 1,
            "structures": [
              "V"
            ]
          },
          "diff_count": 0,
          "status": "equal"
        },
        {
          "index": 2,
          "expected": {
            "word": "gato",
            "syllables": [
              "ga",
              "to"
            ],
            "hyphenated": "ga-to",
            "count": 2,
            "structures": [
              "CV",
              "CV"
            ]
          },
          "spoken": {
            "word": "gatinho",
            "syllables": [
              "ga",
              "ti",
              "nho"
            ],
            "hyphenated": "ga-ti-nho",
            "count": 3,
            "structures": [
              "CV",
              "CV",
              "CCV"
            ]
          },
          "diff_count": 1,
          "status": "expansion"
        },
        {
          "index": 3,
          "expected": {
            "word": "correu",
            "syllables": [
              "cor",
              "reu"
            ],
            "hyphenated": "cor-reu",
            "count": 2,
            "structures": [
              "CVC",
              "CVV"
            ]
          },
          "spoken": {
            "word": "corre",
            "syllables": [
              "cor",
              "re"
            ],
            "hyphenated": "cor-re",
            "count": 2,
            "structures": [
              "CVC",
              "CV"
            ]
          },
          "diff_count": 0,
          "status": "equal"
        },
        {
          "index": 4,
          "expected": {
            "word": "pela",
            "syllables": [
              "pe",
              "la"
            ],
            "hyphenated": "pe-la",
            "count": 2,
            "structures": [
              "CV",
              "CV"
            ]
          },
          "spoken": {
            "word": "pela",
            "syllables": [
              "pe",
              "la"
            ],
            "hyphenated": "pe-la",
            "count": 2,
            "structures": [
              "CV",
              "CV"
            ]
          },
          "diff_count": 0,
          "status": "equal"
        },
        {
          "index": 5,
          "expected": {
            "word": "rua",
            "syllables": [
              "rua"
            ],
            "hyphenated": "rua",
            "count": 1,
            "structures": [
              "CVV"
            ]
          },
          "spoken": {
            "word": "rua",
            "syllables": [
              "rua"
            ],
            "hyphenated": "rua",
            "count": 1,
            "structures": [
              "CVV"
            ]
          },
          "diff_count": 0,
          "status": "equal"
        }
      ],
      "summary": {
        "reductions": 0,
        "expansions": 1,
        "equal": 4,
        "only_expected": 0,
        "only_spoken": 0,
        "none": 0
      },
      "total_words_expected": 5,
      "total_words_spoken": 5
    },
    "similarity": {
      "ratio": 91.3,
      "partial": 86.36,
      "token": 91.3,
      "levenshtein": 4,
      "total_words_expected": 5,
      "total_words_spoken": 5,
      "aligned": [
        {
          "index": 1,
          "expected": "o",
          "spoken": "o",
          "status": "correct"
        },
        {
          "index": 2,
          "expected": "gato",
          "spoken": "gatinho",
          "status": "substitution"
        },
        {
          "index": 3,
          "expected": "correu",
          "spoken": "corre",
          "status": "substitution"
        },
        {
          "index": 4,
          "expected": "pela",
          "spoken": "pela",
          "status": "correct"
        },
        {
          "index": 5,
          "expected": "rua",
          "spoken": "rua",
          "status": "correct"
        }
      ],
      "counts": {
        "correct": 3,
        "substitutions": 2,
        "omissions": 0,
        "insertions": 0
      },
      "wer": 0.4
    },
    "audio": {
      "file": "test5.wav",
      "sr": 48000,
      "duration": 2.6,
      "energy": 0.100864,
      "pauses": {
        "speech_time": 2.41,
        "silence_time": 0.19,
        "count": 3
      },
      "prosody": {
        "pitch_mean": 197.2,
        "pitch_std": 43.6
      },
      "fluency": {
        "wpm": 115.5,
        "sps": 3.464
      },
      "error": null
    }
  }
}