Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Fix typo in sample code (#112)
Browse files Browse the repository at this point in the history
There was a typo in "happroach", instead of "approach".
jonatan1609 authored May 25, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 22b5dee commit 306f1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speech/snippets/speech_adaptation_beta.py
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ def sample_recognize(storage_uri, phrase):
# The higher the boost, the higher the chance of false positive
# recognition as well. Can accept wide range of positive values.
# Most use cases are best served with values between 0 and 20.
# Using a binary search happroach may help you find the optimal value.
# Using a binary search approach may help you find the optimal value.
boost = 20.0
speech_contexts_element = {"phrases": phrases, "boost": boost}
speech_contexts = [speech_contexts_element]

0 comments on commit 306f1b2

Please sign in to comment.