list_voices: List available voices

View source: R/list_voices.R

list_voicesR Documentation

List available voices

Description

Retrieve a list of available voices

Usage

list_voices(
  language = NULL,
  token = NULL,
  engine = NULL,
  include_additional_languages = FALSE,
  ...
)

Arguments

language

Optional ISO 3166 country identification tag. If 'NULL', voices for all available languages are returned.

token

Optional pagination token.

engine

Optional engine name: '"standard"' or '"neural"'. If specified, only voices available for that engine are returned.

...

Additional arguments passed to pollyHTTP.

include_additional_language

Optional boolean specifying whether to return bilingual voices listing the requested language as an additional language (as opposed to their main default language).

Value

A data frame of available names.

Examples

## Not run: 
list_voices(language = "cy-GB")
list_voices()

## End(Not run)

cloudyr/aws.polly documentation built on June 18, 2022, 3:45 a.m.