Skip to content

Commit 94baa9d

Browse files
authored
Correct typo in comments (#498)
1 parent ad276e1 commit 94baa9d

File tree

4 files changed

+4
-4
lines changed
  • examples/speech-to-text/websocket
  • tests/edge_cases/auto_flush

4 files changed

+4
-4
lines changed

examples/speech-to-text/websocket/async_microphone/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async def on_message(self, result, **kwargs):
5858
# See docs: https://developers.deepgram.com/docs/understand-endpointing-interim-results
5959
is_finals.append(sentence)
6060

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

examples/speech-to-text/websocket/microphone/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def on_message(self, result, **kwargs):
4848
# See docs: https://developers.deepgram.com/docs/understand-endpointing-interim-results
4949
is_finals.append(sentence)
5050

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

tests/edge_cases/auto_flush/async_microphone_mute/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def on_message(self, result, **kwargs):
5959
# See docs: https://developers.deepgram.com/docs/understand-endpointing-interim-results
6060
is_finals.append(sentence)
6161

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

tests/edge_cases/auto_flush/microphone_mute/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def on_message(self, result, **kwargs):
4646
# See docs: https://developers.deepgram.com/docs/understand-endpointing-interim-results
4747
is_finals.append(sentence)
4848

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

0 commit comments

Comments
 (0)