# -*- coding: utf-8 -*-
-# Copyright (c) 2009, 2010, 2013 Jack Kaliko <kaliko@azylum.org>
+# Copyright (c) 2009, 2010, 2013 kaliko <kaliko@azylum.org>
#
# This file is part of sima
#
# You should have received a copy of the GNU General Public License
# along with sima. If not, see <http://www.gnu.org/licenses/>.
#
-#
+"""Computes levenshtein distance/ratio"""
+
def levenshtein(a_st, b_st):
"""Computes the Levenshtein distance between two strings."""
return current[n_a]
+
def levenshtein_ratio(string, strong):
"""
Compute levenshtein ratio.