Detect
|
|||||
|
|
||||
Detects the language of text within a request
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Translate text from one language to another using Google Translate
- View and manage your data across Google Cloud Platform services
Input
This building block consumes 1 input parameters
| Name | Format | Description |
|---|---|---|
q[] |
STRING |
= Parameter name
= Format
|
q[] STRING |
Output
This building block provides 5 output parameters
| Name | Format | Description |
|---|---|---|
data |
OBJECT |
|
data.detections[][] |
OBJECT |
|
data.detections[][].confidence |
FLOAT |
The confidence of the detection result of this language |
data.detections[][].isReliable |
BOOLEAN |
A boolean to indicate is the language detection result reliable |
data.detections[][].language |
STRING |
The language we detected |
= Parameter name
= Format
|
data OBJECT |
|
data.detections[][] OBJECT |
|
data.detections[][].confidence FLOAT The confidence of the detection result of this language |
|
data.detections[][].isReliable BOOLEAN A boolean to indicate is the language detection result reliable |
|
data.detections[][].language STRING The language we detected |