class OverlapEngine A window is a fixed-width byte n-gram, and a score is the share of a candidate's windows that the query also spells, in [0, 1]. The score is asymmetric in the two sides.
Example:
engine = sz.OverlapEngine(sz.Strings(['abcdef']), [3, 4]) out = memoryview(bytearray(8)).cast('f', (1, 1, 2)) engine.scores(sz.Strings(['abcdefg']), out) 0.0 <= out[0, 0, 0] <= 1.0 True