dmeoli / ws4j Goto Github PK
View Code? Open in Web Editor NEWWordNet Similarity for Java provides an API for several Semantic Relatedness/Similarity algorithms
Home Page: https://ws4jdemo.appspot.com
License: GNU General Public License v3.0
WordNet Similarity for Java provides an API for several Semantic Relatedness/Similarity algorithms
Home Page: https://ws4jdemo.appspot.com
License: GNU General Public License v3.0
Hello, it is possible to construct a Concept
value, via the first constructor, which gives an object with no value for the pos
field:
Concept
objects will assume that the pos
field has been populated:
which can result in a runtime exception.Hi @DonatoMeoli
Thank you for your code!
I'm using the class SimilarityCalculationDemo and I noticed it returns 0 in all similarity algorithms for some words. For example, I've tested with (car, vehicle) and (cancer, disease).
I guess the problem is at
https://github.com/DonatoMeoli/WS4J/blob/008a427123a9f25106ea81495eb256976658dd1f/src/main/java/edu/uniba/di/lacam/kdde/ws4j/util/WordSimilarityCalculator.java#L110
It's necessary adding the code:
double score = relatedness.getScore(); if (score > maxScore) maxScore = score;
Do you think it is correct?
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.