commons-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/LANG-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864710#comment-13864710
] 

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 ;-)

Regards,
Benedikt

> Add a feature of SimilarityMatch in StringUtils 
> ------------------------------------------------
>
>                 Key: LANG-944
>                 URL: https://issues.apache.org/jira/browse/LANG-944
>             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
(v6.1.5#6160)

Mime
View raw message