【发布时间】:2016-05-19 21:56:31
【问题描述】:
twitter 有没有情绪模型?我正在使用斯坦福 NLP 进行情感分析,但如果句子中有任何不合语法的问题,它总是会给出否定的结果。这可能是由基于电影评论的默认训练模型引起的。所以我需要一个训练有素的情感模型,用于像 twitter 中的非结构化或不合语法的句子,我可以像这样设置“sentiment.model”:
Properties props = new Properties();
props.setProperty("annotators", "tokenize, ssplit, parse,sentiment");
props.put("sentiment.model", "sentiment.ser.gz");
pipeline = new StanfordCoreNLP(props);
【问题讨论】:
标签: twitter model nlp stanford-nlp