【问题标题】:Looking for sentiment model for twitter using Stanford NLP使用斯坦福 NLP 寻找 Twitter 的情感模型
【发布时间】: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


    【解决方案1】:

    您可以创建自己的模型并重新训练它: http://nlp.stanford.edu/sentiment/code.html

    【讨论】:

    • 是的,但我不是母语人士,这就是为什么我在这里寻找一个做得好的模特:)
    猜你喜欢
    • 1970-01-01
    • 2014-12-21
    • 2017-06-06
    • 2017-06-20
    • 2023-03-23
    • 2014-04-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多