Delen via


Text Analysis Authoring - Get Supported Languages

Een lijst met de ondersteunde talen.

GET {Endpoint}/language/authoring/analyze-text/projects/global/languages?api-version=2023-04-01
GET {Endpoint}/language/authoring/analyze-text/projects/global/languages?api-version=2023-04-01&projectKind={projectKind}&top={top}&skip={skip}&maxpagesize={maxpagesize}

URI-parameters

Name In Vereist Type Description
Endpoint
path True

string

url

Ondersteund Cognitive Services-eindpunt, bijvoorbeeld https://.api.cognitiveservices.azure.com.

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

maxpagesize
query

integer

int32

Het maximum aantal resultaatitems per pagina.

projectKind
query

ProjectKind

Het projecttype, de standaardwaarde is CustomSingleLabelClassification.

skip
query

integer

int32

Het aantal resultaatitems dat moet worden overgeslagen.

top
query

integer

int32

Het aantal resultaatitems dat moet worden geretourneerd.

Antwoorden

Name Type Description
200 OK

PagedTextAnalysisAuthoringSupportedLanguage

De aanvraag is voltooid.

Other Status Codes

ErrorResponse

Een onverwachte foutreactie.

Beveiliging

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

OAuth2Auth

Type: oauth2
Stroom: accessCode
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize
Token-URL: https://login.microsoftonline.com/common/oauth2/token

Bereiken

Name Description
https://cognitiveservices.azure.com/.default

Voorbeelden

SuccessfulGetSupportedLanguages

Voorbeeldaanvraag

GET {Endpoint}/language/authoring/analyze-text/projects/global/languages?api-version=2023-04-01

Voorbeeldrespons

