[
https://issues.apache.org/jira/browse/LANG-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830927#action_12830927
]
Benson Margulies commented on LANG-591:
---------------------------------------
Hen,
There's a thread-safety issue here. The choices are:
1) an API that takes the strings in and returns a new results object. I object
to this on performance grounds.
2) a separate Levenshtein object that takes two strings and then returns all
the various results via get accessors (no result object).
3) an API like the one I put in the patch.
I think that #2 is the best choice, but I'd like to be on the same page as you
before I diddle further.
--benson
> 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.