Giter Club home page Giter Club logo

nijatzeynalov / sentiment-analyzer-for-azerbaijani-sentences. Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 4.6 MB

I have implemented Multi Layer Perceptron model to learn and predict the sentiment of sentence written in Azerbaijani. In order to perform this sentiment task, we use a mixture of baseline machine learning models and deep learning models to learn and predict the sentiment of binary reviews.

License: MIT License

Python 1.95% CSS 83.99% JavaScript 11.48% HTML 2.58%
sentiment-analyzer flask-application azerbaijani-sentences azerbaijani

sentiment-analyzer-for-azerbaijani-sentences.'s Introduction

SENTIMENT-ANALYZER-FOR-AZERBAIJANI-SENTENCES.

The goal of most sentiment tasks is to identify the overall sentiment polarity of the documents in question, i.e. is the sentiment of the document positive or negative? For our case, we will enter sentence in Azerbaijani and model will predict its sentiment. In order to perform this sentiment task, we use a mixture of baseline machine learning models and deep learning models to learn and predict the sentiment of binary reviews.

I have implemented Multi Layer Perceptron model to learn and predict the sentiment of sentences

ezgif com-video-to-gif (6)

This poses a supervised learning task. For this purpose, we will use bag-of-words features with machine learning algorithms which is very simply and efficient, while having the ability to achieve very high accuracy. We will develop a neural bag-of-words model, which collects high-level structural and semantic meaning of the words.

The project performs sentiment classification via neural bag-of-words approach. After preparing data and building model, I have deployed this project using Flask.

sentiment-analyzer-for-azerbaijani-sentences.'s People

Contributors

nijatzeynalov avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

erkin98

sentiment-analyzer-for-azerbaijani-sentences.'s Issues

UnpicklingError: invalid load key, 'H'

I have tried to test this repo but got this error

Traceback (most recent call last):
  File "/Users/sananguliyev/projects/SENTIMENT-ANALYZER-FOR-AZERBAIJANI-SENTENCES./flask_build.py", line 5, in <module>
    model = pickle.load(open('sent_azerbaijani.pkl', 'rb'))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.UnpicklingError: invalid load key, 'H'.

It would be perfect if we could add requirenments.txt file to make dependency install easier for other people.

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.