Hi! I cannot apply loadDictionaryIMDB() to the function analyzeSentiment. My code now is as follows: sentiment = analyzeSentiment(corpus, rules=list("Sentiment"=list(ruleLinearModel, loadDictionaryIMDB())))
I get the following message: Error in rule[[1]](x, rule[[2:length(rule)]]) : Rule does not support dictionary type
How can I solve this issue?
Hi! I cannot apply loadDictionaryIMDB() to the function analyzeSentiment. My code now is as follows: sentiment = analyzeSentiment(corpus, rules=list("Sentiment"=list(ruleLinearModel, loadDictionaryIMDB())))
I get the following message: Error in rule[[1]](x, rule[[2:length(rule)]]) : Rule does not support dictionary type
How can I solve this issue?