Skip to content

Adding Speech_Context to the Speech API stops Recogniztion #2036

@LibertyBeta

Description

@LibertyBeta

It seems that the Speech Context config breaks the recognition stream.

Environment details

  • OS: *nix(Raspian, Ubuntu, etc)
  • Node.js version: 7.5
  • npm version:
  • google-cloud-node version: 0.6

Steps to reproduce

  1. require google-cloud
  2. Start Recognition Stream with a config values of
const request = {
  config: {
      encoding: encoding,
      sampleRate: sampleRate,
      speech_context: ['one', 'two]
  },
  interimResults: true
};
  1. .pipe() audio stream to the Recognition Stream

Metadata

Metadata

Labels

api: speechIssues related to the Speech-to-Text API.priority: p2Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions