Find similarty in GERMAN sentences #4963
-
|
Hi, We tried the standard-spacy similarity function but got strange results: Is there a other way to get more precise results? As you can se AB, AC and AD have almoste the same results even though B and C arent similar to A. Looking forward for your recommendations =) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Two issues here:
|
Beta Was this translation helpful? Give feedback.
-
|
thx the ukplap solution helped a lot!!! |
Beta Was this translation helpful? Give feedback.
Two issues here:
I noticed recently that the vectors distributed with the German models have a lot of missing vocabulary, so I wouldn't recommend using the
de_core_news_mdvectors.Alternate vector sources can have different tokenizations which can cause minor problems, but it's pretty easy to use
spacy init-modelto create a spacy model with vectors from word2vec text format (not binary format!) vectors. As an example using fasttext vectors (from https://fasttext.cc/docs/en/crawl-vectors.html / German: https://dl.fbaipublicfile…