Comments (4)
Hi. I have exactly the same problem with ws4j1.0.1. Should the result for the
desktop version be different from what we obtain with the demo site web ? Could
somebody help ? Thanks.
Original comment by [email protected]
on 29 Jul 2013 at 3:10
from ws4j.
This looks like it is due to attempting to override a protected static field
(this can't be done in Java). The attached patch fixes the issue by moving the
definition of min and max the fields to non-static final members in
RelatednessCalculator and adding getters. Implementations then provide their
min/max values through super constructor calls.
Patch can be applied with patch -p1 <
0001-Cannot-override-static-members-replacing-fields-with.patch
Original comment by [email protected]
on 11 Aug 2014 at 10:59
Attachments:
from ws4j.
Thanks for the info, but
I'm unable to apply the patch using your instructions.
Hunk #1 FAILED at 26.
Hunk #2 FAILED at 42.
Hunk #3 FAILED at 76.
etc...
For each file.
I'm using Ubuntu 12.04 and the readonly source from
http://ws4j.googlecode.com/svn/trunk
Original comment by [email protected]
on 2 Nov 2014 at 4:46
from ws4j.
Rev 48. It appears we have different versions of the source. Maybe there's
another repo somewhere that I should be accessing?
I'll apply manually and report back...thanks again.
Original comment by [email protected]
on 2 Nov 2014 at 4:59
from ws4j.
Related Issues (20)
- edu.cmu.lti.lexical_db.ILexicalDatabase missing file HOT 3
- Java calculateRelatedness() score differs from ws4j App Demo Score HOT 4
- Maven Central Repository
- Java calculateRelatedness() score differs from ws4j App Demo Score
- Error encountered while trying to use the jar. ILexicalDatabase NoClassDef
- WuPalmer relatedness exceeds 1.0 when MFS false
- Errors in WUP
- A bug in getHypernymTree
- how to include OpenNLP in eclipse project HOT 1
- Which of the following Semantic Similarity criteria is bests
- How to calculate similarity of two compound word using WUP?
- Problem in executing the SimilarityCalculationDemo.java HOT 1
- conformity between demo and jar
- While using LIN and two words are the same, the relatedness is extremely high. HOT 2
- Cannot download source with url supplied HOT 1
- problem in compiling DemoServlet.java HOT 2
- which Lexical database we use for the builder
- why the values is different from the sit http://ws4jdemo.appspot.com HOT 6
- WordNet compatibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ws4j.