comprehend_batch_detect_key_phrases: Detects the key noun phrases found in a batch of documents

Description Usage Arguments Value Request syntax

View source: R/comprehend_operations.R

Description

Detects the key noun phrases found in a batch of documents.

Usage

1
comprehend_batch_detect_key_phrases(TextList, LanguageCode)

Arguments

TextList

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

LanguageCode

[required] The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language.

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
21
22
list(
  ResultList = list(
    list(
      Index = 123,
      KeyPhrases = list(
        list(
          Score = 123.0,
          Text = "string",
          BeginOffset = 123,
          EndOffset = 123
        )
      )
    )
  ),
  ErrorList = list(
    list(
      Index = 123,
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

1
2
3
4
5
6
svc$batch_detect_key_phrases(
  TextList = list(
    "string"
  ),
  LanguageCode = "en"|"es"|"fr"|"de"|"it"|"pt"|"ar"|"hi"|"ja"|"ko"|"zh"|"zh-TW"
)

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