MVN

de.linuxusers.levenshtein : oz-generic-levenshtein

Maven & Gradle

Sep 11, 2012
1 usages

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.

<dependency>
    <groupId>de.linuxusers.levenshtein</groupId>
    <artifactId>oz-generic-levenshtein</artifactId>
    <version>0.4.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of de.linuxusers.levenshtein : oz-generic-levenshtein to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.4.0

All Versions

Choose a version of de.linuxusers.levenshtein : oz-generic-levenshtein to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.4.x
oz-generic-levenshtein-0.4.0

How to add a dependency to Maven

Add the following de.linuxusers.levenshtein : oz-generic-levenshtein maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>de.linuxusers.levenshtein</groupId>
    <artifactId>oz-generic-levenshtein</artifactId>
    <version>0.4.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following de.linuxusers.levenshtein : oz-generic-levenshtein gradle dependency to your build.gradle file:

implementation 'de.linuxusers.levenshtein:oz-generic-levenshtein:0.4.0'

Gradle Kotlin DSL: Add the following de.linuxusers.levenshtein : oz-generic-levenshtein gradle kotlin dependency to your build.gradle.kts file:

implementation("de.linuxusers.levenshtein:oz-generic-levenshtein:0.4.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following de.linuxusers.levenshtein : oz-generic-levenshtein sbt scala dependency to your build.sbt file:

libraryDependencies += "de.linuxusers.levenshtein" % "oz-generic-levenshtein" % "0.4.0"

Advertisement