commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-591) A more complex Levenshtein distance would be useful
Date Mon, 08 Feb 2010 02:45:27 GMT

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


Mime
View raw message