You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2010/07/18 10:18:49 UTC
[jira] Commented: (LANG-591) A more complex Levenshtein distance
would be useful
[ https://issues.apache.org/jira/browse/LANG-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889588#action_12889588 ]
Henri Yandell commented on LANG-591:
------------------------------------
Sorry for not picking up on the revised patch.
Any reason why the API isn't:
public static LevenshteinResults getLevenshteinDistance(CharSequence s, CharSequence t)?
I would also delete the setXyz methods on the Results object. They're not used and I don't see any value in being able to edit the results object.
Otherwise it looks good to me :)
> A more complex Levenshtein distance would be useful
> ---------------------------------------------------
>
> Key: LANG-591
> URL: https://issues.apache.org/jira/browse/LANG-591
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Affects Versions: 3.0
> Reporter: Benson Margulies
> Fix For: 3.1
>
> Attachments: LANG-591.diff
>
>
> For some applications, it is necessary to get insert/delete/substitution counts from the distance algorithm. I am attaching a patch that provides this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.