1,978 questions
0
votes
0
answers
38
views
AWS Lambda + LocalStack: How to Package NLTK/VADER for Sentiment Analysis Without Runtime Errors?
I'm working on a university project that involves building a serverless pipeline using AWS Lambda functions in a LocalStack environment. The pipeline processes customer reviews and performs ...
0
votes
0
answers
116
views
"Limit document size to: 5120 text elements" in Azure Sentiment Analysis Container
I'm trying to use the Azure Sentiment Analysis container in my local environment. It's working well with short document. But when I use a long document with
endpoint (http://localhost:5000/language/:...
0
votes
1
answer
67
views
Underfitting Pre-Trained Glove + LSTM Model: Accurcacy Unchanged [closed]
I am doing a sentiment classification using Pre-Trained Glove and LSTM model. I use google play review and scrap it by myself, resulting in 50k++ texts. I implement random over sampling on the ...
3
votes
1
answer
57
views
How can one obtain the "correct" embedding layer in BERT?
I want to utilize BERT to assess the similarity between two pieces of text:
from transformers import AutoTokenizer, AutoModel
import torch
import torch.nn.functional as F
import numpy as np
tokenizer ...
0
votes
0
answers
41
views
Issue with Sentiment Analysis in Amazon Comprehend Analysis Job
I used Amazon Comprehend for sentiment analysis and successfully analyzed a conversation using Real-time analysis. However, when I upload the same conversation as a text file to an S3 bucket and ...
2
votes
2
answers
313
views
Textblob-de missing deprecated module textblob.translate()
I want to run a sentiment analysis on German headlines and would like to use textblob-de for it. After installing as described here: https://textblob-de.readthedocs.io/en/latest/readme.html#installing-...
-1
votes
1
answer
184
views
Capitalized words in sentiment analysis
I'm currently working with data of customers reviews on products from Sephora. my task to classify them to sentiments : negative, neutral , positive .
A common technique of text preprocessing is to ...
-1
votes
1
answer
60
views
How to upload the result of Naive Bayes Classifier into a table?
Recently I've started a Python sentiment analysis training course, wherein I've got the first task, that is to process a dataset of IMDB reviews through 2 different models: lexical analysis with ...
1
vote
0
answers
69
views
multihead self-attention for sentiment analysis not accurate results
i am trying to implement a model for sentiment analysis in text data using self-attention. In this example, i am using multi-head attention but cannot be sure if the results are accurate or not. It ...
-2
votes
1
answer
240
views
How to utilize Rauh's German Political Sentiment Dictionary
I need to utlize the named sentiment dictionary for my sentiment analysis in R studio. Unfortunately I have problems at that. The dictionary comes within a zip archive and specifically (as I assume) ...
0
votes
1
answer
74
views
How do RNNs handle negation in sentiment analysis
I'm trying to understand how Recurrent Neural Networks (RNNs), such as LSTM or GRU models or just a simple RNN, handle negation in sentiment analysis. Specifically, I'm curious about how these models ...
1
vote
3
answers
233
views
Getting GloVe embeddings using gensim, triu not found in scipy.linalg
I am trying to build a sentiment analysing model, using the GloVe word embeddings...
I found multiple sources on how to import the embeddings into python, this one seemed to be the simplest...
Trying ...
0
votes
1
answer
55
views
Trying to run GermanSentiment in Python on 10k to 30k texts, keeps crashing? Possibly too large dataset?
I want to do sentiment analysis on 2 datasets of tweets, one with 9k strings and one with 30k strings. I have imported GermanSentiment and it ran just fine with the demo code from GitHub, but when I ...
0
votes
1
answer
317
views
PyABSA for Aspect Based Sentiment ANalysis
I am working on Aspect based Sentiment Analysis and came across this nice package - PyABSA.
I've found that version 2 is problematic with the models not getting loaded, so I'm using version 1.
There ...
1
vote
1
answer
266
views
How to remove stop words in Power Query Editor in Power BI
I've loaded an Excel file with reviews into Power BI Desktop. I want to do Sentiment Analysis on the file. I've already turned everything in the reviews column(named Column3) to lowercase and removed ...