get_transcription: Get AWS Transcribe Job

Description Usage Arguments Value See Also Examples

View source: R/get_transcription.R

Description

Retrieve a specific AWS Transcribe job

Usage

1
get_transcription(job, download = TRUE, ...)

Arguments

job

A character string specifying the name of a job, possibly returned by list_transcriptions.

download

A logical indicating whether to download the transcription(s).

...

Additional arguments passed to transcribeHTTP.

Value

A list.

See Also

start_transcription, list_transcriptions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
# start a transcription
## upload a file to S3
library("aws.s3")
put_object(file = "recording.mp3", bucket = "my-bucket", object = "recording.mp3")

## start trancription
start_transcription("first-example", "https://my-bucket.us-east-1.amazonaws.com/recording.mp3")

## wait
Sys.sleep(5)

## retrieve transcription
transcript <- get_transcription("first-example")
transcript$Transcriptions

## End(Not run)

aws.transcribe documentation built on April 9, 2018, 5:04 p.m.