Skip to content

Get Similarity of two sentences based gensim word2vec trained model.

License

Notifications You must be signed in to change notification settings

Aghabeiki/sentences2vector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentences2vector

Get Similarity of two sentences based gensim word2vec trained model.

  • A working Example exist on example directory.
  • Docs available here

For saving your model from Gensim to our Module use this steps:

1- Train your Word2Vec model in Python Gensim.

2- Then store it as a plain text Google Word2Vec format.

model.wv.save_word2vec_format('./data/text.model', binary = False)
model.intersect_word2vec_format('./data/text.model', lockf=0.0, binary=False, encoding='utf8', unicode_errors='strict')

Aether: Amin Aghabeiki.

License MIT.

If you updated/improved it, please keep the code open source as is it! let make Open Source Greater!

About

Get Similarity of two sentences based gensim word2vec trained model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published