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

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -