@@ -42,71 +42,69 @@ var QUERY_PARAMS_ALLOWED = ['model', 'watson-token']; //, 'X-Watson-Learning-Opt
4242 *
4343 * An interim result looks like this (assuming all features are enabled):
4444 ```js
45- { results:
46- [ { alternatives:
47- [ { timestamps:
48- [ [ 'it', 20.9, 21.04 ],
49- [ 'is', 21.04, 21.17 ],
50- [ 'a', 21.17, 21.25 ],
51- [ 'site', 21.25, 21.56 ],
52- [ 'that', 21.56, 21.7 ],
53- [ 'hardly', 21.7, 22.06 ],
54- [ 'anyone', 22.06, 22.49 ],
55- [ 'can', 22.49, 22.67 ],
56- [ 'behold', 22.67, 23.13 ],
57- [ 'without', 23.13, 23.46 ],
58- [ 'some', 23.46, 23.67 ],
59- [ 'sort', 23.67, 23.91 ],
60- [ 'of', 23.91, 24 ],
61- [ 'unwanted', 24, 24.58 ],
62- [ 'emotion', 24.58, 25.1 ] ],
63- transcript: 'it is a site that hardly anyone can behold without some sort of unwanted emotion ' } ],
64- final: false } ],
65- result_index: 3 }
45+ { alternatives:
46+ [ { timestamps:
47+ [ [ 'it', 20.9, 21.04 ],
48+ [ 'is', 21.04, 21.17 ],
49+ [ 'a', 21.17, 21.25 ],
50+ [ 'site', 21.25, 21.56 ],
51+ [ 'that', 21.56, 21.7 ],
52+ [ 'hardly', 21.7, 22.06 ],
53+ [ 'anyone', 22.06, 22.49 ],
54+ [ 'can', 22.49, 22.67 ],
55+ [ 'behold', 22.67, 23.13 ],
56+ [ 'without', 23.13, 23.46 ],
57+ [ 'some', 23.46, 23.67 ],
58+ [ 'sort', 23.67, 23.91 ],
59+ [ 'of', 23.91, 24 ],
60+ [ 'unwanted', 24, 24.58 ],
61+ [ 'emotion', 24.58, 25.1 ] ],
62+ transcript: 'it is a site that hardly anyone can behold without some sort of unwanted emotion ' } ],
63+ final: false,
64+ result_index: 3 }
6665 ```
6766
6867 While a final result looks like this (again, assuming all features are enabled):
6968 ```js
70- { results:
71- [ { alternatives:
72- [ { word_confidence:
73- [ [ 'it', 1 ],
74- [ 'is', 0.956286624429304 ],
75- [ 'a', 0.8105753725270362 ],
76- [ 'site', 1 ],
77- [ 'that', 1 ],
78- [ 'hardly', 1 ],
79- [ 'anyone', 1 ],
80- [ 'can', 1 ],
81- [ 'behold', 0.5273598005406737 ],
82- [ 'without', 1 ],
83- [ 'some', 1 ],
84- [ 'sort', 1 ],
85- [ 'of', 1 ],
86- [ 'unwanted', 1 ],
87- [ 'emotion', 0.49401837076320887 ] ],
88- confidence: 0.881,
89- transcript: 'it is a site that hardly anyone can behold without some sort of unwanted emotion ',
90- timestamps:
91- [ [ 'it', 20.9, 21.04 ],
92- [ 'is', 21.04, 21.17 ],
93- [ 'a', 21.17, 21.25 ],
94- [ 'site', 21.25, 21.56 ],
95- [ 'that', 21.56, 21.7 ],
96- [ 'hardly', 21.7, 22.06 ],
97- [ 'anyone', 22.06, 22.49 ],
98- [ 'can', 22.49, 22.67 ],
99- [ 'behold', 22.67, 23.13 ],
100- [ 'without', 23.13, 23.46 ],
101- [ 'some', 23.46, 23.67 ],
102- [ 'sort', 23.67, 23.91 ],
103- [ 'of', 23.91, 24 ],
104- [ 'unwanted', 24, 24.58 ],
105- [ 'emotion', 24.58, 25.1 ] ] },
106- { transcript: 'it is a sight that hardly anyone can behold without some sort of unwanted emotion ' },
107- { transcript: 'it is a site that hardly anyone can behold without some sort of unwanted emotions ' } ],
108- final: true } ],
109- result_index: 3 }
69+ { alternatives:
70+ [ { word_confidence:
71+ [ [ 'it', 1 ],
72+ [ 'is', 0.956286624429304 ],
73+ [ 'a', 0.8105753725270362 ],
74+ [ 'site', 1 ],
75+ [ 'that', 1 ],
76+ [ 'hardly', 1 ],
77+ [ 'anyone', 1 ],
78+ [ 'can', 1 ],
79+ [ 'behold', 0.5273598005406737 ],
80+ [ 'without', 1 ],
81+ [ 'some', 1 ],
82+ [ 'sort', 1 ],
83+ [ 'of', 1 ],
84+ [ 'unwanted', 1 ],
85+ [ 'emotion', 0.49401837076320887 ] ],
86+ confidence: 0.881,
87+ transcript: 'it is a site that hardly anyone can behold without some sort of unwanted emotion ',
88+ timestamps:
89+ [ [ 'it', 20.9, 21.04 ],
90+ [ 'is', 21.04, 21.17 ],
91+ [ 'a', 21.17, 21.25 ],
92+ [ 'site', 21.25, 21.56 ],
93+ [ 'that', 21.56, 21.7 ],
94+ [ 'hardly', 21.7, 22.06 ],
95+ [ 'anyone', 22.06, 22.49 ],
96+ [ 'can', 22.49, 22.67 ],
97+ [ 'behold', 22.67, 23.13 ],
98+ [ 'without', 23.13, 23.46 ],
99+ [ 'some', 23.46, 23.67 ],
100+ [ 'sort', 23.67, 23.91 ],
101+ [ 'of', 23.91, 24 ],
102+ [ 'unwanted', 24, 24.58 ],
103+ [ 'emotion', 24.58, 25.1 ] ] },
104+ { transcript: 'it is a sight that hardly anyone can behold without some sort of unwanted emotion ' },
105+ { transcript: 'it is a site that hardly anyone can behold without some sort of unwanted emotions ' } ],
106+ final: true,
107+ result_index: 3 }
110108 ```
111109
112110
0 commit comments