A Python project to measure the similarity between two sentences using the cosine similarity scale (0-1).
NLTK
- Python 3
You can install NLTK via your Linux terminal with the following steps:
sudo pip3 install nltk
python3
import nltk
nltk.download(‘all’)
To use the script, simply run python3 CosineSimilarity.py
(Linux only).