AWSComprehendDetectDominantLanguageResponse

Objective-C

@interface AWSComprehendDetectDominantLanguageResponse

Swift

class AWSComprehendDetectDominantLanguageResponse
  • Array of languages that Amazon Comprehend detected in the input text. The array is sorted in descending order of the score (the dominant language is always the first element in the array).

    For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSComprehendDominantLanguage *> *_Nullable languages;

    Swift

    var languages: [AWSComprehendDominantLanguage]? { get set }