TextSentiment .setOpinionMining not returning opinion mining results
See original GitHub issueDescribe the bug
Using .setOpinionMining(True) in Pyspark does not return opinion mining results on Azure Synapse Analytics
To Reproduce
- Using Pyspark, create the object e.g. (TextSentiment().setOpinionMining(True)…etc.
- Run the results with a loaded dataframe
- Results is indifferent from not setting the Opinion Mining
Expected behavior
Resulted JSON to include opinion mining results .i.e. “targets” and “assessments”.
Also tested comparable lib (azure.ai) and Rest API calls (v3 and v22.05.01). All 3 are returning opinion mining results when the opinionMining flag/key is included.
Info (please complete the following information):
- SynapseML Version: [e.g. v0.17]
- Spark Version [e.g. 2.4.3]
- Spark Platform [e.g. Databricks]
** Stacktrace**
Please post the stacktrace here if applicable
If the bug pertains to a specific feature please tag the appropriate CODEOWNER for better visibility
Additional context Add any other context about the problem here.
AB#1890098
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
How to perform sentiment analysis and opinion mining
Using the sentiment analysis and opinion mining features synchronously is stateless. No data is stored in your account, and results are returned ...
Read more >opinion mining not working as expected. · Issue #21193 - GitHub
Hi @ShivanshuPurohit, thanks for your issue. With your code, I'm able to reproduce that no opinion mining results are generated from that input....
Read more >Solved: PowerBI- Text Analytics (sentiment/opinion mining)...
I have: created a fresh file and dashboard, with a new Azure resource- both files are now returning the same results (running on...
Read more >Sentiment Analysis and Opinion Mining - Computer Science
accurate results. We simply used our Opinion Parser system to analyze positive and negative opinions about each movie with no additional.
Read more >Guide to Text Mining with Sentiment Analysis
Text mining with sentiment analysis offers powerful data analysis insights and dynamic results, no matter the type of text you need to analyze....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @kenshinee You need to create a spark 3.2 pool and add above config in the first cell of your code to install SynapseML v0.10.0. We will add it into Synapse Analytics as default at some point, but at this time you need to install it yourself 😃
Thank you! this is a known issue and it should be fixed in v0.10.0