Skip to content

A short Python project, using the cosine similarity scale, to measure similarity between two sentences.

License

Notifications You must be signed in to change notification settings

CodeMaster7000/Cosine-Similarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cosine Similarity

About

A Python project to measure the similarity between two sentences using the cosine similarity scale (0-1).

Prerequisites

  • NLTK
  • Python 3

You can install NLTK via your Linux terminal with the following steps:

  1. sudo pip3 install nltk
  2. python3
  3. import nltk
  4. nltk.download(‘all’)

Implementation

To use the script, simply run python3 CosineSimilarity.py (Linux only).

About

A short Python project, using the cosine similarity scale, to measure similarity between two sentences.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages