SentimentAnalysis procedure

Official Content
This documentation is valid for:

Analyze the sentiment transmitted in a written text.

Parameters

x

Configuration

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 - 用户 AccessKey 用户 AccessKey
Amazon - Comprehend Comprehend
Baidu 自然语言 自然语言 自然语言
Google - Natural Language API -
IBM - Natural Language Understanding -
Microsoft - Text Analytics -
SAP - - -
Tencent 专有名词 专有名词 -

Sample

Taking the following text as input, the table below shows the score given 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."

Provider Output Benchmark
Alibaba 1.000 (positive) 790ms
Amazon 0.539 (almost neutral) 877ms
Baidu 0.529 (almost neutral) 803ms
Google 0.550 (almost neutral) 1310ms
IBM 0.969 (mostly positive) 1477ms
Microsoft 0.500 (neutral) 1134ms
SAP N/A N/A
Tencent 0.500 (neutral) 1253ms

Scope

Platforms Web(.NET,.NETCore,Java), SmartDevices(Android,iOS)
Connectivity Online

Availability

This procedure is available as of GeneXus 16.

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.