Metadata-Version: 2.1
Name: jaccard-precalc
Version: 0.1.4
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.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/x-rst

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

example usage:

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