commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <>
Subject [jira] [Commented] (LANG-944) Add a feature of SimilarityMatch in StringUtils
Date Tue, 07 Jan 2014 21:28:51 GMT


Benedikt Ritter commented on LANG-944:

Hi Rekha,

sorry, I'm not expert in String algorithms. Is SimilarityMatch a known algorithm? What are
the use cases you're talking about? Does it really fit in a general purpose library like lang?

If you upload a patch, please don't forget to include some unit tests ;-)


> Add a feature of SimilarityMatch in StringUtils 
> ------------------------------------------------
>                 Key: LANG-944
>                 URL:
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>    Affects Versions: 3.3
>            Reporter: Rekha Joshi
>             Fix For: Patch Needed, Discussion
> Add SimilarityMatch algorithm to evaluate a similarity matching ratio between two strings.
> double matchscore = StringUtils.calculateSimilarityMatching(String s1, String s2)
> I have a patch ready with implementation of similaritymatch.
> This happens to be a usual need in science algorithm and directly using commons lang3
library for these string operation would be neat.

This message was sent by Atlassian JIRA

View raw message