Skip to content

ase-sharif/Word2VecStackoverflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is the Python script of producing word2vec on tags of stackoverflow. The tags was gathered from posts of stackoverflow related to Python.

Prerequisite

Before run script you must install gensim library. You can install gensim by running below command in terminal:

$ pip install --upgrade gensim

Usage

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.