Skip to main content
# hybrid-jaccard
Implementation of hybrid jaccard similarity

Package files:
|
|-> __init__.py
|
|-> hybrid_jaccard.py: contains the base class for hybrid jaccard string matching
|
|-> jaro.py & typo_tables.py: contain the methods for jaro distance calculation
|
|-> munkres.py: contains the hungarian matching algorithm
|
|-> eye_config.txt: contains the configuration info for the hybrid-jaccard class
|
|-> eye_reference.txt: contains the reference eye colors
|
|-> input.txt: a sample input file for testing the program
|
|-> README.md
|
|-> LICENSE

Usage:

You should import "HybridJaccard" in your code. The main class is HybridJaccard.
The class constructor gets two arguments, path to reference and config files respectively.
The "findBestMatch" method returns the best match for the input string among those in the
reference file if one exists, and returns "NONE" otherwise. A sample usage might be like:

sm = HybridJaccard()
match = sm.findBestMatch("beautiful light bluish eyes")

about eye_config.txt:
-- it has a field "type" which is for now always "hybrid_jaccard"
-- it has a field "partial_method" which can be "jaro" or "levenshtein"
-- it has a field "threshold" which determines how picky we want to be in hybrid jaccard algorithm before doing the matching

Metadata

Release files for hybridJaccard 0.0.3

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

Source distribution (sdist)

Source distribution for hybridJaccard 0.0.3
File Size Uploaded Provenance
hybridJaccard-0.0.3.tar.gz 3.1 kB Without provenance Details

Release files / hybridJaccard-0.0.3.tar.gz

Download URL hybridJaccard-0.0.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
97dcdf24ff59d7f7c33dea735fd7c3cc5a803677da0ba3d8e3a3ad4571c0db2e
BLAKE2b-256 checksum
How to use checksums
17e82dd2e57f7c2c0d2be78e5a6206e2e363867a17dc0890fed33a93556da4a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hybridJaccard 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

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