commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEXT-14) Create a generic class that calculates a distance based on a similarity score
Date Fri, 30 Dec 2016 14:28:58 GMT

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

Rob Tompkins commented on TEXT-14:
----------------------------------

I've got an idea here. 

{code}
Double distance(String s1, String s2) {
     return s1.length() + s2.length() - 2*similarityScore(s1, s2);
}
{code}

> Create a generic class that calculates a distance based on a similarity score
> -----------------------------------------------------------------------------
>
>                 Key: TEXT-14
>                 URL: https://issues.apache.org/jira/browse/TEXT-14
>             Project: Commons Text
>          Issue Type: Improvement
>            Reporter: Bruno P. Kinoshita
>            Priority: Minor
>              Labels: features, idea
>             Fix For: 1.x
>
>
> From http://markmail.org/message/lkqcrm3f3qbu5heu
> Seems like an interesting idea. Worth spending some time to investigate it later. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message