What similarity function in nltk.corpus.wordnetSuitable for finding the similarity of two words?
nltk.corpus.wordnet
path_similarity()? lch_similarity()? wup_similarity()? res_similarity()? jcn_similarity()? lin_similarity()?
I want to use the function for word clusteringand yarowskyalgorightm to look for the same collocationin large text.
word clustering
yarowsky
collocation
These measures are actually intended for verbal feelings (or concepts), not words. This difference can make a difference. In other words, the word โtrainโ can mean โlocomotiveโ or โlearn to do something.โ To use these measures, you need to know what the meaning was intended.
, , ...
NLTK/wordnet, - . , , nltk.corpus.wordnet IS-A.
, , , , - > synset- > - > Similar_tos, (graph_tool ), , 2 , () ( , , , ). , - POS/.
graph_tool