The Altair Community and the RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here.
Options
How to add frequent words of each document in the result of word lists?
I could list word list like this
but I want to add frequent words of each document in the result of word lists like picture below. Thank you![Image: https://us.v-cdn.net/6030995/uploads/editor/n8/c60bm37rkcde.png](https://us.v-cdn.net/6030995/uploads/editor/n8/c60bm37rkcde.png)
![Image: https://us.v-cdn.net/6030995/uploads/editor/ed/emuoalxkfqk6.png](https://us.v-cdn.net/6030995/uploads/editor/ed/emuoalxkfqk6.png)
![Image: https://us.v-cdn.net/6030995/uploads/editor/n8/c60bm37rkcde.png](https://us.v-cdn.net/6030995/uploads/editor/n8/c60bm37rkcde.png)
Tagged:
0
Best Answers
-
Options
kayman Member Posts: 662
Unicorn
If you want the words per document you need to create a special label attribute, easiest can be to generate an id first with the 'generate id' operator (but tick create nominal ids).
Next change role with the 'set role' operator from 'id' to 'label'.
Now you will have all words per label, or in your case by document.0 -
Options
kayman Member Posts: 662
Unicorn
You need to generate the id (and label) before the process documents operator, as this operator needs the label to 'group' your words.
You will also need to use the wor (wordlist) output of the process documents operator, asthis will provide the expected format1
Answers
It doesn't work. Do you mean this process?
please correct me, if I'm wrong.