ocr-stringdist 0.0.1__pp311-pypy311_pp73-macosx_10_12_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
|
|
1
|
+
from ._rust_stringdist import *
|
@@ -0,0 +1,8 @@
|
|
1
|
+
def levenshtein_distance(s1: str, s2: str) -> int: ...
|
2
|
+
def ocr_weighted_levenshtein_distance(s1: str, s2: str) -> float: ...
|
3
|
+
def custom_weighted_levenshtein_distance(
|
4
|
+
s1: str,
|
5
|
+
s2: str,
|
6
|
+
cost_map: dict[tuple[str, str], float],
|
7
|
+
default_cost: float | None = None
|
8
|
+
) -> float: ...
|
Binary file
|
ocr_stringdist/py.typed
ADDED
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: ocr_stringdist
|
3
|
+
Version: 0.0.1
|
4
|
+
Classifier: Programming Language :: Rust
|
5
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
6
|
+
Classifier: Operating System :: OS Independent
|
7
|
+
Summary: String distances considering OCR errors.
|
8
|
+
Author: Niklas von Moers <niklasvmoers@protonmail.com>
|
9
|
+
Author-email: Niklas von Moers <niklasvmoers@protonmail.com>
|
10
|
+
License: MIT
|
11
|
+
Requires-Python: >=3.9
|
12
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
13
|
+
Project-URL: repository, https://github.com/NiklasvonM/ocr-stringdist
|
14
|
+
|
15
|
+
# OCR-Stringdist
|
16
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
ocr_stringdist-0.0.1.dist-info/METADATA,sha256=wzwsLfsR7-TwdpbHNwd09kUufLa_mq7Q38qwMjkQRI8,574
|
2
|
+
ocr_stringdist-0.0.1.dist-info/WHEEL,sha256=tmDATa_xWngxDgy6qReFC3P5hJooV4qSONKC9NhyVQQ,113
|
3
|
+
ocr_stringdist/__init__.pyi,sha256=YCjks23HgatBVfwi3EkDPPrgM4ctQ3f2apesgA5S13Q,294
|
4
|
+
ocr_stringdist/__init__.py,sha256=XDpr7RXrjnR6Ct3cFl8f_6VoSXbshoIKWha-g3p6aR4,32
|
5
|
+
ocr_stringdist/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
+
ocr_stringdist/_rust_stringdist.pypy311-pp73-darwin.so,sha256=MFB2XmusoESyTxnnuFIK1IKJvPQOLK9yerVGUc-zbRk,494940
|
7
|
+
ocr_stringdist-0.0.1.dist-info/RECORD,,
|