Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

comprehend_detect_dominant_language

Determines the dominant language of the input text


Description

Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.

Usage

comprehend_detect_dominant_language(Text)

Arguments

Text

[required] A UTF-8 text string. Each string should contain at least 20 characters and must contain fewer that 5,000 bytes of UTF-8 encoded characters.

Value

A list with the following syntax:

list(
  Languages = list(
    list(
      LanguageCode = "string",
      Score = 123.0
    )
  )
)

Request syntax

svc$detect_dominant_language(
  Text = "string"
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.