Skip to content

jayeshchoubisa/Similarity-Tester-Using-Global-Vectors-for-Word-Representation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Similarity-Tester-Using-Global-Vectors-for-Word-Representation

Overview:

This code will read and load vectors for the words in the given sentences as per the input.It identifies cosine similarity using scipy's distance function.Average of vectors is taken and similarity is calculated.

Dependencies:

1. Scipy

2. Numpy

3. GloVe

GloVe can be downloaded from here: https://nlp.stanford.edu/software/GloVe-1.2.zip

Usage:

Run this using jupyter notebook.Just type jupyter notebook in the main directory and the code will pop up in a browser window.

Output:

This code will give you similarity score among the sentence 1 and sentence 2.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages