Giter Club home page Giter Club logo

emotionanalysis's Introduction

EmotionAnalysis

工程不包含jar包,需要的jar包在lib文件夹下的jarFile中有说明。 testFile中test.sample是测试文件,testResult.txt是预测结果文件。

1.输入文本内容,判断从文本中读入的每行内容,若句子为空或者句子格式错误,则抛出异常。格式为:句子ID\t句子内容。

2.对句子内容做分词处理。使用jieba(开源)分词工具,jieba分词时可以依赖用户词典,这样分词时会根据用户自定义的词语组合来分词,用户词典为.dict文件。

3.对分好的词做词性标注和依存句法分析。使用Stanford-parser开源工具包。

4.抽取符合条件的特征词。

5.特征词极性标注。输出结果,格式为:句子ID\t特征词\t极性。

emotionanalysis's People

Contributors

lihait avatar

Watchers

James Cloos avatar

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.