|
Is there any Normalized Google Distance calculator? Is there any appropriate Google Search API to implement NGD in Java? |
|
I haven't used this myself, but this might help: http://www2.cs.usfca.edu/~wolber/SoftwareDev/Distributed/WebServices/Google/googleJavaTutorial.htm I have however used the Python library provided here: http://www.catonmat.net/blog/python-library-for-google-search/ and it's easy to use. This is much better for extracting the total number of results (which is the only thing we need for google distance), because according to this link, google API only gives you the first 32 results (I haven't used the Google API myself, and can't attest the fact... maybe things have changed since the post was written?) Some equivalent for Java might possibly be available. |
What is normalized google distance?
It's a way of computing semantic similarity between two concept using the google search engine. See this paper.