nltk.ContextIndex.word_similarity_dict

ContextIndex.word_similarity_dict(word)[source]

Return a dictionary mapping from words to ‘similarity scores,’ indicating how often these two words occur in the same context.