Skip to content

Commit fbbb88b

Browse files
committed
added examples for alternatives and word confidence
1 parent d6dd976 commit fbbb88b

File tree

120 files changed

+19195
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+19195
-11
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ Accepts input from `RecognizeStream()` and friends, writes text to supplied `out
174174
## todo
175175

176176
* Solidify API
177-
* add an example showing alternatives
178-
* add an example showing word confidence scores
179177
* add an ajax / recognizeBlob example and then use it for stt sample app
180178
* enable eslint - https://github.ibm.com/fed/javascript-style-guides
181179
* break components into standalone npm modules where it makes sense
@@ -190,4 +188,5 @@ Accepts input from `RecognizeStream()` and friends, writes text to supplied `out
190188
* consider renaming recognizeBlob to recognizeFile to make the usage more obvious
191189
* support a "hard" stop that prevents any further data events, even for already uploaded audio, ensure timing stream also implements this.
192190
* handle pause/resume in media element streams - perhaps just stop and then create a new stream on resume, using the same token
193-
191+
* consider moving STT core to standalone module
192+
* look for bug where single-word final results may omit word confidence (possibly due to FormatStream?)

dist/watson-speech.js

Lines changed: 85 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/public/audio-element.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Audio Element Example - Watson Speech to Text</title>
5+
<title>Audio Element | IBM Watson Speech JavaScript SDK Example</title>
66
</head>
77
<body>
88

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "jquery",
3+
"main": "dist/jquery.js",
4+
"license": "MIT",
5+
"ignore": [
6+
"package.json"
7+
],
8+
"keywords": [
9+
"jquery",
10+
"javascript",
11+
"browser",
12+
"library"
13+
],
14+
"homepage": "https://github.com/jquery/jquery-dist",
15+
"version": "2.2.0",
16+
"_release": "2.2.0",
17+
"_resolution": {
18+
"type": "version",
19+
"tag": "2.2.0",
20+
"commit": "6fc01e29bdad0964f62ef56d01297039cdcadbe5"
21+
},
22+
"_source": "git://github.com/jquery/jquery-dist.git",
23+
"_target": "^2.2.0",
24+
"_originalSource": "jquery",
25+
"_direct": true
26+
}
Lines changed: 275 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
Authors ordered by first contribution.
2+
3+
John Resig <[email protected]>
4+
Gilles van den Hoven <[email protected]>
5+
Michael Geary <[email protected]>
6+
Stefan Petre <[email protected]>
7+
Yehuda Katz <[email protected]>
8+
Corey Jewett <[email protected]>
9+
Klaus Hartl <[email protected]>
10+
Franck Marcia <[email protected]>
11+
Jörn Zaefferer <[email protected]>
12+
Paul Bakaus <[email protected]>
13+
Brandon Aaron <[email protected]>
14+
Mike Alsup <[email protected]>
15+
Dave Methvin <[email protected]>
16+
Ed Engelhardt <[email protected]>
17+
Sean Catchpole <[email protected]>
18+
Paul Mclanahan <[email protected]>
19+
David Serduke <[email protected]>
20+
Richard D. Worth <[email protected]>
21+
Scott González <[email protected]>
22+
Ariel Flesler <[email protected]>
23+
Jon Evans <[email protected]>
24+
TJ Holowaychuk <[email protected]>
25+
Michael Bensoussan <[email protected]>
26+
Robert Katić <[email protected]>
27+
Louis-Rémi Babé <[email protected]>
28+
Earle Castledine <[email protected]>
29+
Damian Janowski <[email protected]>
30+
Rich Dougherty <[email protected]>
31+
Kim Dalsgaard <[email protected]>
32+
Andrea Giammarchi <[email protected]>
33+
Mark Gibson <[email protected]>
34+
Karl Swedberg <[email protected]>
35+
Justin Meyer <[email protected]>
36+
Ben Alman <[email protected]>
37+
James Padolsey <[email protected]>
38+
David Petersen <[email protected]>
39+
Batiste Bieler <[email protected]>
40+
Alexander Farkas <[email protected]>
41+
Rick Waldron <[email protected]>
42+
Filipe Fortes <[email protected]>
43+
Neeraj Singh <[email protected]>
44+
Paul Irish <[email protected]>
45+
Iraê Carvalho <[email protected]>
46+
Matt Curry <[email protected]>
47+
Michael Monteleone <[email protected]>
48+
Noah Sloan <[email protected]>
49+
Tom Viner <[email protected]>
50+
Douglas Neiner <[email protected]>
51+
Adam J. Sontag <[email protected]>
52+
Dave Reed <[email protected]>
53+
Ralph Whitbeck <[email protected]>
54+
Carl Fürstenberg <[email protected]>
55+
Jacob Wright <[email protected]>
56+
J. Ryan Stinnett <[email protected]>
57+
58+
59+
Heungsub Lee <[email protected]>
60+
Colin Snover <[email protected]>
61+
Ryan W Tenney <[email protected]>
62+
63+
Ron Otten <[email protected]>
64+
Jephte Clain <[email protected]>
65+
Anton Matzneller <[email protected]>
66+
Alex Sexton <[email protected]>
67+
Dan Heberden <[email protected]>
68+
Henri Wiechers <[email protected]>
69+
Russell Holbrook <[email protected]>
70+
Julian Aubourg <[email protected]>
71+
Gianni Alessandro Chiappetta <[email protected]>
72+
Scott Jehl <[email protected]>
73+
James Burke <[email protected]>
74+
Jonas Pfenniger <[email protected]>
75+
Xavi Ramirez <[email protected]>
76+
Jared Grippe <[email protected]>
77+
Sylvester Keil <[email protected]>
78+
Brandon Sterne <[email protected]>
79+
Mathias Bynens <[email protected]>
80+
Timmy Willison <[email protected]>
81+
Corey Frang <[email protected]>
82+
Digitalxero <digitalxero>
83+
Anton Kovalyov <[email protected]>
84+
David Murdoch <[email protected]>
85+
Josh Varner <[email protected]>
86+
Charles McNulty <[email protected]>
87+
Jordan Boesch <[email protected]>
88+
Jess Thrysoee <[email protected]>
89+
Michael Murray <[email protected]>
90+
Lee Carpenter <[email protected]>
91+
Alexis Abril <[email protected]>
92+
Rob Morgan <[email protected]>
93+
John Firebaugh <[email protected]>
94+
Sam Bisbee <[email protected]>
95+
Gilmore Davidson <[email protected]>
96+
Brian Brennan <[email protected]>
97+
Xavier Montillet <[email protected]>
98+
Daniel Pihlstrom <[email protected]>
99+
Sahab Yazdani <[email protected]>
100+
101+
Scott Hughes <[email protected]>
102+
Mike Sherov <[email protected]>
103+
Greg Hazel <[email protected]>
104+
Schalk Neethling <[email protected]>
105+
Denis Knauf <[email protected]>
106+
Timo Tijhof <[email protected]>
107+
Steen Nielsen <[email protected]>
108+
Anton Ryzhov <[email protected]>
109+
Shi Chuan <[email protected]>
110+
Berker Peksag <[email protected]>
111+
Toby Brain <[email protected]>
112+
Matt Mueller <[email protected]>
113+
114+
Daniel Herman <[email protected]>
115+
Oleg Gaidarenko <[email protected]>
116+
Richard Gibson <[email protected]>
117+
Rafaël Blais Masson <[email protected]>
118+
119+
Joe Presbrey <[email protected]>
120+
Sindre Sorhus <[email protected]>
121+
Arne de Bree <[email protected]>
122+
Vladislav Zarakovsky <[email protected]>
123+
Andrew E Monat <[email protected]>
124+
125+
Joao Henrique de Andrade Bruni <[email protected]>
126+
127+
Matt Farmer <[email protected]>
128+
Trey Hunner <[email protected]>
129+
Jason Moon <[email protected]>
130+
Jeffery To <[email protected]>
131+
Kris Borchers <[email protected]>
132+
Vladimir Zhuravlev <[email protected]>
133+
Jacob Thornton <[email protected]>
134+
Chad Killingsworth <[email protected]>
135+
Nowres Rafid <[email protected]>
136+
David Benjamin <[email protected]>
137+
Uri Gilad <[email protected]>
138+
Chris Faulkner <[email protected]>
139+
Elijah Manor <[email protected]>
140+
Daniel Chatfield <[email protected]>
141+
Nikita Govorov <[email protected]>
142+
Wesley Walser <[email protected]>
143+
Mike Pennisi <[email protected]>
144+
Markus Staab <[email protected]>
145+
Dave Riddle <[email protected]>
146+
Callum Macrae <[email protected]>
147+
Benjamin Truyman <[email protected]>
148+
James Huston <[email protected]>
149+
Erick Ruiz de Chávez <[email protected]>
150+
David Bonner <[email protected]>
151+
Akintayo Akinwunmi <[email protected]>
152+
153+
Ismail Khair <[email protected]>
154+
Carl Danley <[email protected]>
155+
Mike Petrovich <[email protected]>
156+
Greg Lavallee <[email protected]>
157+
Daniel Gálvez <[email protected]>
158+
Sai Lung Wong <[email protected]>
159+
Tom H Fuertes <[email protected]>
160+
Roland Eckl <[email protected]>
161+
Jay Merrifield <[email protected]>
162+
Allen J Schmidt Jr <[email protected]>
163+
Jonathan Sampson <[email protected]>
164+
Marcel Greter <[email protected]>
165+
Matthias Jäggli <[email protected]>
166+
David Fox <[email protected]>
167+
Yiming He <[email protected]>
168+
Devin Cooper <[email protected]>
169+
Paul Ramos <[email protected]>
170+
171+
Bennett Sorbo <[email protected]>
172+
Sebastian Burkhard <[email protected]>
173+
Zachary Adam Kaplan <[email protected]>
174+
175+
176+
Danil Somsikov <[email protected]>
177+
Ryunosuke SATO <[email protected]>
178+
Jean Boussier <[email protected]>
179+
Adam Coulombe <[email protected]>
180+
Andrew Plummer <[email protected]>
181+
Mark Raddatz <[email protected]>
182+
Isaac Z. Schlueter <[email protected]>
183+
Karl Sieburg <[email protected]>
184+
Pascal Borreli <[email protected]>
185+
Nguyen Phuc Lam <[email protected]>
186+
Dmitry Gusev <[email protected]>
187+
Michał Gołębiowski <[email protected]>
188+
Li Xudong <[email protected]>
189+
Steven Benner <[email protected]>
190+
Tom H Fuertes <[email protected]>
191+
Renato Oliveira dos Santos <[email protected]>
192+
193+
Jason Bedard <[email protected]>
194+
Kyle Robinson Young <[email protected]>
195+
Chris Talkington <[email protected]>
196+
Eddie Monge <[email protected]>
197+
Terry Jones <[email protected]>
198+
Jason Merino <[email protected]>
199+
Jeremy Dunck <[email protected]>
200+
Chris Price <[email protected]>
201+
Guy Bedford <[email protected]>
202+
Amey Sakhadeo <[email protected]>
203+
Mike Sidorov <[email protected]>
204+
Anthony Ryan <[email protected]>
205+
Dominik D. Geyer <[email protected]>
206+
George Kats <[email protected]>
207+
208+
Ronny Springer <[email protected]>
209+
Chris Antaki <[email protected]>
210+
Marian Sollmann <[email protected]>
211+
212+
Ilya Kantor <[email protected]>
213+
David Hong <[email protected]>
214+
John Paul <[email protected]>
215+
Jakob Stoeck <[email protected]>
216+
Christopher Jones <[email protected]>
217+
Forbes Lindesay <[email protected]>
218+
S. Andrew Sheppard <[email protected]>
219+
Leonardo Balter <[email protected]>
220+
Roman Reiß <[email protected]>
221+
Benjy Cui <[email protected]>
222+
Rodrigo Rosenfeld Rosas <[email protected]>
223+
John Hoven <[email protected]>
224+
Philip Jägenstedt <[email protected]>
225+
Christian Kosmowski <[email protected]>
226+
Liang Peng <[email protected]>
227+
TJ VanToll <[email protected]>
228+
Senya Pugach <[email protected]>
229+
Aurelio De Rosa <[email protected]>
230+
Nazar Mokrynskyi <[email protected]>
231+
Amit Merchant <[email protected]>
232+
Jason Bedard <[email protected]>
233+
Arthur Verschaeve <[email protected]>
234+
235+
236+
David Corbacho <[email protected]>
237+
Veaceslav Grimalschi <[email protected]>
238+
Daniel Husar <[email protected]>
239+
Frederic Hemberger <[email protected]>
240+
Ben Toews <[email protected]>
241+
Aditya Raghavan <[email protected]>
242+
Victor Homyakov <[email protected]>
243+
Shivaji Varma <[email protected]>
244+
Nicolas HENRY <[email protected]>
245+
Anne-Gaelle Colom <[email protected]>
246+
George Mauer <[email protected]>
247+
Leonardo Braga <[email protected]>
248+
Stephen Edgar <[email protected]>
249+
Thomas Tortorini <[email protected]>
250+
Winston Howes <[email protected]>
251+
Jon Hester <[email protected]>
252+
Alexander O'Mara <[email protected]>
253+
Bastian Buchholz <[email protected]>
254+
Arthur Stolyar <[email protected]>
255+
Calvin Metcalf <[email protected]>
256+
Mu Haibao <[email protected]>
257+
Richard McDaniel <[email protected]>
258+
Chris Rebert <[email protected]>
259+
Gabriel Schulhof <[email protected]>
260+
Gilad Peleg <[email protected]>
261+
Martin Naumann <[email protected]>
262+
Marek Lewandowski <[email protected]>
263+
Bruno Pérel <[email protected]>
264+
Reed Loden <[email protected]>
265+
Daniel Nill <[email protected]>
266+
Yongwoo Jeon <[email protected]>
267+
Sean Henderson <[email protected]>
268+
Richard Kraaijenhagen <[email protected]>
269+
Connor Atherton <[email protected]>
270+
271+
Christian Grete <[email protected]>
272+
Liza Ramo <[email protected]>
273+
Julian Alexander Murillo <[email protected]>
274+
Joelle Fleurantin <[email protected]>
275+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Copyright jQuery Foundation and other contributors, https://jquery.org/
2+
3+
This software consists of voluntary contributions made by many
4+
individuals. For exact contribution history, see the revision history
5+
available at https://github.com/jquery/jquery
6+
7+
The following license applies to all parts of this software except as
8+
documented below:
9+
10+
====
11+
12+
Permission is hereby granted, free of charge, to any person obtaining
13+
a copy of this software and associated documentation files (the
14+
"Software"), to deal in the Software without restriction, including
15+
without limitation the rights to use, copy, modify, merge, publish,
16+
distribute, sublicense, and/or sell copies of the Software, and to
17+
permit persons to whom the Software is furnished to do so, subject to
18+
the following conditions:
19+
20+
The above copyright notice and this permission notice shall be
21+
included in all copies or substantial portions of the Software.
22+
23+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30+
31+
====
32+
33+
All files located in the node_modules and external directories are
34+
externally maintained libraries used by this software which have their
35+
own licenses; we recommend you read them, as their terms may differ from
36+
the terms above.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# jQuery Dist
2+
3+
This repo only contains package distribution files for jQuery Core.
4+
5+
For source files and issues, visit the [jQuery repo](https://github.com/jquery/jquery).
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "jquery",
3+
"main": "dist/jquery.js",
4+
"license": "MIT",
5+
"ignore": [
6+
"package.json"
7+
],
8+
"keywords": [
9+
"jquery",
10+
"javascript",
11+
"browser",
12+
"library"
13+
]
14+
}

0 commit comments

Comments
 (0)