Determines the language of a written text.
x
The following table resumes the configuration properties (access credentials) you must set in order to use this AI task.
|
PropertyKey |
ProviderType |
Id |
Key |
SecretKey |
Alibaba |
- |
- |
- |
Amazon |
- |
Comprehend |
Comprehend |
Baidu |
通用翻译 |
通用翻译 |
通用翻译 |
Google |
- |
Cloud Translation API |
- |
IBM |
- |
Language Translator |
- |
Microsoft |
- |
Translator Text |
- |
MLKit |
ML Kit API |
ML Kit API |
- |
SAP |
- |
Sandbox Environment
(Deprecated) |
- |
Tencent |
语种识别 |
语种识别 |
- |
Taking the following text as input, the table below shows the identified language for each provider (as a JSON structure) and the time it takes for processing it.
"The first question that comes up is: What is GeneXus? GeneXus is a tool that automatically generates software programs such as applications for the Web, and Smart Devices, always at the forefront of technological evolution."
tr style="border-bottom: 1.0px solid silver;">
Provider |
Output |
Benchmark |
Alibaba |
N/A |
N/A |
Amazon |
{
"label": "en",
"confidence": 0.994
}
|
1016ms |
Baidu |
{
"label": "en",
"confidence": 1.000
}
|
2460ms |
Google |
{
"label": "en",
"confidence": 1.000
}
|
817ms |
IBM |
{
"label": "en",
"confidence": 0.999
}
|
3595ms |
Microsoft |
{
"label": "en",
"confidence": 1.000
}
|
2912ms |
MLKit |
{
"label": "en",
"confidence": 1.000
}
|
135ms |
SAP |
{
"label": "en",
"confidence": 1.000
}
|
2355ms |
Tencent |
{
"label": "en",
"confidence": 1.000
}
|
3148ms |
And, by taking a language ambiguous source text as follows.
"The first question that comes up is: ¿Qué es GeneXus? GeneXus is a tool that automatically generates software programs como aplicaciones Web, y Smart Devices, always at the forefront of la evolución tecnlológica."
Provider |
Output |
Benchmark |
Alibaba |
N/A |
N/A |
Amazon |
{
"label": "en",
"confidence": 0.807
}
|
1049ms |
Baidu |
{
"label": "spa",
"confidence": 1
}
|
2747ms |
Google |
{
"label": "en",
"confidence": 0.855
}
|
703ms |
IBM |
{
"label": "es",
"confidence": 0.797
}
|
3595ms |
Microsoft |
{
"label": "en",
"confidence": 1.000
}
|
2912ms |
MLKit |
{
"label": "en",
"confidence": 1.000
}
|
210ms |
SAP |
{
"label": "en",
"confidence": 0.999
}
|
2989ms |
Tencent |
{
"label": "en",
"confidence": 1.000
}
|
2293ms |
- The label assigned will be a two-letter code according to the ISO 639-1.
This procedure is available as of GeneXus 16.