Skip to main content

Jaccard Precalculated String Matcher

The Jaccard index measures exhaustive substring comparison of two strings. This package is a slightly modified Jaccard with pre-calculation accelerate results.

    from jaccard_precalc.JaccardPrecalc import JaccardPrecalc
    string_list = ['Andrew Matte, 123 Main St, Toronto, Canada']
    jac = JaccardPrecalc(string_list)
    # jac.search(query_string, number_of_results)
    results = jac.search('Andy Matte, Toronto, CA', 1) # returns a list of dicts where each dict is {input: score}, sorted by top score

Release files for jaccard-precalc 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jaccard-precalc 0.1.6
File Size Uploaded
jaccard-precalc-0.1.6.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jaccard-precalc 0.1.6
File Interpreter ABI Platform
jaccard_precalc-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 kB

Release files / jaccard-precalc-0.1.6.tar.gz

Download URL jaccard-precalc-0.1.6.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ef7c39d519b413d050dbfbd0065ce12f8b321b65f3638f0764e8ed3a941ecc6d
BLAKE2b-256 checksum
How to use checksums
e955a8a1a6e6a32c428b4e0ee05eb06eaf414efcdd53312c7e51d9b50e803079
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Linux/5.13.0-40-generic

Release files / jaccard_precalc-0.1.6-py3-none-any.whl

Download URL jaccard_precalc-0.1.6-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f52ad1a8a6a46dec54eb7f70aedcb8cc7ed397d6d26ef7ee986ce2b6d7e74f07
BLAKE2b-256 checksum
How to use checksums
0c969edf33e8b5b0227ff8717a35884ae2ea72e70e8c0dcac12047f232d8abbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Linux/5.13.0-40-generic

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page