python - Find similar words for bigrams using nltk.similar -


i want find similar words corpus of text using nltk.similar function. function not work bigrams angular momentum. can not use other similarity metrics wup_similarity etc. how can find similar words bigrams?

note - nltk.similar uses context of given word (previous + next words) find similar words.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -