add condition to levensthein_k_ratio: if levenshstein_k > k return 0.0