Topic modeling software (e.g., Mallet) goes through a document, and does word counts. On the basis of that, it determines the relative importance of the various concepts in the document. LK Question on Topic Modeling Reply