Word2vec is a group of related models that are used to produce word embeddings.
In this project I implement the word2vec by using the tensorflow. now this project is part of the Sentiment-Analysis, please check it out.
Make sure you have the following is installed:
- Python3
- Tensorflow
- NumPy
- SciPy
- Pandas
- Matplotlib
for the dataset please make sure your training data .txt file is like following:
| Sentence | Class |
|---|---|
| I like this movie! | 1 |
| I hate this feeling. | 0 |
| ............... | .. |