Skip to content

Commit 0826942

Browse files
committed
Implement Add Words
1 parent ad35dc4 commit 0826942

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/speech_to_text/v1-corpus-builder.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ module.exports = function (RED) {
266266
switch (method) {
267267
case 'addCorpus':
268268
params.corpus = fs.createReadStream(info.path);
269+
break;
269270
case 'addWords':
270271
try {
271272
params.words = JSON.parse(fs.readFileSync(info.path, 'utf8'));

0 commit comments

Comments
 (0)