comprehend_batch_detect_dominant_language: Determines the dominant language of the input text for a...

Description Usage Arguments Value Request syntax

View source: R/comprehend_operations.R

Description

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

Usage

1

Arguments

TextList

[required] A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document should contain at least 20 characters and must contain fewer than 5,000 bytes of UTF-8 encoded characters.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
list(
  ResultList = list(
    list(
      Index = 123,
      Languages = list(
        list(
          LanguageCode = "string",
          Score = 123.0
        )
      )
    )
  ),
  ErrorList = list(
    list(
      Index = 123,
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

1
2
3
4
5
svc$batch_detect_dominant_language(
  TextList = list(
    "string"
  )
)

paws.machine.learning documentation built on Aug. 23, 2021, 9:14 a.m.