[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Updated] (LANG-1011) Create a new class StringDistance as host for the getXXDistance methods
From: "Jonathan Baker (JIRA)" <jira () apache ! org>
Date: 2015-02-28 20:23:04
Message-ID: JIRA.12712917.1399488562000.43241.1425154984605 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/LANG-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Jonathan Baker updated LANG-1011:
---------------------------------
Attachment: StringDistanceTest5.java
More fun with functions. :)
With a StringDistance<DISTANCE>, made a StringDistanceFrom class which is set up with \
the algorithm and the "left" side string. It can be used to iterate over a list of \
"right" side strings and spit out the differences.
> Create a new class StringDistance as host for the getXXDistance methods in \
> StringUtils
> --------------------------------------------------------------------------------------
>
> Key: LANG-1011
> URL: https://issues.apache.org/jira/browse/LANG-1011
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Benedikt Ritter
> Assignee: Benedikt Ritter
> Fix For: 3.4
>
> Attachments: StringDistanceTest4.java, StringDistanceTest4Pre8.java, \
> StringDistanceTest5.java
>
> We're getting more and more algorithms that calculate distances between strings, so \
> it makes sense to create a new class for this kind of logic. deprecate \
> getLevenshteinDistance and getJaroWinklerDistance and delegate to the new class. If \
> the new class is implemented in 3.4, move getFuzzyDistance (is has not yet been \
> released)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic