Skip to content

Errors in WUP #15

Description

@GoogleCodeExporter
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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions