Git Product home page Git Product logo

nlp-sentiment-analysis's Introduction

nlp-sentiment-analysis

中文自然语言处理情感分析,多算法,多数据集

数据集

1

2W条书籍评价情感分析数据(正负)
链接:https://pan.baidu.com/s/1sQvWhXngi7kHS_97AfXdJw 密码:e5h9

2

谭松波--酒店评论语料
链接:https://pan.baidu.com/s/1N7VMCld0TuXCk5Htxz_LLA 密码:pgpo

操作步骤

1.处理数据文件格式
2.分词
3.特征工程,TFIDF,LSI,W2V
4.算法,LR,SVM,BAYES
5.效果评价

如何用不用

1.数据目录下的p1.py文件,生成分词后的词料库文件和word2vec语料库文件
2.tfidf.py生成TFIDF特征并用3种算法(LR,SVM,BAYES)分类,10折交叉验证
3.lsa.py生成LSA特征并用3种算法(LR,SVM,BAYES)分类,10折交叉验证
4.w2v_model.py生成word2vec模型
5.word2vector.py生成word2vec特征并用3种算法(LR,SVM,BAYES)分类,10折交叉验证

nlp-sentiment-analysis's People

Contributors

worry1613 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nlp-sentiment-analysis's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.