问题
I have two terms "vehicle" and "motor vehicle". Are there any way to compare the meaningfulness level or ambiguity level of these two in NLP? The outcome should be that "motor vehicle" is more meaningful than "vehicle" or "vehicle" is more ambiguous than "motor vehicle". Thanks
回答1:
The question you ask is very broad (see here) but here are some hints for starting points:
- WordNet
- Word embeddings: word2vec, Glove
The meaning difference you are looking into is quite peculiar so I suggest starting with WordNet (there are WordNets for other languages as well). The code that uses WordNet to calculate meaning differences using WordNet you can find here.
Good framework to start an NLP journey is NLTK.
来源:https://stackoverflow.com/questions/50800803/how-to-compare-meaningful-level-of-a-set-of-phrase-that-describe-same-concept-in