New answers tagged

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 ...
user avatar
  • 1,241
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 ...
user avatar
  • 68
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 ...
user avatar
  • 68

Top 50 recent answers are included