Detect Language
Description
This Activity detects the Language of the provided text using Azure Cognitive Services.
note
This Activity works only inside the Azure Context activity.
Properties
Input
- Document Text – Specify the Text to submit for language detection.
Misc
- DisplayName – Add a display name to your Activity.
- Private – Logs the variable and argument values at the Verbose level when unchecked.
Optional
- Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
note
Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.
Output
- Detected Language – The service detects and returns the Language using the document text.
- Detected Language Code – Returns the Shortcode of detected Language in ISO 639-1 format. Refer: List of ISO 639-1 codes
- Confidence Score – A score between 0 and 100 represents the Confidence of the detection.
- Raw Response - JSON string containing the response received as is from Azure.
Example
Download Example