0
$\begingroup$

I am trying to find the words that are shared across the topics and words unique to a topic using LDA model in R. Is there any package or function?

Thanks

$\endgroup$

1 Answer 1

0
$\begingroup$

All words are shared among all topics, just with different probabilities, since a topic is just a probability distribution over the words.

Of course it is customary to display TOP-$n$ words to quote a topic. You may ask then which words in the TOP-10 or TOP-20 are shared between some topics. I don't know how to do this in R, I'd use a hash in perl or python to achieve this goal.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.