New answers tagged sentiment-analysis
0
votes
How to get sentiment score for a word in a given dataset
One option would be to use a library like Textblob. It has a function to calculate the sentiment of a sentence and assign polarity score and subjectivity score. So you could also pass a word instead ...
0
votes
Training data in sentiment analysis
If you train a model, you train it to make it work in a more general situation (e.g. when you use the test set, unseen data, to evaluate your model, you just compute what is called generalization ...
0
votes
How to deal with one output for multiple inputs?
If you don't want any relationship between words of different sentences during encoding, you can encode your sentences separately (in this way you don't have that relationship, because each sentence ...
Top 50 recent answers are included
Related Tags
sentiment-analysis × 225nlp × 99
machine-learning × 69
python × 37
classification × 24
deep-learning × 23
text-classification × 15
text-mining × 14
lstm × 12
word-embeddings × 12
bert × 12
neural-network × 11
keras × 10
word2vec × 10
dataset × 9
data-mining × 9
naive-bayes-classifier × 9
nltk × 9
scikit-learn × 7
rnn × 6
twitter × 6
r × 5
unsupervised-learning × 5
language-model × 5
tensorflow × 4