test wordnet similarity java code & some opencalais code modification