Skip to main content

Detect Language

Description

This activity detects the Language of the provided text using Azure Cognitive Services.

note

This activity must be used within 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 though this activity fails. This field only supports Boolean values (True, False). The default value is False.
    note

    If this activity is inside Try Catch and the value of this property is True, it will ignore errors during the automation execution.

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

Detect Language