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 <jeresig@gmail.com>
4+
Gilles van den Hoven <gilles0181@gmail.com>
5+
Michael Geary <mike@geary.com>
6+
Stefan Petre <stefan.petre@gmail.com>
7+
Yehuda Katz <wycats@gmail.com>
8+
Corey Jewett <cj@syntheticplayground.com>
9+
Klaus Hartl <klaus.hartl@gmail.com>
10+
Franck Marcia <franck.marcia@gmail.com>
11+
Jörn Zaefferer <joern.zaefferer@gmail.com>
12+
Paul Bakaus <paul.bakaus@gmail.com>
13+
Brandon Aaron <brandon.aaron@gmail.com>
14+
Mike Alsup <malsup@gmail.com>
15+
Dave Methvin <dave.methvin@gmail.com>
16+
Ed Engelhardt <edengelhardt@gmail.com>
17+
Sean Catchpole <littlecooldude@gmail.com>
18+
Paul Mclanahan <pmclanahan@gmail.com>
19+
David Serduke <davidserduke@gmail.com>
20+
Richard D. Worth <rdworth@gmail.com>
21+
Scott González <scott.gonzalez@gmail.com>
22+
Ariel Flesler <aflesler@gmail.com>
23+
Jon Evans <jon@springyweb.com>
24+
TJ Holowaychuk <tj@vision-media.ca>
25+
Michael Bensoussan <mickey@seesmic.com>
26+
Robert Katić <robert.katic@gmail.com>
27+
Louis-Rémi Babé <lrbabe@gmail.com>
28+
Earle Castledine <mrspeaker@gmail.com>
29+
Damian Janowski <damian.janowski@gmail.com>
30+
Rich Dougherty <rich@rd.gen.nz>
31+
Kim Dalsgaard <kim@kimdalsgaard.com>
32+
Andrea Giammarchi <andrea.giammarchi@gmail.com>
33+
Mark Gibson <jollytoad@gmail.com>
34+
Karl Swedberg <kswedberg@gmail.com>
35+
Justin Meyer <justinbmeyer@gmail.com>
36+
Ben Alman <cowboy@rj3.net>
37+
James Padolsey <cla@padolsey.net>
38+
David Petersen <public@petersendidit.com>
39+
Batiste Bieler <batiste.bieler@gmail.com>
40+
Alexander Farkas <info@corrupt-system.de>
41+
Rick Waldron <waldron.rick@gmail.com>
42+
Filipe Fortes <filipe@fortes.com>
43+
Neeraj Singh <neerajdotname@gmail.com>
44+
Paul Irish <paul.irish@gmail.com>
45+
Iraê Carvalho <irae@irae.pro.br>
46+
Matt Curry <matt@pseudocoder.com>
47+
Michael Monteleone <michael@michaelmonteleone.net>
48+
Noah Sloan <noah.sloan@gmail.com>
49+
Tom Viner <github@viner.tv>
50+
Douglas Neiner <doug@dougneiner.com>
51+
Adam J. Sontag <ajpiano@ajpiano.com>
52+
Dave Reed <dareed@microsoft.com>
53+
Ralph Whitbeck <ralph.whitbeck@gmail.com>
54+
Carl Fürstenberg <azatoth@gmail.com>
55+
Jacob Wright <jacwright@gmail.com>
56+
J. Ryan Stinnett <jryans@gmail.com>
57+
unknown <Igen005@.upcorp.ad.uprr.com>
58+
temp01 <temp01irc@gmail.com>
59+
Heungsub Lee <h@subl.ee>
60+
Colin Snover <github.com@zetafleet.com>
61+
Ryan W Tenney <ryan@10e.us>
62+
Pinhook <contact@pinhooklabs.com>
63+
Ron Otten <r.j.g.otten@gmail.com>
64+
Jephte Clain <Jephte.Clain@univ-reunion.fr>
65+
Anton Matzneller <obhvsbypqghgc@gmail.com>
66+
Alex Sexton <AlexSexton@gmail.com>
67+
Dan Heberden <danheberden@gmail.com>
68+
Henri Wiechers <hwiechers@gmail.com>
69+
Russell Holbrook <russell.holbrook@patch.com>
70+
Julian Aubourg <aubourg.julian@gmail.com>
71+
Gianni Alessandro Chiappetta <gianni@runlevel6.org>
72+
Scott Jehl <scottjehl@gmail.com>
73+
James Burke <jrburke@gmail.com>
74+
Jonas Pfenniger <jonas@pfenniger.name>
75+
Xavi Ramirez <xavi.rmz@gmail.com>
76+
Jared Grippe <jared@deadlyicon.com>
77+
Sylvester Keil <sylvester@keil.or.at>
78+
Brandon Sterne <bsterne@mozilla.com>
79+
Mathias Bynens <mathias@qiwi.be>
80+
Timmy Willison <timmywillisn@gmail.com>
81+
Corey Frang <gnarf37@gmail.com>
82+
Digitalxero <digitalxero>
83+
Anton Kovalyov <anton@kovalyov.net>
84+
David Murdoch <david@davidmurdoch.com>
85+
Josh Varner <josh.varner@gmail.com>
86+
Charles McNulty <cmcnulty@kznf.com>
87+
Jordan Boesch <jboesch26@gmail.com>
88+
Jess Thrysoee <jess@thrysoee.dk>
89+
Michael Murray <m@murz.net>
90+
Lee Carpenter <elcarpie@gmail.com>
91+
Alexis Abril <me@alexisabril.com>
92+
Rob Morgan <robbym@gmail.com>
93+
John Firebaugh <john_firebaugh@bigfix.com>
94+
Sam Bisbee <sam@sbisbee.com>
95+
Gilmore Davidson <gilmoreorless@gmail.com>
96+
Brian Brennan <me@brianlovesthings.com>
97+
Xavier Montillet <xavierm02.net@gmail.com>
98+
Daniel Pihlstrom <sciolist.se@gmail.com>
99+
Sahab Yazdani <sahab.yazdani+github@gmail.com>
100+
avaly <github-com@agachi.name>
101+
Scott Hughes <hi@scott-hughes.me>
102+
Mike Sherov <mike.sherov@gmail.com>
103+
Greg Hazel <ghazel@gmail.com>
104+
Schalk Neethling <schalk@ossreleasefeed.com>
105+
Denis Knauf <Denis.Knauf@gmail.com>
106+
Timo Tijhof <krinklemail@gmail.com>
107+
Steen Nielsen <swinedk@gmail.com>
108+
Anton Ryzhov <anton@ryzhov.me>
109+
Shi Chuan <shichuanr@gmail.com>
110+
Berker Peksag <berker.peksag@gmail.com>
111+
Toby Brain <tobyb@freshview.com>
112+
Matt Mueller <mattmuelle@gmail.com>
113+
Justin <drakefjustin@gmail.com>
114+
Daniel Herman <daniel.c.herman@gmail.com>
115+
Oleg Gaidarenko <markelog@gmail.com>
116+
Richard Gibson <richard.gibson@gmail.com>
117+
Rafaël Blais Masson <rafbmasson@gmail.com>
118+
cmc3cn <59194618@qq.com>
119+
Joe Presbrey <presbrey@gmail.com>
120+
Sindre Sorhus <sindresorhus@gmail.com>
121+
Arne de Bree <arne@bukkie.nl>
122+
Vladislav Zarakovsky <vlad.zar@gmail.com>
123+
Andrew E Monat <amonat@gmail.com>
124+
Oskari <admin@o-programs.com>
125+
Joao Henrique de Andrade Bruni <joaohbruni@yahoo.com.br>
126+
tsinha <tsinha@Anthonys-MacBook-Pro.local>
127+
Matt Farmer <matt@frmr.me>
128+
Trey Hunner <treyhunner@gmail.com>
129+
Jason Moon <jmoon@socialcast.com>
130+
Jeffery To <jeffery.to@gmail.com>
131+
Kris Borchers <kris.borchers@gmail.com>
132+
Vladimir Zhuravlev <private.face@gmail.com>
133+
Jacob Thornton <jacobthornton@gmail.com>
134+
Chad Killingsworth <chadkillingsworth@missouristate.edu>
135+
Nowres Rafid <nowres.rafed@gmail.com>
136+
David Benjamin <davidben@mit.edu>
137+
Uri Gilad <antishok@gmail.com>
138+
Chris Faulkner <thefaulkner@gmail.com>
139+
Elijah Manor <elijah.manor@gmail.com>
140+
Daniel Chatfield <chatfielddaniel@gmail.com>
141+
Nikita Govorov <nikita.govorov@gmail.com>
142+
Wesley Walser <waw325@gmail.com>
143+
Mike Pennisi <mike@mikepennisi.com>
144+
Markus Staab <markus.staab@redaxo.de>
145+
Dave Riddle <david@joyvuu.com>
146+
Callum Macrae <callum@lynxphp.com>
147+
Benjamin Truyman <bentruyman@gmail.com>
148+
James Huston <james@jameshuston.net>
149+
Erick Ruiz de Chávez <erickrdch@gmail.com>
150+
David Bonner <dbonner@cogolabs.com>
151+
Akintayo Akinwunmi <aakinwunmi@judge.com>
152+
MORGAN <morgan@morgangraphics.com>
153+
Ismail Khair <ismail.khair@gmail.com>
154+
Carl Danley <carldanley@gmail.com>
155+
Mike Petrovich <michael.c.petrovich@gmail.com>
156+
Greg Lavallee <greglavallee@wapolabs.com>
157+
Daniel Gálvez <dgalvez@editablething.com>
158+
Sai Lung Wong <sai.wong@huffingtonpost.com>
159+
Tom H Fuertes <TomFuertes@gmail.com>
160+
Roland Eckl <eckl.roland@googlemail.com>
161+
Jay Merrifield <fracmak@gmail.com>
162+
Allen J Schmidt Jr <cobrasoft@gmail.com>
163+
Jonathan Sampson <jjdsampson@gmail.com>
164+
Marcel Greter <marcel.greter@ocbnet.ch>
165+
Matthias Jäggli <matthias.jaeggli@gmail.com>
166+
David Fox <dfoxinator@gmail.com>
167+
Yiming He <yiminghe@gmail.com>
168+
Devin Cooper <cooper.semantics@gmail.com>
169+
Paul Ramos <paul.b.ramos@gmail.com>
170+
Rod Vagg <rod@vagg.org>
171+
Bennett Sorbo <bsorbo@gmail.com>
172+
Sebastian Burkhard <sebi.burkhard@gmail.com>
173+
Zachary Adam Kaplan <razic@viralkitty.com>
174+
nanto_vi <nanto@moon.email.ne.jp>
175+
nanto <nanto@moon.email.ne.jp>
176+
Danil Somsikov <danilasomsikov@gmail.com>
177+
Ryunosuke SATO <tricknotes.rs@gmail.com>
178+
Jean Boussier <jean.boussier@gmail.com>
179+
Adam Coulombe <me@adam.co>
180+
Andrew Plummer <plummer.andrew@gmail.com>
181+
Mark Raddatz <mraddatz@gmail.com>
182+
Isaac Z. Schlueter <i@izs.me>
183+
Karl Sieburg <ksieburg@yahoo.com>
184+
Pascal Borreli <pascal@borreli.com>
185+
Nguyen Phuc Lam <ruado1987@gmail.com>
186+
Dmitry Gusev <dmitry.gusev@gmail.com>
187+
Michał Gołębiowski <m.goleb@gmail.com>
188+
Li Xudong <istonelee@gmail.com>
189+
Steven Benner <admin@stevenbenner.com>
190+
Tom H Fuertes <tomfuertes@gmail.com>
191+
Renato Oliveira dos Santos <ros3@cin.ufpe.br>
192+
ros3cin <ros3@cin.ufpe.br>
193+
Jason Bedard <jason+jquery@jbedard.ca>
194+
Kyle Robinson Young <kyle@dontkry.com>
195+
Chris Talkington <chris@talkingtontech.com>
196+
Eddie Monge <eddie@eddiemonge.com>
197+
Terry Jones <terry@jon.es>
198+
Jason Merino <jasonmerino@gmail.com>
199+
Jeremy Dunck <jdunck@gmail.com>
200+
Chris Price <price.c@gmail.com>
201+
Guy Bedford <guybedford@gmail.com>
202+
Amey Sakhadeo <me@ameyms.com>
203+
Mike Sidorov <mikes.ekb@gmail.com>
204+
Anthony Ryan <anthonyryan1@gmail.com>
205+
Dominik D. Geyer <dominik.geyer@gmail.com>
206+
George Kats <katsgeorgeek@gmail.com>
207+
Lihan Li <frankieteardrop@gmail.com>
208+
Ronny Springer <springer.ronny@gmail.com>
209+
Chris Antaki <ChrisAntaki@gmail.com>
210+
Marian Sollmann <marian.sollmann@cargomedia.ch>
211+
njhamann <njhamann@gmail.com>
212+
Ilya Kantor <iliakan@gmail.com>
213+
David Hong <d.hong@me.com>
214+
John Paul <john@johnkpaul.com>
215+
Jakob Stoeck <jakob@pokermania.de>
216+
Christopher Jones <chris@cjqed.com>
217+
Forbes Lindesay <forbes@lindesay.co.uk>
218+
S. Andrew Sheppard <andrew@wq.io>
219+
Leonardo Balter <leonardo.balter@gmail.com>
220+
Roman Reiß <me@silverwind.io>
221+
Benjy Cui <benjytrys@gmail.com>
222+
Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>
223+
John Hoven <hovenj@gmail.com>
224+
Philip Jägenstedt <philip@foolip.org>
225+
Christian Kosmowski <ksmwsk@gmail.com>
226+
Liang Peng <poppinlp@gmail.com>
227+
TJ VanToll <tj.vantoll@gmail.com>
228+
Senya Pugach <upisfree@outlook.com>
229+
Aurelio De Rosa <aurelioderosa@gmail.com>
230+
Nazar Mokrynskyi <nazar@mokrynskyi.com>
231+
Amit Merchant <bullredeyes@gmail.com>
232+
Jason Bedard <jason+github@jbedard.ca>
233+
Arthur Verschaeve <contact@arthurverschaeve.be>
234+
Dan Hart <danhart@notonthehighstreet.com>
235+
Bin Xin <rhyzix@gmail.com>
236+
David Corbacho <davidcorbacho@gmail.com>
237+
Veaceslav Grimalschi <grimalschi@yandex.ru>
238+
Daniel Husar <dano.husar@gmail.com>
239+
Frederic Hemberger <mail@frederic-hemberger.de>
240+
Ben Toews <mastahyeti@gmail.com>
241+
Aditya Raghavan <araghavan3@gmail.com>
242+
Victor Homyakov <vkhomyackov@gmail.com>
243+
Shivaji Varma <contact@shivajivarma.com>
244+
Nicolas HENRY <icewil@gmail.com>
245+
Anne-Gaelle Colom <coloma@westminster.ac.uk>
246+
George Mauer <gmauer@gmail.com>
247+
Leonardo Braga <leonardo.braga@gmail.com>
248+
Stephen Edgar <stephen@netweb.com.au>
249+
Thomas Tortorini <thomastortorini@gmail.com>
250+
Winston Howes <winstonhowes@gmail.com>
251+
Jon Hester <jon.d.hester@gmail.com>
252+
Alexander O'Mara <me@alexomara.com>
253+
Bastian Buchholz <buchholz.bastian@googlemail.com>
254+
Arthur Stolyar <nekr.fabula@gmail.com>
255+
Calvin Metcalf <calvin.metcalf@gmail.com>
256+
Mu Haibao <mhbseal@163.com>
257+
Richard McDaniel <rm0026@uah.edu>
258+
Chris Rebert <github@rebertia.com>
259+
Gabriel Schulhof <gabriel.schulhof@intel.com>
260+
Gilad Peleg <giladp007@gmail.com>
261+
Martin Naumann <martin@geekonaut.de>
262+
Marek Lewandowski <m.lewandowski@cksource.com>
263+
Bruno Pérel <brunoperel@gmail.com>
264+
Reed Loden <reed@reedloden.com>
265+
Daniel Nill <daniellnill@gmail.com>
266+
Yongwoo Jeon <yongwoo.jeon@navercorp.com>
267+
Sean Henderson <seanh.za@gmail.com>
268+
Richard Kraaijenhagen <stdin+git@riichard.com>
269+
Connor Atherton <c.liam.atherton@gmail.com>
270+
Gary Ye <garysye@gmail.com>
271+
Christian Grete <webmaster@christiangrete.com>
272+
Liza Ramo <liza.h.ramo@gmail.com>
273+
Julian Alexander Murillo <julian.alexander.murillo@gmail.com>
274+
Joelle Fleurantin <joasqueeniebee@gmail.com>
275+
Jun Sun <klsforever@gmail.com>
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)