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:
parent
9dd4ff0aae
commit
1077dc64ce
6 changed files with 128 additions and 120 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue