Skip to content

Commit

Permalink
refactor: depend on node-sdk for recognize stream and query string
Browse files Browse the repository at this point in the history
  • Loading branch information
dpopp07 committed Dec 4, 2018
1 parent 840bb39 commit 1ad98a0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 425 deletions.
2 changes: 1 addition & 1 deletion speech-to-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
/**
* @see RecognizeStream
*/
RecognizeStream: require('./recognize-stream'),
RecognizeStream: require('watson-developer-cloud/lib/recognize-stream'),
/**
* @see FilePlayer
*/
Expand Down
2 changes: 1 addition & 1 deletion speech-to-text/recognize-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

'use strict';
var BlobStream = require('readable-blob-stream');
var RecognizeStream = require('./recognize-stream.js');
var RecognizeStream = require('watson-developer-cloud/lib/recognize-stream');
var FilePlayer = require('./file-player.js');
var FormatStream = require('./format-stream.js');
var TimingStream = require('./timing-stream.js');
Expand Down
2 changes: 1 addition & 1 deletion speech-to-text/recognize-microphone.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'use strict';
var getUserMedia = require('get-user-media-promise');
var MicrophoneStream = require('microphone-stream');
var RecognizeStream = require('./recognize-stream.js');
var RecognizeStream = require('watson-developer-cloud/lib/recognize-stream');
var L16 = require('./webaudio-l16-stream.js');
var FormatStream = require('./format-stream.js');
var assign = require('object.assign/polyfill')();
Expand Down
Loading

0 comments on commit 1ad98a0

Please sign in to comment.