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

Errors in WUP #15

Open
GoogleCodeExporter opened this issue Nov 13, 2015 · 0 comments
Open

Errors in WUP #15

GoogleCodeExporter opened this issue Nov 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.In WuPalmer.java, the depth of synset1 and sysnet2 could be the length of the 
shortest path which also contains a LCS and is no less than the depth of LCS,so 
line "int depth1 = depthFinder.getShortestDepth(synset1) " should be modified.
2.The method getHypernymTrees in PathFinder.java is wrong,history set is not 
necessary.For example,the number of hypernymTree of "decoy" is 4,but this 
version of ws4j only gives 2.

One example to show all above problems is "decoy" and "accomplice".The online 
demo shows the right process of calculation.

Original issue reported on code.google.com by jszjg1...@gmail.com on 2 Nov 2014 at 11:40

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