The script will take as input two sentences from user and determine how similar they are. For encoding the text, Count Vectorizer and TFIDF Vectorizer have been used.
-
You must have Python and Pip installed.
-
Go to the directory of the folder using your command prompt.
-
Type pip install -r requirements.txt. This will download all the dependencies
- Type python TextSimilarity.py
- Enter the two sentences
- See the results generated