Metadata-Version: 2.1
Name: jaccard-precalc
Version: 0.1.6
Summary: The Jaccard index measures exhaustive substring comparison of two strings. This package is a slightly modified Jaccard with pre-calculation accelerate results.
Author: mandrewstuart
Author-email: andrew_matte_@hotmail.com
Requires-Python: >=3.5,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

# 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.

```python3
    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

```
