anchor.diff:  [source,cypher]
   ----
   CALL apoc.nlp.aws.keyPhrases.graph(source:Node or List<Node>, {
  +  key: String,
  +  secret: String,
  +  nodeProperty: String,
  +  relationshipType: String,
  +  write: Boolean
  +})
  +YIELD graph
  +----
  +
  +[[nlp-aws-sentiment]]
  +==== Sentiment
  +
  +The sentiment procedures (`apoc.nlp.aws.keyPhrases.*`) are wrappers around the https://docs.aws.amazon.com/comprehend/latest/dg/how-sentiment.html[Determine Sentiment^] operations of the AWS Comprehend Natural Language API.
  +You can determine if the sentiment is positive, negative, neutral, or mixed.
  +
  +The procedures are described below:
  +
  +[separator=¦,opts=header,cols="1,1m,1m,5"]
  +|===
  +include::../../../build/generated-documentation/apoc.nlp.aws.sentiment.csv[]
  +|===
  +
  +The procedures support the following config parameters:
  +
  +.Config parameters
  +[opts=header]
  +|===
  +| name | type | default | description
  +| key | String | null | AWS Access Control Key
  +| secret | String | null | AWS Access Control Secret
  +| nodeProperty | String | text | The property on the provided node that contains the unstructured text to be analyzed
  +|===
  +
  +In addition, `apoc.nlp.aws.keyPhrases.graph` supports the following config parameters:
  +
  +.Config parameters
  +[opts=header]
  +|===
  +| name | type | default | description
  +| write | Boolean | false | persist the graph of sentiment
  +|===
  +
  +.Streaming mode
  +[source,cypher]
  +----
  +CALL apoc.nlp.aws.sentiment.stream(source:Node or List<Node>, {
  +  key: String,
  +  secret: String,
  +  nodeProperty: String
  +})
  +YIELD value
  +----
  +
  +.Graph mode
  +[source,cypher]
  +----
  +CALL apoc.nlp.aws.sentiment.graph(source:Node or List<Node>, {
     key: String,
     secret: String,
     nodeProperty: String,
  
positive.code: 
  [[apoc.nlp.aws.keyPhrases.graph.svg]]
  image::apoc.nlp.aws.keyPhrases.graph.svg[title="Pokemon key phrases graph"]
  
negative.code: [opts=header]
  |===
  | name | type | default | description
  | write | Boolean | false | persist the graph of key phrases
  | relationshipType | String | ENTITY | relationship type for relationships from source node to entity nodes
  |===
  
  