Aspect-Based Sentiment Analysis Using Meaning Cloud

DodgersDodgers Member Posts: 6 Newbie
Hello,

Has anyone used Meaning Clouds operator to conduct an aspect-based sentiment analysis.

There is no tutorial or sample process showing how to use this operator.

Has anyone any guidance from using it?

Thanks

Answers

  • ceaperezceaperez Member Posts: 321 Unicorn
    Hi @Dodgers

    This is a tutorial of Rapidminer and Meaningcloud. 
    https://www.meaningcloud.com/blog/relationship-between-product-scores-and-text-review-sentiment
    The aspect-based analysis is quite similar
    I hope this can help you. 

    Best, 

    Cesar
  • DodgersDodgers Member Posts: 6 Newbie
    Hello,

    I keep getting an error message when I use MeaningCloud operators. I've used the generic toolbox "extract sentiment" operator and it works perfect on my data. But this is not granular enough.

    But when I try use MeaningCloud Aspect based operator I get the 212 error message "No content to analyse"

    Attached is my workflow. I also have attached the error message I get.

    Could someone assist with what is wrong?

    Thanks

  • ceaperezceaperez Member Posts: 321 Unicorn
    Hi @Dodgers

    I use to have this problem with Meaningcloud. It occurs sometimes when  you lose the communication with the API. 
    In order to verify if my process is good, I use to work with a reduced exampleset (using Sample Operator) and monitoring the log in Rapidminer. 

    Best, 

    Cesar
  • DodgersDodgers Member Posts: 6 Newbie
    Hello Cesar,

    So, using a sample to test the process does appear to make it work on the sample data.

    However, does this not work then on larger sizes of datasets?

    I have around 8000 rows on my dataset which I wouldn't of considered to be that large of dataset. 

    But it won't run on the full dataset. Only if I use the sample operator.

    Thanks
  • DodgersDodgers Member Posts: 6 Newbie
    Okay, so once I take the sample operator out it just returns an error.

    Can someone help please?
  • MarcoBarradasMarcoBarradas Administrator, Employee, RapidMiner Certified Analyst, Member Posts: 233 Unicorn
    edited June 21
    Hi @Dodgers ,
    You can use the Loop Batches operator to split your DS into smaller batches that can be handled by the API.

    You'll need to store the output to a DS or write it back to a Database to keep the results of each run. That way you can overcome that error. 

    Also use a Handle Exception operator to avoid loosing your results in case the AP throws and error on any of the batches.

    Also check on the meaning cloud end what is the limit rate they put on their API. 
  • DodgersDodgers Member Posts: 6 Newbie
    Hello,

    How would this process handle results? As in, will it return results at the end for all batches together?

    Also, where in the process would "Handle Exception" go?


    Thanks
  • DodgersDodgers Member Posts: 6 Newbie
    In relation to MeaningCloud... I have reached out to them on this. However, they have not responded. I would not rate their customer service!
  • MarcoBarradasMarcoBarradas Administrator, Employee, RapidMiner Certified Analyst, Member Posts: 233 Unicorn
    Hi @Dodgers you should use the handle exception to wrap all the steps that are related to the meaning cloud operator. 
    The handle exception catches the error and lets you perform some steps to continue your process.

    You can check how it works in the follwing video from academy.


    Error and exception handling in a process | RapidMiner

Sign In or Register to comment.