R中的「情感」包已從Cran存儲庫中刪除。什麼是可以進行輿情分析的其他軟件包?除了「情緒」之外還有其他什麼包可以做R中的情感分析嗎?
例如,我可以如何使用其他軟件包重寫?
library(sentiment)
# CLASSIFY EMOTIONS
classify_emotion(some_txt,algorithm="bayes",verbose=TRUE)
# classify polarity
class_pol = classify_polarity(some_txt, algorithm="bayes")
這裏哪裏文檔作爲定義:
# DEFINE text
some_txt<- c("I am very happy at stack overflow , excited, and optimistic.",
"I am very scared from OP question, annoyed, and irritated.")
qdap做了一個極性的事情,但它在這一點上是低水平的。本質上它是一個字典查找系統,可能無法很好地擴展到大型項目。它更多用於話語研究。 – 2013-03-04 04:14:50
你看過鏈接到這裏的工作流程和功能嗎? http://stackoverflow.com/q/10233087/1036500下面是其他兩種方法的摘要:https://sites.google。com/site/miningtwitter/questions/sentiment – Ben 2013-03-04 04:37:16
你可以這樣做,'library(sos); findFn('sentiment analysis')',你基本上有'qdap'和'textir',但也有'tm.plugin。情緒「的時間序列..在R-Forge中,」情感「套裝依然存在。 – agstudy 2013-03-04 04:38:57