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 codes of the identified languages and their associated confidence scores. The confidence score is a value between zero and one; a larger value indicates a higher confidence in the identified language.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language code of the language identified by Amazon Transcribe.

Returns:

  • (String)


241
242
243
244
245
246
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 241

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

#scoreFloat

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

Returns:

  • (Float)


241
242
243
244
245
246
# File 'gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/types.rb', line 241

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