Test spaCy module word similarity using:
'en_core_web_sm' and 'en_core_web_md'
Request user to input a list of words or use the default one.
Compare all words in the list among each-other and print the similarity score using
the model "en_core_web_sm" and "en_core_web_md" as percentage.
In the end print the difference between models as percentage
Require spaCy module and models: 'en_core_web_sm' and 'en_core_web_md'
spaCy installation and usage page is:
https://spacy.io/usage
pip install -U pip setuptools wheel
pip install -U spacy
python3 -m spacy download en_core_web_sm
python3 -m spacy download en_core_web_md
For windows use python or python.exe instead of python3
semantic.py
Alin Rizea
https://www.linkedin.com/in/alin-rizea-b10368104/