Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
How to add frequent words of each document in the result of word lists?
PONYB
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
Find more posts tagged with
AI Studio
Text Mining + NLP
Accepted answers
kayman
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.
kayman
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 format
All comments
kayman
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.
PONYB
@kayman
It doesn't work. Do you mean this process?
please correct me, if I'm wrong.
kayman
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 format
PONYB
@kayman
It's working as you told me. Thank you so much
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups