_ RMeCab ã®åºåã« topicmodels ã® LDA ãé©ç¨ library (RMeCab) test <- docMatrix2( "morikita") # ãã©ã«ããæå® install.packages("slam") library(slam) test.sparse <- as.simple_triplet_matrix( t(test) ) #ã¹ãã¼ã¹ãªè¡åã«å¤æ library (tm) # ãã®2è¡ã§éã¿ãè¨å® test.sparse2 <- as.DocumentTermMatrix ( test.sparse, weighting = weightTf ) # ## sudo apt-get install libgsl0-dev # Ubuntuã®å ´åï¼ãããå¿ è¦ install.packages("topicmodels") library(topic
{{#tags}}- {{label}}
{{/tags}}