jsantalo / happybirds

GNU General Public License v3.0
1 stars 0 forks source link

List of good and bad words #5

Closed maytepenella closed 6 years ago

maytepenella commented 6 years ago

Find out which words are more correlated to possitive and negative sentiment. Maybe we can use the matrix correlation to define best possitive and negative words (+ correlations are good and - correlations appear more in negative sentences)

maytepenella commented 6 years ago

Added function get_vocabulary_per_sentiment to train.py

TO DO: discard words with low correlation?

maytepenella commented 6 years ago

TO DO: Upload version with neutral vocabulary

maytepenella commented 6 years ago

Modified version that considers all the senitments present in df.

Code has been redone to be more understandable.

For now we will not discard words based on correlation

maytepenella commented 6 years ago

Change to suit with main.py:

maytepenella commented 6 years ago

Fixed on last commit