crystalajj / word2vec

Python implementation of Word2Vec using skip-gram and negative sampling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Word2Vec using Skip-gram and Negative Sampling

  • Add a corpus file called input in the root of this project
  • Tweak the parameters in word2vec.py
  • Execute the code
python word2vec.py
  • Get the output file
  • Filter the output file
python wordvectors.py fullvoc.txt < output > filtered

About

Python implementation of Word2Vec using skip-gram and negative sampling


Languages

Language:Python 100.0%