I understand how generative model of topic modeling works; for each topic there is a distribution of words, and for each document there is a distribution of topics.
Question is how words are determined for each individual topic ? Does this change algorithm to algorithm ?
Edit:
Such as:
Topic-1 : internet, web, search etc.
Topic-2 : literature, novel, etc
I wonder how "internet, web, search" are chosen for topic-1. Why "internet" and "web" take place in same topic instead of separate topics? Is it because they frequently coexist in different documents?