[
https://issues.apache.org/jira/browse/TEXT-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18065957#comment-18065957
]
Ron Ladin edited comment on TEXT-103 at 3/15/26 11:11 AM:
----------------------------------------------------------
Hi [~ggregory] , I've just submitted the PR for this issue.
https://github.com/apache/commons-text/pull/737
Since this is my first contribution, the GitHub Actions are waiting for a
maintainer's approval to run. Looking forward to your feedback!
was (Author: JIRAUSER312761):
Hi [~ggregory] , I've just submitted the PR for this issue. Since this is my
first contribution, the GitHub Actions are waiting for a maintainer's approval
to run. Looking forward to your feedback!
> Add provision to change the cost for insert, delete and replace operation in
> levenshtein distance
> -------------------------------------------------------------------------------------------------
>
> Key: TEXT-103
> URL: https://issues.apache.org/jira/browse/TEXT-103
> Project: Commons Text
> Issue Type: Improvement
> Reporter: Rohit Agarwal
> Priority: Minor
> Labels: newbie, patch
> Fix For: 1.x
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> There are two implementation of levenshtein distance, unlimitedCompare and
> limitedCompare.
> I propose to generalise the levenshtein distance by adding an option to
> change the value of
> 1) Addition of Character.
> 2) Deletion of Character.
> 3) Substitution of Character.
> Currently they are all set to 1. For backward compatibility this will be the
> default case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)