NLP: any easy and good methods to find semantic similarity between words?

后端 未结 7 1055
天命终不由人
天命终不由人 2021-01-30 23:22

I don\'t know whether StackOverflow covers NLP, so I am gonna give this a shot. I am interested to find the semantic relatedness of two words from a specific domain, i.e. \"imag

7条回答
  •  臣服心动
    2021-01-31 00:08

    In order to find semantic similarity between words, a word space model should do the trick. Such a model can be implemented very easily and fairly efficiently. Most likely, you will want to implement some sort of dimensionality reduction. The easiest one I can think of is Random Indexing, which has been used extensively in NLP.

    Once you have your word space model, you can calculate distances (e.g. cosine distance) between words. In such a model, you should get the results you mentioned earlier (distance between "focus" and "Details" should be higher than "camera weight" vs "flash").

    Hope this helps!

提交回复
热议问题