Skip to content

Commit c68af17

Browse files
Merge pull request #81 from watson-developer-cloud/remove-old-links
docs: updates .shtml links to new urls
2 parents 607021f + 7da8aac commit c68af17

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

dist/watson-speech.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,27 +2819,27 @@ function hasOwnProperty(obj, prop) {
28192819
/* 5 */
28202820
/***/ (function(module, exports) {
28212821

2822-
var g;
2823-
2824-
// This works in non-strict mode
2825-
g = (function() {
2826-
return this;
2827-
})();
2828-
2829-
try {
2830-
// This works if eval is allowed (see CSP)
2831-
g = g || Function("return this")() || (1,eval)("this");
2832-
} catch(e) {
2833-
// This works if the window reference is available
2834-
if(typeof window === "object")
2835-
g = window;
2836-
}
2837-
2838-
// g can still be undefined, but nothing to do about it...
2839-
// We return undefined, instead of nothing here, so it's
2840-
// easier to handle this case. if(!global) { ...}
2841-
2842-
module.exports = g;
2822+
var g;
2823+
2824+
// This works in non-strict mode
2825+
g = (function() {
2826+
return this;
2827+
})();
2828+
2829+
try {
2830+
// This works if eval is allowed (see CSP)
2831+
g = g || Function("return this")() || (1,eval)("this");
2832+
} catch(e) {
2833+
// This works if the window reference is available
2834+
if(typeof window === "object")
2835+
g = window;
2836+
}
2837+
2838+
// g can still be undefined, but nothing to do about it...
2839+
// We return undefined, instead of nothing here, so it's
2840+
// easier to handle this case. if(!global) { ...}
2841+
2842+
module.exports = g;
28432843

28442844

28452845
/***/ }),
@@ -4715,7 +4715,7 @@ function FormatStream(opts) {
47154715
}
47164716
util.inherits(FormatStream, Transform);
47174717

4718-
var reHesitation = /%HESITATION ?/g; // http://www.ibm.com/watson/developercloud/doc/speech-to-text/output.shtml#hesitation - D_ is handled below
4718+
var reHesitation = /%HESITATION ?/g; // https://console.bluemix.net/docs/services/speech-to-text/output.html#output - D_ is handled below
47194719
var reRepeatedCharacter = /([a-z])\1{2,}/gi; // detect the same character repeated three or more times and remove it
47204720
var reDUnderscoreWords = /D_[^\s]+/g; // replace D_(anything)
47214721

examples/static/speaker-labels-file-console.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h2>Code for this demo:</h2>
3737
file: '/en-us-multi-speaker-narrowband.wav',
3838
speaker_labels: true,
3939
// only certain models support speaker labels currently,
40-
// see http://www.ibm.com/watson/developercloud/doc/speech-to-text/output.shtml#speaker_labels
40+
// see https://console.bluemix.net/docs/services/speech-to-text/output.html#output
4141
model: 'en-US_NarrowbandModel',
4242
objectMode: true, // send objects instead of text
4343
realtime: true, // don't slow down the results if transcription occurs faster than playback

examples/static/speaker-stream-file-console.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h2>Code for this demo:</h2>
3636
token: token,
3737
file: '/en-us-multi-speaker-narrowband.wav',
3838
// only certain models support speaker labels currently,
39-
// see http://www.ibm.com/watson/developercloud/doc/speech-to-text/output.shtml#speaker_labels
39+
// see https://console.bluemix.net/docs/services/speech-to-text/output.html#output
4040
model: 'en-US_NarrowbandModel',
4141
resultsBySpeaker: true, // pipes results through a SpeakerStream, and also enables speaker_labels and objectMode
4242
realtime: false, // don't slow down the results if transcription occurs faster than playback

examples/static/speaker-stream-file-html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2>Code for this demo:</h2>
3939
file: '/en-us-multi-speaker-narrowband.wav',
4040
speaker_labels: true,
4141
// only certain models support speaker labels currently,
42-
// see http://www.ibm.com/watson/developercloud/doc/speech-to-text/output.shtml#speaker_labels
42+
// see https://console.bluemix.net/docs/services/speech-to-text/output.html#output
4343
model: 'en-US_NarrowbandModel',
4444
resultsBySpeaker: true, // pipes results through a SpeakerStream, and also enables speaker_labels and objectMode
4545
play: true

speech-to-text/format-stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function FormatStream(opts) {
3333
}
3434
util.inherits(FormatStream, Transform);
3535

36-
var reHesitation = /%HESITATION ?/g; // http://www.ibm.com/watson/developercloud/doc/speech-to-text/output.shtml#hesitation - D_ is handled below
36+
var reHesitation = /%HESITATION ?/g; // https://console.bluemix.net/docs/services/speech-to-text/output.html#output - D_ is handled below
3737
var reRepeatedCharacter = /([a-z])\1{2,}/gi; // detect the same character repeated three or more times and remove it
3838
var reDUnderscoreWords = /D_[^\s]+/g; // replace D_(anything)
3939

0 commit comments

Comments
 (0)