pradeepmcl / ws4j Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ws4j
Automatically exported from code.google.com/p/ws4j
What steps will reproduce the problem?
1. Input "fire", "terminate" literally (not the #sense)
2. Call the calculateRelatedness() in Java
3. The score returned is .28 but the score returned in the app demo is 1.0
What is the expected output? What do you see instead?
I would expect a 1 to 1
What version of the product are you using? On what operating system?
1.0.1
Does the Web version iterate through each of the senses to come up with a more
concise number OR is it a more updated corpus? ... If it is the later, would
you be able to make a REST method that returns a JSON object with the RP, LESK,
etc values instead of HTML?
Original issue reported on code.google.com by [email protected]
on 25 Jun 2014 at 11:04
1.The history set is unnecessary
2.When the synset is a instance of another synset,this method cannot find the
path.eg.the four sense of "hero",and the synset is 11045106-n,it is a instance
of mathematician and inventor,but these could not be found by Link.hype,so
Link.inst shoud be considered.
Original issue reported on code.google.com by [email protected]
on 2 Nov 2014 at 1:30
What steps will reproduce the problem?
1.showing an error in the lines import edu.cmu.lti.ws4j.data.Measure;import
edu.cmu.lti.ws4j.RelatednessCalculator.Parameters
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
I am currrently using ws4j-1.0-1 on linux
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Jul 2013 at 3:14
Attachments:
How to calculate similarity of two compound word using WUP?
Example: "in quarter" and "from period"
Original issue reported on code.google.com by [email protected]
on 10 Jul 2015 at 6:34
re results :
wup, lin hso ....
are not the same for many couples of words (demo vs results by a java program
using ws4j.1.0.1.jar)
Original issue reported on code.google.com by [email protected]
on 4 Aug 2015 at 3:19
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 [email protected]
on 2 Nov 2014 at 11:40
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 [email protected]
on 9 Jul 2014 at 5:27
Attachments:
Error encountered while trying to use the jar.
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
</pre></p><p><b>root cause</b> <pre>javax.servlet.ServletException:
java.lang.NoClassDefFoundError: edu/cmu/lti/lexical_db/ILexicalDatabase
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)
org.apache.jsp.process_jsp._jspService(process_jsp.java:154)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
</pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
edu/cmu/lti/lexical_db/ILexicalDatabase
org.apache.jsp.process_jsp._jspService(process_jsp.java:87)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
</pre></p><p><b>root cause</b> <pre>java.lang.ClassNotFoundException:
edu.cmu.lti.lexical_db.ILexicalDatabase
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
org.apache.jsp.process_jsp._jspService(process_jsp.java:87)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 30 Aug 2014 at 7:19
In order to implement this algorithme I have to create an instance of Lesk but
it's only buildr needs for input a lexicalDatabase I'm confused how to add it
and which one ??
Original issue reported on code.google.com by [email protected]
on 27 Feb 2014 at 5:51
What steps will reproduce the problem?
1.Try to check out source using url in Source tab of this website.
Original issue reported on code.google.com by [email protected]
on 11 Apr 2013 at 6:31
Is it possible to put your jar file in Maven Central?
Original issue reported on code.google.com by [email protected]
on 7 Jul 2014 at 1:08
This is the error received. Please help..
Extracting wordnet database from jar file ... done in 11.015 sec.
Building index on DB ... done in 0.015 sec.
edu.cmu.lti.ws4j.impl.HirstStOnge 0.0
edu.cmu.lti.ws4j.impl.LeacockChodorow 1.3862943611198906
java.lang.NullPointerException
at java.io.Reader.<init>(Unknown Source)
at java.io.InputStreamReader.<init>(Unknown Source)
at edu.cmu.lti.ws4j.util.StopWordRemover.loadStopList(StopWordRemover.java:41)
at edu.cmu.lti.ws4j.util.StopWordRemover.<init>(StopWordRemover.java:22)
at edu.cmu.lti.ws4j.util.StopWordRemover.<clinit>(StopWordRemover.java:14)
at edu.cmu.lti.ws4j.util.OverlapFinder.getOverlaps(OverlapFinder.java:25)
at edu.cmu.lti.ws4j.impl.Lesk.calcFromSuperGloss(Lesk.java:97)
at edu.cmu.lti.ws4j.impl.Lesk.calcFromSuperGloss(Lesk.java:85)
at edu.cmu.lti.ws4j.impl.Lesk.calcRelatedness(Lesk.java:66)
at edu.cmu.lti.ws4j.RelatednessCalculator.calcRelatednessOfSynset(RelatednessCalculator.java:54)
at edu.cmu.lti.ws4j.util.WordSimilarityCalculator.calcRelatednessOfWords(WordSimilarityCalculator.java:85)
at edu.cmu.lti.ws4j.RelatednessCalculator.calcRelatednessOfWords(RelatednessCalculator.java:61)
at edu.cmu.lti.ws4j.demo.SimilarityCalculationDemo.run(SimilarityCalculationDemo.java:27)
at edu.cmu.lti.ws4j.demo.SimilarityCalculationDemo.main(SimilarityCalculationDemo.java:33)
edu.cmu.lti.ws4j.impl.Lesk 0.0
edu.cmu.lti.ws4j.impl.WuPalmer 0.4
java.lang.NullPointerException
at java.io.Reader.<init>(Unknown Source)
at java.io.InputStreamReader.<init>(Unknown Source)
at edu.cmu.lti.ws4j.util.ICFinder.loadIC(ICFinder.java:60)
at edu.cmu.lti.ws4j.util.ICFinder.<init>(ICFinder.java:41)
at edu.cmu.lti.ws4j.util.ICFinder.<clinit>(ICFinder.java:27)
at edu.cmu.lti.ws4j.impl.Resnik.calcRelatedness(Resnik.java:38)
at edu.cmu.lti.ws4j.RelatednessCalculator.calcRelatednessOfSynset(RelatednessCalculator.java:54)
at edu.cmu.lti.ws4j.util.WordSimilarityCalculator.calcRelatednessOfWords(WordSimilarityCalculator.java:85)
at edu.cmu.lti.ws4j.RelatednessCalculator.calcRelatednessOfWords(RelatednessCalculator.java:61)
at edu.cmu.lti.ws4j.demo.SimilarityCalculationDemo.run(SimilarityCalculationDemo.java:27)
at edu.cmu.lti.ws4j.demo.SimilarityCalculationDemo.main(SimilarityCalculationDemo.java:33)
edu.cmu.lti.ws4j.impl.Resnik 0.0
edu.cmu.lti.ws4j.impl.JiangConrath 0.0
edu.cmu.lti.ws4j.impl.Lin 0.0
edu.cmu.lti.ws4j.impl.Path 0.14285714285714285
Done in 13188 msec.
Original issue reported on code.google.com by [email protected]
on 24 Jul 2012 at 2:45
What steps will reproduce the problem?
1.Set MFS to false in config (ie, return ALL senses)
2.Use WuPalmer Impl
3.calculateRelatednessOfWords "man" "woman" => 1.2307...
What is the expected output? What do you see instead?
Output is not supposed to go above 1.0 for WuPalmer algorithm, according to max
value. Is this related to Issue 6?
What version of the product are you using? On what operating system?
1.0.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Nov 2014 at 7:36
Which of the following Semantic Similarity criteria is bests(Please introduce
3)?
Original issue reported on code.google.com by [email protected]
on 23 May 2015 at 4:26
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 19 Mar 2012 at 10:46
What steps will reproduce the problem?
1. Use LIN as the relatedness calculator
2. Calculate the relatedness of one word and a copy of it.
3. Get extremely high result (not [0,1])
What is the expected output? What do you see instead?
The maximum of output should be one for the relatedness calculator LIN.
What version of the product are you using? On what operating system?
1.0.0 SNAPSHOT, OSX
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2012 at 1:09
What steps will reproduce the problem?
1. Calculating the Lin, Wu-Palmer and Path similarity measures using
calcRelatednessOfWords(String u, String v) where u.equals(v) is true.
What is the expected output? What do you see instead?
The expected output for each similarity measure is 1.0, but I get
1.7976931348623157E308 instead.
What version of the product are you using? On what operating system?
I am using 1.0.1 on a Mac (OS X version 10.8.3)
Please provide any additional information below.
If u.equals(v) is false, then the similarity scores seem to be as expected.
Original issue reported on code.google.com by [email protected]
on 19 Jul 2013 at 4:16
Attachments:
I've got the error:
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
this happen when I want to get Synset as the following statement:
Synset synset=WordNetUtil.wordToSynsets("win",POS.v).get(sn);
of course the error because sn is out of bound.
but I already know that sn is less than than the sense count of "win", because
I got sn from API that interface with wodnet(my API is Rita) that use wordnet
3.0 but even If I used wordnet 2.1 then I will get the same error.
is there any hint to overcome this problem, OR can I use
(edu.cmu.lti.jawjaw.util.WordNetUtil) to get the sense number of the word from
WORDNET.
I will be grateful for any reply...
Original issue reported on code.google.com by [email protected]
on 11 Jun 2014 at 11:54
As-salam-o-alaikum
My friend i am using eclipse and NetBeans both and now moving to Natural language processing with Java and going to use OpenNLP for my project, but I have no idea how to include OpenNLP in my project and how to use its api's for my project.
Following are some steps which I have done:
1)went to Apache website and downloaded four(4) files which was linked their.
2)unzip. one of them and get four jar files so called maxent,tools etc and
copied it.
3)create my project in eclipse and in the directory of my project I created a
folder called "lib" and pasted jar files here and after that I did add build
path.
now I couldn't create objects of these api's..... why???
am i missing some steps?
do I have to do something more ........
also I'm not able to use these statements
import opennlp.tools...
import opennlp.maxent...etc ... why
Original issue reported on code.google.com by [email protected]
on 18 Dec 2014 at 8:13
Attachments:
hello
thank you for appellations
I have some questions
1)why the values is different from the sit http://ws4jdemo.appspot.com and your
appellations jar
2)what the level of sense 3 or more on appellations
3)what the version of WordNet 3.1 or 3 or 2
Thanks a Lot
Original issue reported on code.google.com by [email protected]
on 28 Mar 2014 at 7:57
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.