This is the Python script of producing word2vec on tags of stackoverflow. The tags was gathered from posts of stackoverflow related to Python.
Before run script you must install gensim library. You can install gensim by running below command in terminal:
$ pip install --upgrade gensim
You can simply run script by typing below command:
$ python word2vec.py
Taking into account that word2vec.py has three parameters:
- positive
- negative
- topn
Make sure you set parameters according to what you want.