sourish-rygbee / dkpro-similarity-asl

Automatically exported from code.google.com/p/dkpro-similarity-asl
0 stars 0 forks source link

LevenshteinComparator getSimilarity function is empty. #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two strings: "approximate" and "toapproximate"
2. Use the getSimilarity function in LevenshteinComparator

What is the expected output? What do you see instead?
Excepted: Similarity value between Strings (or between Collection of Strings 
depends on which method was invoked).
What I got: The getSimilarity(String s1, String s2) functions returns the 
distance only, and the getSimilarity(Collection<String> sl1, Collection<String> 
sl2) throw an exception.

What version of the product are you using? On what operating system?
2.0.0 in Windows

Please provide any additional information below.

Original issue reported on code.google.com by kevi...@thinkbiganalytics.com on 18 Oct 2013 at 1:25

GoogleCodeExporter commented 9 years ago
Implemented the method.

Original comment by torsten....@gmail.com on 18 Oct 2013 at 1:34

GoogleCodeExporter commented 9 years ago
Updated the repository. But still seeing:  getSimilarity(String s1, String s2) 
functions returns the distance only, and the getSimilarity(Collection<String> 
sl1, Collection<String> sl2) throw an exception.

Original comment by kevi...@thinkbiganalytics.com on 18 Oct 2013 at 6:26

GoogleCodeExporter commented 9 years ago
You are probably using version 2.0.0 or 2.1.0 which is a stable release version 
that will never change again (which is good as it means that you are shielded 
from incompatible code changes, breaking builds during development, etc.)
If you need the updated functionality you need to switch to 2.2.0-SNAPSHOT 
version.

Having said that I just see that the build is currently failing due to another 
issue. Thus it might take some more hours before you will be able to get the 
new build.

Original comment by torsten....@gmail.com on 18 Oct 2013 at 6:35

GoogleCodeExporter commented 9 years ago
Thank you for the explanation. Appreciate!!

Original comment by kevi...@thinkbiganalytics.com on 18 Oct 2013 at 6:39