Skip to content

Commit

Permalink
Correct typo in comments (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uaitt authored Jan 29, 2025
1 parent ad276e1 commit 94baa9d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/speech-to-text/websocket/async_microphone/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def on_message(self, result, **kwargs):
# See docs: https://developers.deepgram.com/docs/understand-endpointing-interim-results
is_finals.append(sentence)

# Speech Final means we have detected sufficent silence to consider this end of speech
# Speech Final means we have detected sufficient silence to consider this end of speech
# Speech final is the lowest latency result as it triggers as soon an the endpointing value has triggered
if result.speech_final:
utterance = " ".join(is_finals)
Expand Down
2 changes: 1 addition & 1 deletion examples/speech-to-text/websocket/microphone/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def on_message(self, result, **kwargs):
# See docs: https://developers.deepgram.com/docs/understand-endpointing-interim-results
is_finals.append(sentence)

# Speech Final means we have detected sufficent silence to consider this end of speech
# Speech Final means we have detected sufficient silence to consider this end of speech
# Speech final is the lowest latency result as it triggers as soon an the endpointing value has triggered
if result.speech_final:
utterance = " ".join(is_finals)
Expand Down
2 changes: 1 addition & 1 deletion tests/edge_cases/auto_flush/async_microphone_mute/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def on_message(self, result, **kwargs):
# See docs: https://developers.deepgram.com/docs/understand-endpointing-interim-results
is_finals.append(sentence)

# Speech Final means we have detected sufficent silence to consider this end of speech
# Speech Final means we have detected sufficient silence to consider this end of speech
# Speech final is the lowest latency result as it triggers as soon an the endpointing value has triggered
if result.speech_final:
utterance = " ".join(is_finals)
Expand Down
2 changes: 1 addition & 1 deletion tests/edge_cases/auto_flush/microphone_mute/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def on_message(self, result, **kwargs):
# See docs: https://developers.deepgram.com/docs/understand-endpointing-interim-results
is_finals.append(sentence)

# Speech Final means we have detected sufficent silence to consider this end of speech
# Speech Final means we have detected sufficient silence to consider this end of speech
# Speech final is the lowest latency result as it triggers as soon an the endpointing value has triggered
if result.speech_final:
utterance = " ".join(is_finals)
Expand Down

0 comments on commit 94baa9d

Please sign in to comment.