Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java calculateRelatedness() score differs from ws4j App Demo Score #12

Open
GoogleCodeExporter opened this issue Mar 10, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

To whom this may concern there is a discrepancy in the algorithm that computes 
semantic similarity between two words....There are two different scores that 
are returned in the Java SDK vs the Webpage application.

Webpage Score is attached in the photo.

Java SDK Scores with setMFS(false);
System.out.println("Score: 
"+wordNet.compareWordRelationship("rain","precipitation", 
WordNet.RelatednessMetric.WUP));
   Score: 0.9523809523809523

System.out.println("Score: "+wordNet.compareWordRelationship("rain","a", 
WordNet.RelatednessMetric.WUP));
Score: 0.9333333333333333

These scores are totally differ

Original issue reported on code.google.com by matth...@g.ucla.edu on 9 Jul 2014 at 5:27

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant