All Projects β†’ minasmz β†’ Sentiment-Analysis-with-LSTM-in-Persian

minasmz / Sentiment-Analysis-with-LSTM-in-Persian

Licence: other
sentiment analysis in Persian language by LSTM

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sentiment-Analysis-with-LSTM-in-Persian

Crypto trader
Q-Learning Based Cryptocurrency Trader and Portfolio Optimizer for the Poloniex Exchange
Stars: ✭ 184 (+557.14%)
Mutual labels:  sentiment-analysis
Aspect Based Sentiment Analysis
πŸ’­ Aspect-Based-Sentiment-Analysis: Transformer & Explainable ML (TensorFlow)
Stars: ✭ 206 (+635.71%)
Mutual labels:  sentiment-analysis
Malaya
Natural Language Toolkit for bahasa Malaysia, https://malaya.readthedocs.io/
Stars: ✭ 239 (+753.57%)
Mutual labels:  sentiment-analysis
Sentimentanalysis
Sentiment analysis neural network trained by fine-tuning BERT, ALBERT, or DistilBERT on the Stanford Sentiment Treebank.
Stars: ✭ 186 (+564.29%)
Mutual labels:  sentiment-analysis
Chinese ulmfit
δΈ­ζ–‡ULMFiT ζƒ…ζ„Ÿεˆ†ζž ζ–‡ζœ¬εˆ†η±»
Stars: ✭ 208 (+642.86%)
Mutual labels:  sentiment-analysis
Sentiment
AFINN-based sentiment analysis for Node.js.
Stars: ✭ 2,469 (+8717.86%)
Mutual labels:  sentiment-analysis
Multimodal Sentiment Analysis
Attention-based multimodal fusion for sentiment analysis
Stars: ✭ 172 (+514.29%)
Mutual labels:  sentiment-analysis
Darwinexlabs
Datasets, tools and more from Darwinex Labs - Prop Investing Arm & Quant Team @ Darwinex
Stars: ✭ 248 (+785.71%)
Mutual labels:  sentiment-analysis
Shifterator
Interpretable data visualizations for understanding how texts differ at the word level
Stars: ✭ 209 (+646.43%)
Mutual labels:  sentiment-analysis
Text Cnn Tensorflow
Convolutional Neural Networks for Sentence Classification(TextCNN) implements by TensorFlow
Stars: ✭ 232 (+728.57%)
Mutual labels:  sentiment-analysis
Mem absa
Aspect Based Sentiment Analysis using End-to-End Memory Networks
Stars: ✭ 189 (+575%)
Mutual labels:  sentiment-analysis
Nlp4han
δΈ­ζ–‡θ‡ͺ焢语言倄理ε·₯具集【断ε₯/εˆ†θ―/词性标注/组块/ε₯ζ³•εˆ†ζž/θ―­δΉ‰εˆ†ζž/NER/N元语法/HMM/代词梈解/ζƒ…ζ„Ÿεˆ†ζž/拼写检ζŸ₯】
Stars: ✭ 206 (+635.71%)
Mutual labels:  sentiment-analysis
Tutorials
AI-related tutorials. Access any of them for free β†’ https://towardsai.net/editorial
Stars: ✭ 204 (+628.57%)
Mutual labels:  sentiment-analysis
Datastories Semeval2017 Task4
Deep-learning model presented in "DataStories at SemEval-2017 Task 4: Deep LSTM with Attention for Message-level and Topic-based Sentiment Analysis".
Stars: ✭ 184 (+557.14%)
Mutual labels:  sentiment-analysis
Pytorch Sentiment Analysis
Tutorials on getting started with PyTorch and TorchText for sentiment analysis.
Stars: ✭ 3,209 (+11360.71%)
Mutual labels:  sentiment-analysis
Pytorch Sentiment Neuron
Stars: ✭ 178 (+535.71%)
Mutual labels:  sentiment-analysis
Cnn Text Classification Keras
Text Classification by Convolutional Neural Network in Keras
Stars: ✭ 213 (+660.71%)
Mutual labels:  sentiment-analysis
ml-book
Codice sorgente ed Errata Corrige del mio libro "A tu per tu col Machine Learning"
Stars: ✭ 16 (-42.86%)
Mutual labels:  sentiment-analysis
Tweetfeels
Real-time sentiment analysis in Python using twitter's streaming api
Stars: ✭ 249 (+789.29%)
Mutual labels:  sentiment-analysis
Bayesian sentiment analysis
Pragmatic & Practical Bayesian Sentiment Classifier
Stars: ✭ 224 (+700%)
Mutual labels:  sentiment-analysis

Sentiment-Analysis-in-Persian-Language_LSTM

Sentiment Analysis with LSTM in Persian

First Phase

Data Aquisition

In this repository I have used LSTM for prediction of whether people would like or dislike a product based on the previous comments in the Digikala site. I have scraped the data from Digikala and have labeled them based on the stars people who had bought the products gave to them. I have also used another label from the same website which indicates people suggest others to buy that products or not. because many of the comments are noisy and do not provide a clean data for us and it is not such a reliable source by adding the second label to the data we can ensure a higher accuracy of our training data. For more clarifying the labels: 1 indicates suggesting others to buy and 2 means otherwise, 3 illusterates a neutral opinion about the product and 4 means the person has rate the product, but not suggest whether to buy or not. and the two or three digits number indicates the satisfaction percentage of the consumer with the preceding comment.

You can reach this data in the "totalReviewWithSuggestion.csv" file.

Second Phase

Data Preparation

In this Phase I have cleaned my data with Hazm library and other modifications which has commented in my source code. Then, I have splitted my dataset to parts for training and testing.

Third Phase

Build your own Neural Network in Tensorflow for LSTM

I have built my own graph for calculation the sentiments of each sentence based on the scores mentioning above.

Forth Phase

compute the word embeddings

In this phase I have used the precious guide from other repository and I have included that in my repository in the "ipynb_checkpoints" folder for more guidence to who wants to become more familiar with ehat I have done. As it is mentioned there using a one-hot method is too cumbersome and unefficient I have prepared a dictionary of my vocabulary and convert that to a feature vector.

Fifth Phase

Training and Testing

I have trained and have tested the code on my own dataset which have high accuracy near 93 percent.

Thanks

Thanks to Mr. AminMozhgani for his devoted assistance through the project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].