Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9b787e7

Browse filesBrowse files
authored
Add automatic punctuation to video speech transcription (GoogleCloudPlatform#1603)
1 parent 62ef48d commit 9b787e7
Copy full SHA for 9b787e7

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed

‎video/cloud-client/analyze/beta_snippets.py

Copy file name to clipboardExpand all lines: video/cloud-client/analyze/beta_snippets.py
+2-1Lines changed: 2 additions & 1 deletion
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

+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.