Azure Cognitive Service - Text Analytics - Detect Language Feature : Not able to detect Ukrainian and Vietnamese languages. Showing (Unknown) for detected language name and iso6391Name

Naveen Rangarajan 1 Reputation point
2021-06-21T12:15:24.187+00:00

Hi Guys,

I am using Azure Cognitive service Text Analytics, Language Detection feature in my application. However, the API is not able to detect Ukrainian and Vietnamese languages. And showing (Unknown) for detected language name and iso6391Name.

From the below link, it is said that, both the languages are supported.

https://learn.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support?tabs=language-detection

Please let me know why its not able to detect these two languages. Resource created in Central India region and have Visual Studio Enterprise Subscription.

Attached are the screen shots for 4 languages including Ukrainian and Vietnamese for comparison in POSTMAN. Please let me know if any more details are needed.

French
107586-french-detected.png

Turkish
107652-turkish-detected.png

Ukrainian
107643-ukrainian-notdetected.png

Vietnamese
107653-vietnamese-notdetected.png

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
519 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,601 questions
{count} votes

1 answer

Sort by: Most helpful
  1. R, Naveen 41 Reputation points
    2021-06-22T06:00:40.727+00:00

    Hi,

    Below are details requested. I updated with Italian and Japanese languages which are working.

    Italian and Japanese

    Request Body
    {
    "documents": [
    {
    "id": "1",
    "text": "Metodi diagnostici convenzionali in patologia dopo aver prelevato un campione di tessuto da un paziente"
    },
    {
    "id":"2",
    "text":"蛍光抗体検査、電子のためのグルタルアルデヒドでの固定顕微鏡学"
    }
    ]
    }

    Output

    {
    "documents": [
    {
    "id": "1",
    "detectedLanguage": {
    "name": "Italian",
    "iso6391Name": "it",
    "confidenceScore": 1.0
    },
    "warnings": []
    },
    {
    "id": "2",
    "detectedLanguage": {
    "name": "Japanese",
    "iso6391Name": "ja",
    "confidenceScore": 1.0
    },
    "warnings": []
    }
    ],
    "errors": [],
    "modelVersion": "2021-01-05"
    }

    Ukrainian and Vietnamese which is not working

    Request Body

    {
    "documents": [
    {
    "id": "1",
    "text": "Зусилля з метою комерціалізації біоконверсії лінгоцелюлозних сировинних ресурсів можуть потенційно"
    },
    {
    "id": "2",
    "text": "Sự đa dạng về các đặc điểm hóa lý của sinh khối xenlulo cho thấy nhu cầu về công nghệ tiền xử lý"
    }
    ]
    }

    Output

    {
    "documents": [
    {
    "id": "1",
    "detectedLanguage": {
    "name": "(Unknown)",
    "iso6391Name": "(Unknown)",
    "confidenceScore": 0.0
    },
    "warnings": []
    },
    {
    "id": "2",
    "detectedLanguage": {
    "name": "(Unknown)",
    "iso6391Name": "(Unknown)",
    "confidenceScore": 0.0
    },
    "warnings": []
    }
    ],
    "errors": [],
    "modelVersion": "2021-01-05"
    }

    name and iso6391Name are (Unknown)


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.