Skip to main content

languages

Creates, updates, deletes, gets or lists a languages resource.

Overview

Namelanguages
TypeResource
Idazure.ai_text_analytics.languages

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
languagesexecendpoint, id, textmodel-version, showStats, loggingOptOutDetect Language. The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. See the Supported languages in Text Analytics API for the list of enabled languages.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
loggingOptOutboolean(Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/ai/responsible-ai. Default value is None.
model-versionstring(Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. Default value is None.
showStatsboolean(Optional) if set to true, response will contain request and document level statistics. Default value is None.

Lifecycle Methods

Detect Language. The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. See the Supported languages in Text Analytics API for the list of enabled languages.

EXEC azure.ai_text_analytics.languages.languages 
@endpoint='{{ endpoint }}' --required,
@model-version='{{ model-version }}',
@showStats={{ showStats }},
@loggingOptOut={{ loggingOptOut }}
@@json=
'{
"id": "{{ id }}",
"text": "{{ text }}",
"countryHint": "{{ countryHint }}"
}'
;