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/02/08 03:45:27 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=12830816#action_12830816 ] 

Henri Yandell commented on LANG-591:
------------------------------------

Not a fan of the API - i.e. LevenshteinResults should be an immutable return, not a mutable passed in. setXxx methods should be removed.

I'd also be tempted to retcon the old API on top of the new one - slows it down a bit, though a private method with a boolean 'collateResults' parameter could be used to keep things largely optimized. 

> 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
>         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.