microsoft / LightLDA

Scalable, fast, and lightweight system for large-scale topic modeling
http://www.dmtk.io
MIT License
842 stars 235 forks source link

how can i get the topic of each word in train set like GibbsLDA++ #48

Closed hemengfei closed 7 years ago

feiga commented 7 years ago

Hi, the topic of each word stores in the data block. See https://github.com/Microsoft/LightLDA/blob/master/src/document.h#L36

Traverse the data you can get this information.