-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a Transcribe streaming example for Swift #7148
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shepazon
added
Swift
This issue relates to the AWS SDK for Swift
Task
A general update to the code base for language clarification, missing actions, tests, etc.
labels
Dec 11, 2024
shepazon
requested review from
meyertst-aws
and removed request for
DavidSouther
December 13, 2024 15:38
meyertst-aws
approved these changes
Dec 16, 2024
swift/example_code/transcribe-streaming/transcribe-events/Sources/entry.swift
Outdated
Show resolved
Hide resolved
swift/example_code/transcribe-streaming/transcribe-events/Sources/entry.swift
Show resolved
Hide resolved
swift/example_code/transcribe-streaming/transcribe-events/Sources/entry.swift
Outdated
Show resolved
Hide resolved
I've made recommended changes. I'd appreciate a second round of feedback to be sure they address your specific comments and that your PCM file works now. |
meyertst-aws
approved these changes
Dec 17, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ford-at-aws
added
On Call Review complete
On call review complete
and removed
On Call Review needed
This work needs an on-call review
labels
Dec 17, 2024
This example shows how to use Transcribe streaming from within a Swift program using the AWS SDK for Swift. It simply runs a specified file through the transcription process, outputting each fragment of transcribed text as it's received.
Added the rest of the metadata I need. Also renamed and moved around some of the files and types. Added a Readme. Other improvements to the source code for use in snippets.
ford-at-aws
force-pushed
the
transcribe-events
branch
from
December 17, 2024 17:36
6a9f6a1
to
ecffbd0
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
On Call Review complete
On call review complete
Swift
This issue relates to the AWS SDK for Swift
Task
A general update to the code base for language clarification, missing actions, tests, etc.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a Swift SDK example showing how to use Transcribe streaming, and how to use event streaming, in one fairly simple example program. Requires a spoken audio file in PCM, FLAC, or Ogg format (though I've had poor luck with Ogg in Transcribe, personally).
There's a preview build of this here: http://sheppycloud.aka.corp.amazon.com:4301/sdk-for-swift/latest/developer-guide/swift_transcribe-streaming_code_examples.html
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.