AWSComprehendDominantLanguage

Objective-C

@interface AWSComprehendDominantLanguage

Swift

class AWSComprehendDominantLanguage

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.

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable languageCode;

    Swift

    var languageCode: String? { get set }
  • The level of confidence that Amazon Comprehend has in the accuracy of the detection.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable score;

    Swift

    var score: NSNumber? { get set }