Skip to content

Commit

Permalink
recognize: replace python-levenshtein with rapidfuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Jul 31, 2024
1 parent fed84da commit 5282092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ocrd_cis/ocropy/recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import numpy as np
from PIL import Image

import Levenshtein
from rapidfuzz.distance import Levenshtein

from ocrd_utils import (
getLogger,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
'scikit-image',
'networkx',
'opencv-python-headless',
'python-Levenshtein'
'rapidfuzz'
],
extras_require={
'debug': ['matplotlib>3.0.0'],
Expand Down

0 comments on commit 5282092

Please sign in to comment.