diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2013-08-05 00:05:59 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2013-08-05 00:05:59 -0400 |
| commit | 80133c8d2d0a7334e8f53a11eaa48a8d7b70c1da (patch) | |
| tree | d3341f75c05fe7c8ff49638ebb57c8f8ab242a27 /string_utils.py | |
| parent | 47f58b93fc71a2820dd6d1e1038d11b1b80a475c (diff) | |
| download | ocr-layer-curation-80133c8d2d0a7334e8f53a11eaa48a8d7b70c1da.tar.gz | |
use new functions in compare.py
Diffstat (limited to 'string_utils.py')
| -rw-r--r-- | string_utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/string_utils.py b/string_utils.py index 81f448f..8b7a3a3 100644 --- a/string_utils.py +++ b/string_utils.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + def levenshtein(word1, word2): """Return triplet of number of (substitutions, insertions, deletions) to transform word1 into word2. |
