我已经尝试了不同的方式在R中的tm.plugin.sentiment包中运行score()函数,但是我一直得到同样的错误。这是一个示例代码:
library(tm.plugin.webmining)
library(tm.plugin.sentiment)
cor <- WebCorpus(GoogleFinanceSource("NASDAQ:MSFT"))
tm_tag_score <- tm_term_score
corpus <- score(cor)
这是我得到的错误:
Error in score(cor) : could not find function "DMetaData"