All Projects → mananshah99 → sentR

mananshah99 / sentR

Licence: MIT License
Simple sentiment analysis framework for R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to sentR

LSX
A word embeddings-based semi-supervised model for document scaling
Stars: ✭ 42 (+35.48%)
Mutual labels:  sentiment-analysis
billboard
🎤 Lyrics/associated NLP data for Billboard's Top 100, 1950-2015.
Stars: ✭ 53 (+70.97%)
Mutual labels:  sentiment-analysis
sentiment-thermometer
Measure the sentiment towards a word, name or sentence on social networks
Stars: ✭ 56 (+80.65%)
Mutual labels:  sentiment-analysis
Aspect-Based-Sentiment-Analysis
No description or website provided.
Stars: ✭ 29 (-6.45%)
Mutual labels:  sentiment-analysis
Movie-Recommendation-System-with-Sentiment-Analysis
Content based movie recommendation system with sentiment analysis
Stars: ✭ 44 (+41.94%)
Mutual labels:  sentiment-analysis
Sentiment-Analysis-Play-Store-Reviews
Sentiment Analyser: Sentiment Analysis of user feedback in Play Store to improve app quality!
Stars: ✭ 22 (-29.03%)
Mutual labels:  sentiment-analysis
MemNet ABSA
No description or website provided.
Stars: ✭ 20 (-35.48%)
Mutual labels:  sentiment-analysis
amazon-rekognition-engagement-meter
The Engagement Meter calculates and shows engagement levels of an audience participating in a meeting
Stars: ✭ 49 (+58.06%)
Mutual labels:  sentiment-analysis
Persian-Sentiment-Analyzer
Persian sentiment analysis ( آناکاوی سهش های فارسی | تحلیل احساسات فارسی )
Stars: ✭ 30 (-3.23%)
Mutual labels:  sentiment-analysis
NRC-Persian-Lexicon
NRC Word-Emotion Association Lexicon
Stars: ✭ 30 (-3.23%)
Mutual labels:  sentiment-analysis
stock-news-sentiment-analysis
This program uses Vader SentimentIntensityAnalyzer to calculate the news headline overall sentiment for a stock
Stars: ✭ 21 (-32.26%)
Mutual labels:  sentiment-analysis
FinBERT
A Pretrained BERT Model for Financial Communications. https://arxiv.org/abs/2006.08097
Stars: ✭ 193 (+522.58%)
Mutual labels:  sentiment-analysis
vista-net
Code for the paper "VistaNet: Visual Aspect Attention Network for Multimodal Sentiment Analysis", AAAI'19
Stars: ✭ 67 (+116.13%)
Mutual labels:  sentiment-analysis
Sentic-GCN
[KBS] Aspect-based sentiment analysis via affective knowledge enhanced graph convolutional networks
Stars: ✭ 19 (-38.71%)
Mutual labels:  sentiment-analysis
TwEater
A Python Bot for Scraping Conversations from Twitter
Stars: ✭ 16 (-48.39%)
Mutual labels:  sentiment-analysis
Stocksent
A Python library for sentiment analysis of various tickers from the latest news by trusted sources, and tools to plot results. 📈📊📰
Stars: ✭ 35 (+12.9%)
Mutual labels:  sentiment-analysis
kesci-urdu-sentiment-analysis
sentiment-analysis
Stars: ✭ 70 (+125.81%)
Mutual labels:  sentiment-analysis
Kaggle-Twitter-Sentiment-Analysis
Kaggle Twitter Sentiment Analysis Competition
Stars: ✭ 18 (-41.94%)
Mutual labels:  sentiment-analysis
ML2017FALL
Machine Learning (EE 5184) in NTU
Stars: ✭ 66 (+112.9%)
Mutual labels:  sentiment-analysis
DeepSentiPers
Repository for the experiments described in the paper named "DeepSentiPers: Novel Deep Learning Models Trained Over Proposed Augmented Persian Sentiment Corpus"
Stars: ✭ 17 (-45.16%)
Mutual labels:  sentiment-analysis

SentR is an R package that provides functional sentiment analysis utilities with complete documentation and simple workflow integration.

Install Build Status

  1. Open the R shell (32 or 64 bit)
  2. Install devtools: run install.packages('devtools')
  3. Require devtools: run require('devtools')
  4. Install sentR@latest: run install_github('mananshah99/sentR')

Sentiment Scoring Examples

Input:

require('sentR')

# Create small vectors for happy and sad words (useful in aggregate(...) function)
positive <- c('happy', 'well-off', 'good', 'happiness')
negative <- c('sad', 'bad', 'miserable', 'terrible')

# Words to test sentiment
test <- c('I am a very happy person.', 'I am a very sad person', 
'I’ve always understood happiness to be appreciation. There is no greater happiness than appreciation for what one has- both physically and in the way of relationships and ideologies. The unhappy seek that which they do not have and can not fully appreciate the things around them. I don’t expect much from life. I don’t need a high paying job, a big house or fancy cars. I simply wish to be able to live my life appreciating everything around me. 
')

# 1. Simple Summation
out <- classify.aggregate(test, positive, negative)
out

# 2. Naive Bayes
out <- classify.naivebayes(test)
out

Output:

  score
1     1
2    -1
3     2

     POS                NEG                 POS/NEG             SENT      
[1,] "9.47547003995745" "0.445453222112551" "21.2715265477714"  "positive"
[2,] "1.03127774142571" "9.47547003995745"  "0.108836578774127" "negative"
[3,] "67.1985217685598" "35.1792261323723"  "1.9101762362738"   "positive"
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].