1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-07-03 07:29:59 +02:00

🎨 dinglehopper: Make PyCharm happier with the type hinting, newlines etc.

This commit is contained in:
Gerber, Mike 2020-06-12 20:59:37 +02:00
parent d484810038
commit 6ab38f1bda
5 changed files with 14 additions and 13 deletions

View file

@ -8,7 +8,6 @@ import numpy as np
from uniseg.graphemecluster import grapheme_clusters
def levenshtein_matrix(seq1: Sequence, seq2: Sequence):
"""Compute the matrix commonly computed to produce the Levenshtein distance.
This is also known as the Wagner-Fischer algorithm. The matrix element at the bottom right contains the desired