ulf1 / kshingle

Split strings into (character-based) k-shingles
Apache License 2.0
4 stars 1 forks source link

Set `memo` dictionary with start values #31

Closed ulf1 closed 3 years ago

ulf1 commented 3 years ago

Examples

Usage

import kshingle as ks
memo = {k: db[k] for k in ["i.e.", "e.g."]}
memo = ks.cews(db, threshold=0.9, min_count_split=10, max_wildcards=2)