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
Original issue reported on code.google.com by
jszjg1...@gmail.com
on 2 Nov 2014 at 11:40