Support Article
Sentiment on Word document is incorrect
SA-91838
Summary
When executing a Sentiment on a Word document, it is stated as Neutral or Undetected. However, in the out-of-the-box Text Analyzers, the same words are categorized as a Positive or Negative sentiment. This occurs when using the Text Analyzer's Sentiment Analysis feature.
Error Messages
Not Applicable
Steps to Reproduce
Execute the Text Analyzer with Sentiment Analysis enabled.
Root Cause
A defect in Pegasystems’ code or rules.
In the Text Analyzer rule, for Sentiment Analysis the threshold values (decimal control) are modified for a few operator locales when the rule is saved. For a few locales, the decimal separator is considered as a comma (,). Hence on performing a Save, an incorrect value is saved to the rule.
Resolution
Perform the following local-change:
- When saving the rule, change the operator locale to en_US.
- Revert to the operator locale when the changes are completed to the rule.
Published October 22, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.