Skip to content

Commit 5282092

Browse files
author
Robert Sachunsky
committed
recognize: replace python-levenshtein with rapidfuzz
1 parent fed84da commit 5282092

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ocrd_cis/ocropy/recognize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import numpy as np
66
from PIL import Image
77

8-
import Levenshtein
8+
from rapidfuzz.distance import Levenshtein
99

1010
from ocrd_utils import (
1111
getLogger,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
'scikit-image',
4848
'networkx',
4949
'opencv-python-headless',
50-
'python-Levenshtein'
50+
'rapidfuzz'
5151
],
5252
extras_require={
5353
'debug': ['matplotlib>3.0.0'],

0 commit comments

Comments
 (0)