Results of
Hello,
I am using "Apply Model (Documents)" object for getting sentiment score on tokenized data using my own created dictionary.
The output shows the tokenized data and the sentiment results, which is good, but no other attributes (that were entered to the input port) are presented.
This means that I cannot connect the sentiment results to the source.
How can I do that ?
Thanks,
DataMiner.
I am using "Apply Model (Documents)" object for getting sentiment score on tokenized data using my own created dictionary.
The output shows the tokenized data and the sentiment results, which is good, but no other attributes (that were entered to the input port) are presented.
This means that I cannot connect the sentiment results to the source.
How can I do that ?
Thanks,
DataMiner.
Tagged:
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,371RM Data ScientistHi@DataMiner,i've fixed this in the internal build. It is currently under review. At the moment you would need to use Merge Attributes to "join" row based.
Best,Martin
- Head of Data Science Services at RapidMiner -
Dortmund, Germany6
Answers
MarlaBot
What to you mean to the source?
If you want to save them, you can do it easily using a "Write" operator to add it into your file or use "Store" in order to save it into a new repository.
Hope it helps,
Jim.
The input into the "doc" port of the "Apply Model (Documents)" is:
1. Text attribute of tokenized words
2. Customer ID, so I will be able to match between the sentiment score I get and the customer who generated the text.
The problem is that the output doesn't contain the Customer ID attribute.
Thanks,
DataMiner.