Skip to content

Commit 96cf3d9

Browse files
nnegreyleahecole
authored andcommitted
Add automatic punctuation to video speech transcription [(#1603)](#1603)
1 parent dfd7bc8 commit 96cf3d9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

videointelligence/samples/analyze/beta_snippets.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def speech_transcription(input_uri):
3535
features = [videointelligence.enums.Feature.SPEECH_TRANSCRIPTION]
3636

3737
config = videointelligence.types.SpeechTranscriptionConfig(
38-
language_code='en-US')
38+
language_code='en-US',
39+
enable_automatic_punctuation=True)
3940
video_context = videointelligence.types.VideoContext(
4041
speech_transcription_config=config)
4142

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-cloud-videointelligence==1.2.0
1+
google-cloud-videointelligence==1.3.0

0 commit comments

Comments
 (0)