Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::TranscribeService::Types::LanguageCodeItem

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb

Overview

Provides information on the speech contained in a discreet utterance when multi-language identification is enabled in your request. This utterance represents a block of speech consisting of one language, preceded or followed by a block of speech in a different language.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#duration_in_secondsFloat

Provides the total time, in seconds, each identified language is spoken in your media.

Returns:

  • (Float)

1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 1895

class LanguageCodeItem < Struct.new(
  :language_code,
  :duration_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#language_codeString

Provides the language code for each language identified in your media.

Returns:

  • (String)

1895
1896
1897
1898
1899
1900
# File 'gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/types.rb', line 1895

class LanguageCodeItem < Struct.new(
  :language_code,
  :duration_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end