GenericLevenshtein

YET ANOTHER IMPLEMENTATION OF LEVENSHTEIN DISTANCE GenericLevenshtein is an implementation of Minimum Edit Distance, also called Levenshtein Distance, written by Ramon Ziai and Niels Ott. This algorithm is very popular and it is often used to compute the similarity of strings. The difference in the presented implementation is that it can operate on sequences of any Java object implementing equals(Object). So no matter if you want to compare genome sequences or sequences of numbers, or just strings, here you go! Furthermore, the costs of the replace, insert, and delete operations can be customized by implementing the simple WeightCalculator<T> interface. In that case it is not a requirement to rely on equals(Object) as your implementation can do whatever you like it to do in oder to compare objects.

License

License

GroupId

GroupId

de.linuxusers.levenshtein
ArtifactId

ArtifactId

oz-generic-levenshtein
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

GenericLevenshtein
YET ANOTHER IMPLEMENTATION OF LEVENSHTEIN DISTANCE GenericLevenshtein is an implementation of Minimum Edit Distance, also called Levenshtein Distance, written by Ramon Ziai and Niels Ott. This algorithm is very popular and it is often used to compute the similarity of strings. The difference in the presented implementation is that it can operate on sequences of any Java object implementing equals(Object). So no matter if you want to compare genome sequences or sequences of numbers, or just strings, here you go! Furthermore, the costs of the replace, insert, and delete operations can be customized by implementing the simple WeightCalculator<T> interface. In that case it is not a requirement to rely on equals(Object) as your implementation can do whatever you like it to do in oder to compare objects.

Download oz-generic-levenshtein

How to add to project

<!-- https://jarcasting.com/artifacts/de.linuxusers.levenshtein/oz-generic-levenshtein/ -->
<dependency>
    <groupId>de.linuxusers.levenshtein</groupId>
    <artifactId>oz-generic-levenshtein</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/de.linuxusers.levenshtein/oz-generic-levenshtein/
implementation 'de.linuxusers.levenshtein:oz-generic-levenshtein:0.4.0'
// https://jarcasting.com/artifacts/de.linuxusers.levenshtein/oz-generic-levenshtein/
implementation ("de.linuxusers.levenshtein:oz-generic-levenshtein:0.4.0")
'de.linuxusers.levenshtein:oz-generic-levenshtein:jar:0.4.0'
<dependency org="de.linuxusers.levenshtein" name="oz-generic-levenshtein" rev="0.4.0">
  <artifact name="oz-generic-levenshtein" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.linuxusers.levenshtein', module='oz-generic-levenshtein', version='0.4.0')
)
libraryDependencies += "de.linuxusers.levenshtein" % "oz-generic-levenshtein" % "0.4.0"
[de.linuxusers.levenshtein/oz-generic-levenshtein "0.4.0"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.8.1

Project Modules

There are no modules declared in this project.

Versions

Version
0.4.0