blob: 8737af5885c1f25c4d5d519f07234b0da083c5a0 [file] [log] [blame]
// Copyright (c) 2016, Kwang Yul Seo. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
import 'package:edit_distance/edit_distance.dart';
void main() {
Levenshtein d = new Levenshtein();
print(d.distance('witch', 'kitsch')); // 2
print(d.normalizedDistance('witch', 'kitsch')); // 0.3333333333333333
}