Class: Aws::Comprehend::Types::DominantLanguage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::DominantLanguage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-comprehend/types.rb
Overview
Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#language_code ⇒ String
The RFC 5646 language code for the dominant language.
-
#score ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
Instance Attribute Details
#language_code ⇒ String
The RFC 5646 language code for the dominant language. For more information about RFC 5646, see [Tags for Identifying Languages] on the *IETF Tools* web site.
3474 3475 3476 3477 3478 3479 |
# File 'lib/aws-sdk-comprehend/types.rb', line 3474 class DominantLanguage < Struct.new( :language_code, :score) SENSITIVE = [] include Aws::Structure end |
#score ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
3474 3475 3476 3477 3478 3479 |
# File 'lib/aws-sdk-comprehend/types.rb', line 3474 class DominantLanguage < Struct.new( :language_code, :score) SENSITIVE = [] include Aws::Structure end |