You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rob Tompkins (JIRA)" <ji...@apache.org> on 2016/12/30 14:28:58 UTC
[jira] [Commented] (TEXT-14) Create a generic class that calculates
a distance based on a similarity score
[ 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)