Updated the licensing information for the Levenshtein distance function
This commit is contained in:
parent
6b210878a1
commit
c614510ddb
1 changed files with 5 additions and 2 deletions
|
@ -112,8 +112,11 @@
|
||||||
document.location.href = url;
|
document.location.href = url;
|
||||||
});
|
});
|
||||||
/**
|
/**
|
||||||
* Code from Stackoverflow to compute the Levenshtein distance between two strings
|
* A function to compute the Levenshtein distance between two strings
|
||||||
* Written by Marco de Wit at http://stackoverflow.com/a/18514751/745719
|
* Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported
|
||||||
|
* Full License can be found at http://creativecommons.org/licenses/by-sa/3.0/legalcode
|
||||||
|
* This code is an unmodified version of the code written by Marco de Wit
|
||||||
|
* and was found at http://stackoverflow.com/a/18514751/745719
|
||||||
*/
|
*/
|
||||||
var levenshtein = (function() {
|
var levenshtein = (function() {
|
||||||
var row2 = [];
|
var row2 = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue