adeshpande3 / LSTM-Sentiment-Analysis

Sentiment Analysis with LSTMs in Tensorflow
MIT License
979 stars 432 forks source link

Do I have to use wordslist if I can get wordvectors directly from words? #37

Closed despagito closed 6 years ago

despagito commented 6 years ago

I wonder if the reason you're using wordslist is because you can only get wordvectors from id, or you can't get a tensor if you transfer wordvector in advance.

adeshpande3 commented 6 years ago

Yeah I mean you could also have a python dictionary that maps the words to their respective vectors. But yeah, the answer to your original question is you wouldn't need wordslist, it's just there to help you get the word vector.

despagito commented 6 years ago

Thank you so much!