---
title: "Google NLU"
description: "EMILY.RPA Google NLU module: analyse positive and negative sentiment and its intensity in text files using the Google Cloud NLU service."
source: https://docs.emily.tips/en/wap/txt2sentiment
---

# Google NLU

Use Google Cloud NLU service to analyze positive and negative sentiment and intensity in text files. The input is the result returned by NLU parsing.

![](https://docs.emily.tips/img/en/wap-281.png)

## Parameters

**`TXT FILE`** - The text input file. Click "**PICK**" to select a file, type a filename from the working folder, or use the **%FILENAME%** variable.

## Low-Code Editor

### input Object
```javascript
{
  documentSentiment,  // Overall document sentiment and intensity
  language,           // Specified document language
  sentences           // Sentence sentiment intensity array
}
```

The input object stores the complete structure returned by Google NLU. Refer to [Response data structure](https://docs.cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeSentiment#response-body)
