Skip to content

Instantly share code, notes, and snippets.

@sgallese
Created May 7, 2010 02:41
Show Gist options
  • Save sgallese/392971 to your computer and use it in GitHub Desktop.
Save sgallese/392971 to your computer and use it in GitHub Desktop.
-- Sent at 4PM, Sat
1.
Is using getDistance() the best way to compare the "meanings" of two words and receive back a numerical value?
For example, I want to know how semantically different two words are (e.g., blue and cat vs. blue and dog).
Right now, my code implements getDistance(lemma1, lemma2, pos); from RitaWN to accomplish this task. It is awesome to receive some sort of distance value in order to see how words are more similar or less similar.
I'm studying your getWordDistance() method within RiWordnet.java
http://gist.github.com/393903
It looks like your code is going through common parents to calculate the distance, which is cool, but not essential for me.
2.
Is _lex.getAlliterations returning too many matches?
http://gist.github.com/392970
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment