r - LDA topicmodel, how can I see the terms in the result -


i follow post topic analysis:

a gentle introduction topic modeling using r

i want view terms, should in ldaout.terms, however, see numbers instead of terms. how view terms?

ldaout.terms  topic 1 topic 2 topic 3 topic 4 topic 5 topic 6 topic 7 topic 8 topic 9 topic 10 [1,] "38"    "85"    "4"     "79"    "29"    "43"    "13"    "81"    "70"    "39"     

i find out problem dtm, created dtm

 dtm <- create_matrix(ss, language="english", removenumbers=true,     stemwords=true, weighting=weighttf) 

problem solved


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -