Coder Social home page Coder Social logo

nlp-lstm's Introduction

基于 LSTM 的多分类文本情感分析

文本情感分析系统设计

无论是在网上获取的文本(在微博、淘宝上的评论等)还是微信、QQ 上的日常对话,都是一些原生数据,在计算机看来是十分杂乱的。所以我们需要先对文本数据进行分词和词语整理,以及词频统计,同时过滤一些不常见的符号和生僻字,即首先需要一个文本预处理模块。其次,对于文本情感的分析我打算将其应用到日常的对话中,所以需要一个 模拟的对话情景来检验模型的泛化能力。所以还要设计一个模拟对话模块。最终该文本情感分析系统的概述流程如下图所示:

  • image

LSTM神经网络

长短期记忆 (long short-term memory, LSTM)神经网络引入了 3 个门,输入门(input gate)、遗忘门 (forget gate)和输出门 (output gate),以及与隐藏状态形状相同的记忆细胞,从而记录额外的信息。下图是标准的 LSTM 网络:

  • image

nlp-lstm's People

Contributors

laplacemon avatar

Stargazers

 avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

nlp-lstm'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.