Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
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