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

➡️ dinglehopper: Move ExtractedText to its own file

This commit is contained in:
Gerber, Mike 2020-10-08 13:25:20 +02:00
parent 9dd4ff0aae
commit 1077dc64ce
6 changed files with 128 additions and 120 deletions

View file

@ -8,7 +8,8 @@ import numpy as np
from multimethod import multimethod
from uniseg.graphemecluster import grapheme_clusters
from .ocr_files import ExtractedText
from . import ExtractedText
def levenshtein_matrix(seq1: Sequence, seq2: Sequence):
"""Compute the matrix commonly computed to produce the Levenshtein distance.