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.

Property Alibaba Amazon Baidu Google IBM Microsoft SAP Tencent
Id - - 自然语言 - - - - 专有名词
Key 用户AccessKey Comprehend 自然语言 Natural Language
API
Natural Language
Understanding
Text Analytics - 专有名词
SecretKey 用户AccessKey Comprehend 自然语言 - - - - -
Username - - - - Natural Language
Understanding
(backward compatible)
- - -
Password - - - - For Natural Language
Understanding
(backward compatible)
- - -

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.