Class: Aws::TranscribeStreamingService::Types::LanguageWithScore

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

Overview

The language code that represents the language identified in your audio, including the associated confidence score. If you enabled channel identification in your request and each channel contained a different language, you will have more than one LanguageWithScore result.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language code of the identified language.

Returns:

  • (String)


460
461
462
463
464
465
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 460

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

#scoreFloat

The confidence score associated with the identified language code. Confidence scores are values between zero and one; larger values indicate a higher confidence in the identified language.

Returns:

  • (Float)


460
461
462
463
464
465
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 460

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