Skip to content

Instantly share code, notes, and snippets.

@BallerIndustries
Created November 7, 2017 03:28
Show Gist options
  • Save BallerIndustries/f002cbb56679f7726decc3daaf794866 to your computer and use it in GitHub Desktop.
Save BallerIndustries/f002cbb56679f7726decc3daaf794866 to your computer and use it in GitHub Desktop.
with speaker ids
{
"results": [
{
"word_alternatives": [],
"alternatives": [
{
"timestamps": [
[
"surprise",
1.81,
2.68
],
[
"it's",
3.04,
3.23
],
[
"Lani",
3.23,
3.68
]
],
"confidence": 0.8,
"transcript": "surprise it's Lani "
}
],
"final": true
},
{
"word_alternatives": [
{
"start_time": 4.62,
"alternatives": [
{
"confidence": 1,
"word": "just"
}
],
"end_time": 5.23
}
],
"alternatives": [
{
"timestamps": [
[
"just",
4.62,
5.23
],
[
"picking",
5.27,
5.53
],
[
"up",
5.53,
5.67
],
[
"breakfast",
5.67,
6.47
]
],
"confidence": 0.718,
"transcript": "just picking up breakfast "
}
],
"final": true
},
{
"word_alternatives": [
{
"start_time": 7.46,
"alternatives": [
{
"confidence": 0.9853,
"word": "no"
}
],
"end_time": 7.99
},
{
"start_time": 8.08,
"alternatives": [
{
"confidence": 0.9547,
"word": "it's"
}
],
"end_time": 8.4
}
],
"alternatives": [
{
"timestamps": [
[
"no",
7.46,
7.99
],
[
"it's",
8.08,
8.4
],
[
"not",
8.4,
8.74
],
[
"coffee",
8.74,
9.31
],
[
"for",
9.65,
9.85
],
[
"once",
9.85,
10.45
]
],
"confidence": 0.835,
"transcript": "no it's not coffee for once "
}
],
"final": true
},
{
"word_alternatives": [
{
"start_time": 11.2,
"alternatives": [
{
"confidence": 1,
"word": "on"
}
],
"end_time": 11.36
},
{
"start_time": 11.36,
"alternatives": [
{
"confidence": 1,
"word": "the"
}
],
"end_time": 11.45
},
{
"start_time": 11.45,
"alternatives": [
{
"confidence": 0.9994,
"word": "way"
}
],
"end_time": 11.56
},
{
"start_time": 11.56,
"alternatives": [
{
"confidence": 0.9994,
"word": "to"
}
],
"end_time": 11.67
},
{
"start_time": 11.67,
"alternatives": [
{
"confidence": 0.9994,
"word": "the"
}
],
"end_time": 11.78
},
{
"start_time": 11.78,
"alternatives": [
{
"confidence": 0.9792,
"word": "gym"
}
],
"end_time": 12.15
}
],
"alternatives": [
{
"timestamps": [
[
"on",
11.2,
11.36
],
[
"the",
11.36,
11.45
],
[
"way",
11.45,
11.56
],
[
"to",
11.56,
11.67
],
[
"the",
11.67,
11.78
],
[
"gym",
11.78,
12.15
]
],
"confidence": 0.818,
"transcript": "on the way to the gym "
}
],
"final": true
},
{
"word_alternatives": [
{
"start_time": 13.81,
"alternatives": [
{
"confidence": 0.9808,
"word": "you"
}
],
"end_time": 14.01
},
{
"start_time": 14.01,
"alternatives": [
{
"confidence": 0.9841,
"word": "so"
}
],
"end_time": 14.58
},
{
"start_time": 15.28,
"alternatives": [
{
"confidence": 0.9898,
"word": "you"
}
],
"end_time": 15.4
},
{
"start_time": 15.4,
"alternatives": [
{
"confidence": 0.9898,
"word": "a"
}
],
"end_time": 15.45
},
{
"start_time": 15.45,
"alternatives": [
{
"confidence": 0.966,
"word": "call"
}
],
"end_time": 15.76
},
{
"start_time": 15.76,
"alternatives": [
{
"confidence": 0.966,
"word": "and"
}
],
"end_time": 15.92
},
{
"start_time": 15.92,
"alternatives": [
{
"confidence": 0.9639,
"word": "say"
}
],
"end_time": 16.27
}
],
"alternatives": [
{
"timestamps": [
[
"was",
12.66,
13.16
],
[
"thinking",
13.19,
13.5
],
[
"about",
13.5,
13.81
],
[
"you",
13.81,
14.01
],
[
"so",
14.01,
14.58
],
[
"I",
14.84,
14.87
],
[
"thought",
14.87,
15.04
],
[
"I'd",
15.04,
15.15
],
[
"give",
15.15,
15.28
],
[
"you",
15.28,
15.4
],
[
"a",
15.4,
15.45
],
[
"call",
15.45,
15.76
],
[
"and",
15.76,
15.92
],
[
"say",
15.92,
16.27
]
],
"confidence": 0.922,
"transcript": "was thinking about you so I thought I'd give you a call and say "
}
],
"final": true
},
{
"word_alternatives": [
{
"start_time": 17.03,
"alternatives": [
{
"confidence": 1,
"word": "sorry"
}
],
"end_time": 17.42
},
{
"start_time": 17.42,
"alternatives": [
{
"confidence": 1,
"word": "for"
}
],
"end_time": 17.56
},
{
"start_time": 17.56,
"alternatives": [
{
"confidence": 1,
"word": "my"
}
],
"end_time": 17.72
},
{
"start_time": 20.69,
"alternatives": [
{
"confidence": 0.9382,
"word": "baby"
}
],
"end_time": 21.05
},
{
"start_time": 21.48,
"alternatives": [
{
"confidence": 0.9823,
"word": "feel"
}
],
"end_time": 21.72
},
{
"start_time": 21.72,
"alternatives": [
{
"confidence": 0.9978,
"word": "well"
}
],
"end_time": 22.05
}
],
"alternatives": [
{
"timestamps": [
[
"sorry",
17.03,
17.42
],
[
"for",
17.42,
17.56
],
[
"my",
17.56,
17.72
],
[
"whining",
17.72,
18.05
],
[
"this",
18.05,
18.27
],
[
"morning",
18.27,
18.73
],
[
"if",
19.28,
19.48
],
[
"if",
19.48,
19.66
],
[
"if",
19.66,
19.79
],
[
"I'm",
20.1,
20.27
],
[
"a",
20.27,
20.33
],
[
"total",
20.33,
20.69
],
[
"baby",
20.69,
21.05
],
[
"when",
21.05,
21.2
],
[
"I",
21.2,
21.27
],
[
"don't",
21.27,
21.48
],
[
"feel",
21.48,
21.72
],
[
"well",
21.72,
22.05
]
],
"confidence": 0.874,
"transcript": "sorry for my whining this morning if if if I'm a total baby when I don't feel well "
}
],
"final": true
},
{
"word_alternatives": [
{
"start_time": 22.7,
"alternatives": [
{
"confidence": 0.9302,
"word": "so"
}
],
"end_time": 22.94
},
{
"start_time": 22.94,
"alternatives": [
{
"confidence": 0.9302,
"word": "much"
}
],
"end_time": 23.28
},
{
"start_time": 23.28,
"alternatives": [
{
"confidence": 0.9302,
"word": "that"
}
],
"end_time": 23.56
},
{
"start_time": 23.72,
"alternatives": [
{
"confidence": 0.9954,
"word": "I"
}
],
"end_time": 23.88
},
{
"start_time": 23.88,
"alternatives": [
{
"confidence": 0.9954,
"word": "totally"
}
],
"end_time": 24.47
},
{
"start_time": 24.47,
"alternatives": [
{
"confidence": 0.9954,
"word": "forgot"
}
],
"end_time": 24.81
},
{
"start_time": 24.81,
"alternatives": [
{
"confidence": 1,
"word": "to"
}
],
"end_time": 24.91
},
{
"start_time": 24.91,
"alternatives": [
{
"confidence": 1,
"word": "ask"
}
],
"end_time": 25.24
},
{
"start_time": 25.24,
"alternatives": [
{
"confidence": 0.9999,
"word": "how"
}
],
"end_time": 25.34
},
{
"start_time": 25.34,
"alternatives": [
{
"confidence": 1,
"word": "you"
}
],
"end_time": 25.48
}
],
"alternatives": [
{
"timestamps": [
[
"so",
22.7,
22.94
],
[
"much",
22.94,
23.28
],
[
"that",
23.28,
23.56
],
[
"I",
23.72,
23.88
],
[
"totally",
23.88,
24.47
],
[
"forgot",
24.47,
24.81
],
[
"to",
24.81,
24.91
],
[
"ask",
24.91,
25.24
],
[
"how",
25.24,
25.34
],
[
"you",
25.34,
25.48
],
[
"slept",
25.48,
26.06
]
],
"confidence": 0.87,
"transcript": "so much that I totally forgot to ask how you slept "
}
],
"final": true
},
{
"word_alternatives": [
{
"start_time": 27.66,
"alternatives": [
{
"confidence": 0.9847,
"word": "you"
}
],
"end_time": 27.82
},
{
"start_time": 27.82,
"alternatives": [
{
"confidence": 0.9847,
"word": "don't"
}
],
"end_time": 28.03
},
{
"start_time": 28.03,
"alternatives": [
{
"confidence": 0.9847,
"word": "feel"
}
],
"end_time": 28.37
},
{
"start_time": 28.37,
"alternatives": [
{
"confidence": 0.9913,
"word": "neglected"
}
],
"end_time": 29.19
}
],
"alternatives": [
{
"timestamps": [
[
"you",
27.66,
27.82
],
[
"don't",
27.82,
28.03
],
[
"feel",
28.03,
28.37
],
[
"neglected",
28.37,
29.19
]
],
"confidence": 0.998,
"transcript": "you don't feel neglected "
}
],
"final": true
},
{
"word_alternatives": [
{
"start_time": 31.43,
"alternatives": [
{
"confidence": 0.9033,
"word": "and"
}
],
"end_time": 31.88
},
{
"start_time": 33.58,
"alternatives": [
{
"confidence": 0.9068,
"word": "food"
}
],
"end_time": 33.82
},
{
"start_time": 33.82,
"alternatives": [
{
"confidence": 0.9068,
"word": "in"
}
],
"end_time": 33.88
},
{
"start_time": 33.88,
"alternatives": [
{
"confidence": 0.9731,
"word": "my"
}
],
"end_time": 34
},
{
"start_time": 34,
"alternatives": [
{
"confidence": 0.9379,
"word": "mouth"
}
],
"end_time": 34.31
},
{
"start_time": 34.31,
"alternatives": [
{
"confidence": 0.9185,
"word": "before"
}
],
"end_time": 34.62
},
{
"start_time": 35.05,
"alternatives": [
{
"confidence": 0.9801,
"word": "my"
}
],
"end_time": 35.17
}
],
"alternatives": [
{
"timestamps": [
[
"and",
31.43,
31.88
],
[
"anyway",
31.88,
32.23
],
[
"I",
32.56,
32.71
],
[
"gotta",
32.71,
32.89
],
[
"go",
32.89,
33.03
],
[
"shovel",
33.03,
33.35
],
[
"some",
33.35,
33.58
],
[
"food",
33.58,
33.82
],
[
"in",
33.82,
33.88
],
[
"my",
33.88,
34
],
[
"mouth",
34,
34.31
],
[
"before",
34.31,
34.62
],
[
"I'm",
34.62,
34.73
],
[
"late",
34.73,
34.94
],
[
"for",
34.94,
35.05
],
[
"my",
35.05,
35.17
],
[
"first",
35.17,
35.47
],
[
"sass",
35.47,
35.87
],
[
"text",
35.96,
36.23
],
[
"me",
36.23,
36.33
],
[
"back",
36.33,
36.59
]
],
"confidence": 0.736,
"transcript": "and anyway I gotta go shovel some food in my mouth before I'm late for my first sass text me back "
}
],
"final": true
}
],
"result_index": 0,
"speaker_labels": [
{
"from": 1.81,
"to": 2.68,
"speaker": 2,
"confidence": 0.472,
"final": false
},
{
"from": 3.04,
"to": 3.23,
"speaker": 0,
"confidence": 0.264,
"final": false
},
{
"from": 3.23,
"to": 3.68,
"speaker": 0,
"confidence": 0.264,
"final": false
},
{
"from": 4.62,
"to": 5.23,
"speaker": 0,
"confidence": 0.273,
"final": false
},
{
"from": 5.27,
"to": 5.53,
"speaker": 0,
"confidence": 0.365,
"final": false
},
{
"from": 5.53,
"to": 5.67,
"speaker": 0,
"confidence": 0.365,
"final": false
},
{
"from": 5.67,
"to": 6.47,
"speaker": 0,
"confidence": 0.365,
"final": false
},
{
"from": 7.46,
"to": 7.99,
"speaker": 0,
"confidence": 0.534,
"final": false
},
{
"from": 8.08,
"to": 8.4,
"speaker": 0,
"confidence": 0.421,
"final": false
},
{
"from": 8.4,
"to": 8.74,
"speaker": 0,
"confidence": 0.421,
"final": false
},
{
"from": 8.74,
"to": 9.31,
"speaker": 0,
"confidence": 0.421,
"final": false
},
{
"from": 9.65,
"to": 9.85,
"speaker": 0,
"confidence": 0.503,
"final": false
},
{
"from": 9.85,
"to": 10.45,
"speaker": 0,
"confidence": 0.503,
"final": false
},
{
"from": 11.2,
"to": 11.36,
"speaker": 0,
"confidence": 0.289,
"final": false
},
{
"from": 11.36,
"to": 11.45,
"speaker": 0,
"confidence": 0.289,
"final": false
},
{
"from": 11.45,
"to": 11.56,
"speaker": 0,
"confidence": 0.289,
"final": false
},
{
"from": 11.56,
"to": 11.67,
"speaker": 0,
"confidence": 0.289,
"final": false
},
{
"from": 11.67,
"to": 11.78,
"speaker": 0,
"confidence": 0.289,
"final": false
},
{
"from": 11.78,
"to": 12.15,
"speaker": 0,
"confidence": 0.289,
"final": false
},
{
"from": 12.66,
"to": 13.16,
"speaker": 0,
"confidence": 0.515,
"final": false
},
{
"from": 13.19,
"to": 13.5,
"speaker": 0,
"confidence": 0.531,
"final": false
},
{
"from": 13.5,
"to": 13.81,
"speaker": 0,
"confidence": 0.531,
"final": false
},
{
"from": 13.81,
"to": 14.01,
"speaker": 0,
"confidence": 0.531,
"final": false
},
{
"from": 14.01,
"to": 14.58,
"speaker": 0,
"confidence": 0.531,
"final": false
},
{
"from": 14.84,
"to": 14.87,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 14.87,
"to": 15.04,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 15.04,
"to": 15.15,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 15.15,
"to": 15.28,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 15.28,
"to": 15.4,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 15.4,
"to": 15.45,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 15.45,
"to": 15.76,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 15.76,
"to": 15.92,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 15.92,
"to": 16.27,
"speaker": 0,
"confidence": 0.584,
"final": false
},
{
"from": 17.03,
"to": 17.42,
"speaker": 0,
"confidence": 0.383,
"final": false
},
{
"from": 17.42,
"to": 17.56,
"speaker": 0,
"confidence": 0.383,
"final": false
},
{
"from": 17.56,
"to": 17.72,
"speaker": 0,
"confidence": 0.383,
"final": false
},
{
"from": 17.72,
"to": 18.05,
"speaker": 0,
"confidence": 0.383,
"final": false
},
{
"from": 18.05,
"to": 18.27,
"speaker": 0,
"confidence": 0.383,
"final": false
},
{
"from": 18.27,
"to": 18.73,
"speaker": 0,
"confidence": 0.383,
"final": false
},
{
"from": 19.28,
"to": 19.48,
"speaker": 2,
"confidence": 0.565,
"final": false
},
{
"from": 19.48,
"to": 19.66,
"speaker": 2,
"confidence": 0.565,
"final": false
},
{
"from": 19.66,
"to": 19.79,
"speaker": 2,
"confidence": 0.565,
"final": false
},
{
"from": 20.1,
"to": 20.27,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 20.27,
"to": 20.33,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 20.33,
"to": 20.69,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 20.69,
"to": 21.05,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 21.05,
"to": 21.2,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 21.2,
"to": 21.27,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 21.27,
"to": 21.48,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 21.48,
"to": 21.72,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 21.72,
"to": 22.05,
"speaker": 0,
"confidence": 0.284,
"final": false
},
{
"from": 22.7,
"to": 22.94,
"speaker": 0,
"confidence": 0.508,
"final": false
},
{
"from": 22.94,
"to": 23.28,
"speaker": 0,
"confidence": 0.508,
"final": false
},
{
"from": 23.28,
"to": 23.56,
"speaker": 0,
"confidence": 0.508,
"final": false
},
{
"from": 23.72,
"to": 23.88,
"speaker": 0,
"confidence": 0.576,
"final": false
},
{
"from": 23.88,
"to": 24.47,
"speaker": 0,
"confidence": 0.576,
"final": false
},
{
"from": 24.47,
"to": 24.81,
"speaker": 0,
"confidence": 0.576,
"final": false
},
{
"from": 24.81,
"to": 24.91,
"speaker": 0,
"confidence": 0.576,
"final": false
},
{
"from": 24.91,
"to": 25.24,
"speaker": 0,
"confidence": 0.576,
"final": false
},
{
"from": 25.24,
"to": 25.34,
"speaker": 0,
"confidence": 0.576,
"final": false
},
{
"from": 25.34,
"to": 25.48,
"speaker": 0,
"confidence": 0.576,
"final": false
},
{
"from": 25.48,
"to": 26.06,
"speaker": 0,
"confidence": 0.576,
"final": false
},
{
"from": 27.66,
"to": 27.82,
"speaker": 0,
"confidence": 0.555,
"final": false
},
{
"from": 27.82,
"to": 28.03,
"speaker": 0,
"confidence": 0.555,
"final": false
},
{
"from": 28.03,
"to": 28.37,
"speaker": 0,
"confidence": 0.555,
"final": false
},
{
"from": 28.37,
"to": 29.19,
"speaker": 0,
"confidence": 0.555,
"final": false
},
{
"from": 31.43,
"to": 31.88,
"speaker": 2,
"confidence": 0.601,
"final": false
},
{
"from": 31.88,
"to": 32.23,
"speaker": 2,
"confidence": 0.601,
"final": false
},
{
"from": 32.56,
"to": 32.71,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 32.71,
"to": 32.89,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 32.89,
"to": 33.03,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 33.03,
"to": 33.35,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 33.35,
"to": 33.58,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 33.58,
"to": 33.82,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 33.82,
"to": 33.88,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 33.88,
"to": 34,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 34,
"to": 34.31,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 34.31,
"to": 34.62,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 34.62,
"to": 34.73,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 34.73,
"to": 34.94,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 34.94,
"to": 35.05,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 35.05,
"to": 35.17,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 35.17,
"to": 35.47,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 35.47,
"to": 35.87,
"speaker": 0,
"confidence": 0.293,
"final": false
},
{
"from": 35.96,
"to": 36.23,
"speaker": 2,
"confidence": 0.638,
"final": false
},
{
"from": 36.23,
"to": 36.33,
"speaker": 2,
"confidence": 0.638,
"final": false
},
{
"from": 36.33,
"to": 36.59,
"speaker": 2,
"confidence": 0.638,
"final": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment