Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with speech streaming speech_context. #2717

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add speech_context to streaming system test.
  • Loading branch information
daspecster committed Nov 10, 2016
commit 5fbbc1bfd2faaf508820f98754b58244ad815fe5
3 changes: 2 additions & 1 deletion system_tests/speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def _make_streaming_request(self, file_obj, single_utterance=True,
sample_rate=16000)
return client.streaming_recognize(sample,
single_utterance=single_utterance,
interim_results=interim_results)
interim_results=interim_results,
speech_context=['hello', 'google'])

def _check_results(self, results, num_results=1):
self.assertEqual(len(results), num_results)
Expand Down