denselinkage.core.ports.Blocker

class denselinkage.core.ports.Blocker(*args, **kwargs)[source]

Bases: Protocol

Spec for candidate generation — stateless and reusable.

build is a factory: it indexes records into a fresh BlockingIndex and mutates nothing, so one Blocker (and the immutable DenseLinker that holds it) can be reused across datasets.