The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Texblob similar function in rapidMiner
HeikoeWin786
Member Posts: 64 Contributor I
in Help
Dear all,
I want to calculate subjectivity for each of the user review comment in my dataset i.e. in excel. I learnt Textblob in Python can detect the subjectivity. But, I am not sure which operator to be used in rapid miner.
Basically, I want to identify the subjectivity of each user comments by subjectivity score for each sentence. The comments are in excel, the output is to add one new column as subjectivity score.
Could you kindly please share any idea on this?
Thanks much in advance,
Heikoe
I want to calculate subjectivity for each of the user review comment in my dataset i.e. in excel. I learnt Textblob in Python can detect the subjectivity. But, I am not sure which operator to be used in rapid miner.
Basically, I want to identify the subjectivity of each user comments by subjectivity score for each sentence. The comments are in excel, the output is to add one new column as subjectivity score.
Could you kindly please share any idea on this?
Thanks much in advance,
Heikoe
0
Best Answer
-
kayman Member Posts: 662 UnicornYou can use the python operator and just use textblob as you are used to. The recordset is converted into a pandas frame (and returned as one), You could iterate to the pandas frame (or use a lambda function) , add the subjectivity score as a new field and it will be added to the output so you get it as a new attribute.
6
Answers
Hello Kayman, I had tried that and it works as explained. superb! Thanks much for your explanation here
Best regards,
Heikoe