{
  "value": [
    {
      "languageName": "English",
      "languageCode": "en"
    },
    {
      "languageName": "English",
      "languageCode": "en-us"
    },
    {
      "languageName": "French",
      "languageCode": "fr"
    },
    {
      "languageName": "Italian",
      "languageCode": "it"
    },
    {
      "languageName": "Spanish",
      "languageCode": "es"
    },
    {
      "languageName": "German",
      "languageCode": "de"
    },
    {
      "languageName": "Portuguese (Brazil)",
      "languageCode": "pt-br"
    },
    {
      "languageName": "Portuguese (Portugal)",
      "languageCode": "pt-pt"
    },
    {
      "languageName": "Afrikaans",
      "languageCode": "af"
    },
    {
      "languageName": "Amharic",
      "languageCode": "am"
    },
    {
      "languageName": "Arabic",
      "languageCode": "ar"
    },
    {
      "languageName": "Assamese",
      "languageCode": "as"
    },
    {
      "languageName": "Azerbaijani",
      "languageCode": "az"
    },
    {
      "languageName": "Belarusian",
      "languageCode": "be"
    },
    {
      "languageName": "Bulgarian",
      "languageCode": "bg"
    },
    {
      "languageName": "Breton",
      "languageCode": "br"
    },
    {
      "languageName": "Bosnian",
      "languageCode": "bs"
    },
    {
      "languageName": "Catalan",
      "languageCode": "ca"
    },
    {
      "languageName": "Czech",
      "languageCode": "cs"
    },
    {
      "languageName": "Welsh",
      "languageCode": "cy"
    },
    {
      "languageName": "Danish",
      "languageCode": "da"
    },
    {
      "languageName": "Greek",
      "languageCode": "el"
    },
    {
      "languageName": "Esperanto",
      "languageCode": "eo"
    },
    {
      "languageName": "Estonian",
      "languageCode": "et"
    },
    {
      "languageName": "Basque",
      "languageCode": "eu"
    },
    {
      "languageName": "Persian",
      "languageCode": "fa"
    },
    {
      "languageName": "Finnish",
      "languageCode": "fi"
    },
    {
      "languageName": "Western Frisian",
      "languageCode": "fy"
    },
    {
      "languageName": "Irish",
      "languageCode": "ga"
    },
    {
      "languageName": "Scottish Gaelic",
      "languageCode": "gd"
    },
    {
      "languageName": "Galician",
      "languageCode": "gl"
    },
    {
      "languageName": "Gujarati",
      "languageCode": "gu"
    },
    {
      "languageName": "Hausa",
      "languageCode": "ha"
    },
    {
      "languageName": "Hebrew",
      "languageCode": "he"
    },
    {
      "languageName": "Hindi",
      "languageCode": "hi"
    },
    {
      "languageName": "Croatian",
      "languageCode": "hr"
    },
    {
      "languageName": "Hungarian",
      "languageCode": "hu"
    },
    {
      "languageName": "Armenian",
      "languageCode": "hy"
    },
    {
      "languageName": "Indonesian",
      "languageCode": "id"
    },
    {
      "languageName": "Japanese",
      "languageCode": "ja"
    },
    {
      "languageName": "Javanese",
      "languageCode": "jv"
    },
    {
      "languageName": "Georgian",
      "languageCode": "ka"
    },
    {
      "languageName": "Kazakh",
      "languageCode": "kk"
    },
    {
      "languageName": "Khmer",
      "languageCode": "km"
    },
    {
      "languageName": "Kannada",
      "languageCode": "kn"
    },
    {
      "languageName": "Korean",
      "languageCode": "ko"
    },
    {
      "languageName": "Kurdish (Kurmanji)",
      "languageCode": "ku"
    },
    {
      "languageName": "Kyrgyz",
      "languageCode": "ky"
    },
    {
      "languageName": "Latin",
      "languageCode": "la"
    },
    {
      "languageName": "Lao",
      "languageCode": "lo"
    },
    {
      "languageName": "Lithuanian",
      "languageCode": "lt"
    },
    {
      "languageName": "Latvian",
      "languageCode": "lv"
    },
    {
      "languageName": "Malagasy",
      "languageCode": "mg"
    },
    {
      "languageName": "Macedonian",
      "languageCode": "mk"
    },
    {
      "languageName": "Malayalam",
      "languageCode": "ml"
    },
    {
      "languageName": "Mongolian",
      "languageCode": "mn"
    },
    {
      "languageName": "Marathi",
      "languageCode": "mr"
    },
    {
      "languageName": "Malay",
      "languageCode": "ms"
    },
    {
      "languageName": "Burmese",
      "languageCode": "my"
    },
    {
      "languageName": "Nepali",
      "languageCode": "ne"
    },
    {
      "languageName": "Dutch",
      "languageCode": "nl"
    },
    {
      "languageName": "Norwegian (Bokmal)",
      "languageCode": "nb"
    },
    {
      "languageName": "Odia",
      "languageCode": "or"
    },
    {
      "languageName": "Punjabi",
      "languageCode": "pa"
    },
    {
      "languageName": "Polish",
      "languageCode": "pl"
    },
    {
      "languageName": "Pashto",
      "languageCode": "ps"
    },
    {
      "languageName": "Romanian",
      "languageCode": "ro"
    },
    {
      "languageName": "Russian",
      "languageCode": "ru"
    },
    {
      "languageName": "Sanskrit",
      "languageCode": "sa"
    },
    {
      "languageName": "Sindhi",
      "languageCode": "sd"
    },
    {
      "languageName": "Sinhala",
      "languageCode": "si"
    },
    {
      "languageName": "Slovak",
      "languageCode": "sk"
    },
    {
      "languageName": "Slovenian",
      "languageCode": "sl"
    },
    {
      "languageName": "Somali",
      "languageCode": "so"
    },
    {
      "languageName": "Albanian",
      "languageCode": "sq"
    },
    {
      "languageName": "Serbian",
      "languageCode": "sr"
    },
    {
      "languageName": "Sundanese",
      "languageCode": "su"
    },
    {
      "languageName": "Swedish",
      "languageCode": "sv"
    },
    {
      "languageName": "Swahili",
      "languageCode": "sw"
    },
    {
      "languageName": "Tamil",
      "languageCode": "ta"
    },
    {
      "languageName": "Telugu",
      "languageCode": "te"
    },
    {
      "languageName": "Thai",
      "languageCode": "th"
    },
    {
      "languageName": "Filipino",
      "languageCode": "tl"
    },
    {
      "languageName": "Turkish",
      "languageCode": "tr"
    },
    {
      "languageName": "Uyghur",
      "languageCode": "ug"
    },
    {
      "languageName": "Ukrainian",
      "languageCode": "uk"
    },
    {
      "languageName": "Urdu",
      "languageCode": "ur"
    },
    {
      "languageName": "Uzbek",
      "languageCode": "uz"
    },
    {
      "languageName": "Vietnamese",
      "languageCode": "vi"
    },
    {
      "languageName": "Xhosa",
      "languageCode": "xh"
    },
    {
      "languageName": "Yiddish",
      "languageCode": "yi"
    },
    {
      "languageName": "Chinese (Simplified)",
      "languageCode": "zh-hans"
    },
    {
      "languageName": "Chinese (Traditional)",
      "languageCode": "zh-hant"
    }
  ],
  "nextLink": null
}

Definities

Name Description
Error

Het foutobject.

ErrorCode

Leesbare foutcode.

ErrorResponse

Foutreactie.

InnerErrorCode

Leesbare foutcode.

InnerErrorModel

Een object met meer specifieke informatie over de fout. Volgens de richtlijnen voor Microsoft One-API- https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

PagedTextAnalysisAuthoringSupportedLanguage

Gepaginade verzameling TextAnalysisAuthoringSupportedLanguage-items

ProjectKind
TextAnalysisAuthoringSupportedLanguage

Vertegenwoordigt een ondersteunde taal.

Error

Het foutobject.

Name Type Description
code

ErrorCode

Een van een door de server gedefinieerde set foutcodes.

details

Error[]

Een matrix met details over specifieke fouten die hebben geleid tot deze gemelde fout.

innererror

InnerErrorModel

Een object met meer specifieke informatie dan het huidige object over de fout.

message

string

Een leesbare weergave van de fout.

target

string

Het doel van de fout.

ErrorCode

Leesbare foutcode.

Name Type Description
AzureCognitiveSearchIndexLimitReached

string

AzureCognitiveSearchIndexNotFound

string

AzureCognitiveSearchNotFound

string

AzureCognitiveSearchThrottling

string

Conflict

string

Forbidden

string

InternalServerError

string

InvalidArgument

string

InvalidRequest

string

NotFound

string

OperationNotFound

string

ProjectNotFound

string

QuotaExceeded

string

ServiceUnavailable

string

Timeout

string

TooManyRequests

string

Unauthorized

string

Warning

string

ErrorResponse

Foutreactie.

Name Type Description
error

Error

Het foutobject.

InnerErrorCode

Leesbare foutcode.

Name Type Description
AzureCognitiveSearchNotFound

string

AzureCognitiveSearchThrottling

string

EmptyRequest

string

ExtractionFailure

string

InvalidCountryHint

string

InvalidDocument

string

InvalidDocumentBatch

string

InvalidParameterValue

string

InvalidRequest

string

InvalidRequestBodyFormat

string

KnowledgeBaseNotFound

string

MissingInputDocuments

string

ModelVersionIncorrect

string

UnsupportedLanguageCode

string

InnerErrorModel

Een object met meer specifieke informatie over de fout. Volgens de richtlijnen voor Microsoft One-API- https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

Name Type Description
code

InnerErrorCode

Een van een door de server gedefinieerde set foutcodes.

details

object

Foutdetails.

innererror

InnerErrorModel

Een object met meer specifieke informatie dan het huidige object over de fout.

message

string

Foutmelding.

target

string

Foutdoel.

PagedTextAnalysisAuthoringSupportedLanguage

Gepaginade verzameling TextAnalysisAuthoringSupportedLanguage-items

Name Type Description
nextLink

string

De koppeling naar de volgende pagina met items

value

TextAnalysisAuthoringSupportedLanguage[]

De textAnalysisAuthoringSupportedLanguage-items op deze pagina

ProjectKind

Name Type Description
CustomEntityRecognition

string

Voor het bouwen van een extractiemodel om uw domeincategorieën te identificeren met behulp van uw eigen gegevens.

CustomMultiLabelClassification

string

Voor het bouwen van een classificatiemodel om tekst te classificeren met behulp van uw eigen gegevens. Elk bestand kan een of meer labels hebben. Bestand 1 is bijvoorbeeld geclassificeerd als A, B en C en bestand 2 is geclassificeerd als B en C.

CustomSingleLabelClassification

string

Voor het bouwen van een classificatiemodel om tekst te classificeren met behulp van uw eigen gegevens. Elk bestand heeft slechts één label. Bestand 1 is bijvoorbeeld geclassificeerd als A en bestand 2 wordt geclassificeerd als B.

TextAnalysisAuthoringSupportedLanguage

Vertegenwoordigt een ondersteunde taal.

Name Type Description
languageCode

string

De taalcode. Dit is BCP-47-weergave van een taal. Bijvoorbeeld "en" voor Engels, "en-gb" voor Engels (VK), "es" voor Spaans, enzovoort.

languageName

string

De naam van de taal.